Use of wip_delay function?


#1

Hi,

I have been looking for an easy way to make a reliable 1ms delay.(Without using TCU Service and low level interrupts) I see in the ethernet example in the driver they call a function called wip_delay which appears to make a delay for a number of milliseconds.

so for example you can do

wip_delay(20); //delay 20msec

Now I can find a prototype for the function in wip_drv.h
However I cannot find any documentation for it in the WIP_Open_AT_IP_Connectivity_Development_Guide 5.42

Is this function safe to use ?
Any reason why its not documented ?

Thanks,

Steed,


#2

Yes there are a number of “undocumented” stuffs (e.g. use of WIP_NET_OPT_DEBUG_PORT in wip_netInitOpts) … maybe they are for users to fun with :stuck_out_tongue:

I use wip_delay and I think it is save to use. The worry is that those undocumented stuffs are not guaranteed to be available on newer versions.