Re: [lwip-users] DOXYGEN usage

2018-04-12 Thread cookies_do
Yes, I have seen. Just trying to incorporate another doxyfile file in the
project. 

Thank you Simon. 

Regards.



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] DOXYGEN usage

2018-04-12 Thread cookies_do
Thank you for your answer. Yes, I have looked at it. 

As I said, I am new with Doxygen and lwIP. Thats why I ask this question. 

Regards.



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


[lwip-users] DOXYGEN usage

2018-04-12 Thread cookies_do
Hello! 

I am new with Doxygen and lwIP, so I would like to ask if anyone used
Doxygen with lwIP to generate the documentation? Is there any source code
available online?

Also, do I have to define __DOXYGEN__ in order to use it? And do I have to
do any other modifications in lwIP code, so I can use Doxygen?


Thanks in advance.



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


[lwip-users] Testing lwIP with new driver

2018-03-12 Thread cookies_do
Hello everyone. 

I would like to know if someone has experience with general lwIP  tests or
general lwIP + port to Renesas test. This would include stress tests for
UDP, TCP, ICMP (send all types of packets at the time or just one type of
packets, eg. just ICMP). 

I want to know if there exist some kind of tests when porting to new
platform (creating new driver for the controller) and if anyone has
experience to share with us.

Thanks in advance.



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


[lwip-users] lwIP drivers repository

2018-02-19 Thread cookies_do
Hello everyone.

I would like to ask if there is any lwip drivers repository? I have found
that from 2010 started download area, but this is not the repository.

https://savannah.nongnu.org/forum/forum.php?forum_id=6140

Also, in git-contrib I have found under each release root/ports/old folder
that contains drivers like this one:
http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git/tree/ports/old?h=STABLE-2_0_1_RELEASE

Why these drivers are in old folder?

Are there any other repository for drivers or today this download area is
mainly used?

Thanks in advance.



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] Set static IP and set manually DNS IP

2018-02-15 Thread cookies_do
Hello.

Thank you for your reply.
The main file is enet_lwip.c and firstly I called lwIPInit() function and
after that dns_setserver(). The microcontroller I am using is from Texas
Instruments. I have debug it, but all initializations of pcbs seem ok
(that's why I wrote "still doesn't work).

Could there be problem because of disabling LWIP_DHCP?

Thanks in advance.



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


[lwip-users] Set static IP and set manually DNS IP

2018-02-15 Thread cookies_do
Hello everyone, 

I want to set static IP and manually set IPs for DNS servers in lwIP 2.0.3. 
When setting and using this separately, it works. Changes that I made were: 
LWIP_DHCP set to 0, 
LWIP_DHCP_MAX_DNS_SERVERS set to 0, 
LWIP_AUTOIP is set to 0. 

IP mode is selected to IPADDR_USE_STATIC in main and static IP addres is 
set. DNS servers IPs are set in dns_setserver() function (also in main). 
But, still does not work. 

Anyone has an idea? 

Thank you. 




--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


[lwip-users] Set static IP and set manually DNS IP

2018-02-14 Thread cookies_do
Hello everyone,

I want to set static IP and manually set IPs for DNS servers in lwIP 2.0.3.
When setting and using this separately, it works. Changes that I made were:
LWIP_DHCP set to 0,
LWIP_DHCP_MAX_DNS_SERVERS set to 0,
LWIP_AUTOIP is set to 0.

IP mode is selected to IPADDR_USE_STATIC in main and static IP addres is
set. DNS servers IPs are set in dns_setserver() function (also in main).
But, still does not work.

Anyone has an idea?

Thank you.






--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] Set DNS servers IPs manually

2018-02-13 Thread cookies_do
Thanks Dirk.

So, I think that function I need is this one:

dns_setserver(...).

I would use this function somewhere in initializing lwIP.

If I set LWIP_DHCP_PROVIDE_DNS_SERVERS to 0 (disable using DHCP when obtain
DNS servers IPs) would it result in some buggy behaviour?

Thanks in advance.





--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


[lwip-users] Set DNS servers IPs manually

2018-02-13 Thread cookies_do
Hello everyone.

I am using lwIP version 2.0.3 and in this current version IPs for DNS
servers are provided by DHCP. Can setting the DNS servers IPs be done
manually (not by DHCP) in this version?

Thanks in advance.

Regards



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] Enabling DHCP option 50

2018-02-09 Thread cookies_do
Hello Patrick.

I think packets are formatted properly. Thank you for the reply.



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] Enabling DHCP option 50

2018-02-09 Thread cookies_do
Okay. Thank you very much. 



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] Enabling DHCP option 50

2018-02-09 Thread cookies_do
Yes, I have tried and it seems like DHCP server just ignored this requested
IP. DHCP server offered another IP and after that DHCP client accepted this
offered IP. IP I have requested is hard-coded just for purpose of testing
this feature "Request IP address". Requested IP address is available.

My question is:
Do I have to include some other option in DHCP message or this is enough?

Thank you.



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


[lwip-users] Enabling DHCP option 50

2018-02-09 Thread cookies_do
Hello,

I am using lwIP 2.0.3 in my application and I want to enable DHCP option 50
(Requested IP Address) according to RFC 2132 document (chapter 9.1). This
option should be set in DISCOVER message.

Is it enough to concatenate an option type and length field to the outgoing
DHCP message in dhcp_discover() function in lwIP like this:

options_out_len = dhcp_option(options_out_len, msg_out->options,
DHCP_OPTION_REQUESTED_IP, 4);
options_out_len = dhcp_option_long(options_out_len, msg_out->options,
lwip_ntohl(requested_ip_hex));

Anybody has an idea?

Thank you. 



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users