Net_Ethernet_Intern_userTimerSec

General discussion on Libstock website & codes posted on this website.
Post Reply
Author
Message
Pekub
Posts: 79
Joined: 12 Jun 2012 15:30

Net_Ethernet_Intern_userTimerSec

#1 Post by Pekub » 20 Aug 2014 14:24

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

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Net_Ethernet_Intern_userTimerSec

#2 Post by filip » 26 Aug 2014 13:20

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.

Pekub
Posts: 79
Joined: 12 Jun 2012 15:30

Re: Net_Ethernet_Intern_userTimerSec

#3 Post by Pekub » 27 Aug 2014 09:24

Hi Filip,

Thank you for your response.

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

Peter

Post Reply

Return to “Libstock Discussion”