µTasker Forum
µTasker Forum => µTasker general => Topic started by: neil on June 08, 2009, 09:17:05 PM
-
Hi Mark,
I have a device connected directly to my board, and communicate to it via UDP communication. Sometimes it takes a while getting communication with it. I know the mac and ip address of the unit, is it possible to add them directly to the ARP table?
Regards
Neil
-
Hi Neil
You can use the function
extern void fnAddARP(unsigned char *new_ip, unsigned char *rem_hwadr, unsigned char ucType);
If you set the ucType as ARP_FIXED_IP (rather than ARP_TEMP_IP) it will never timeout.
Regards
Mark