Page 1 of 1

Net_Ethernet_Intern_userTimerSec

Posted: 20 Aug 2014 14:24
by Pekub
Hi MicroE,

Please explain to me the purpose of a variable Net_Ethernet_Intern_userTimerSec in Network Ethernet Library Version: 1.0.6.1.

In __NetEthInternal_STM32.h is written:

extern unsigned long Net_Ethernet_Intern_userTimerSec; // must be incremented by user 1 time per second

I don't increment the variable and program works O.K.

Note: I use in my program UDP only.

Thank you

Re: Net_Ethernet_Intern_userTimerSec

Posted: 26 Aug 2014 13:20
by filip
Hi,

In the case you don't use the Net_Ethernet_Intern_userTimerSec, there will be no retransmission of the packets,
if you call ARP which doesn't pass, you will be stuck in the while loop and other specific situations.

Regards,
Filip.

Re: Net_Ethernet_Intern_userTimerSec

Posted: 27 Aug 2014 09:24
by Pekub
Hi Filip,

Thank you for your response.

My recommendation is: Such important information should be added to the help.

Peter