How to Adjust TTL in IPv4?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
How can the Time To Live in the IPv4 header be adjusted in WICED?  e.g. either boosting the TTL or making the TTL go to zero more quickly?

http://en.wikipedia.org/wiki/IPv4_header#Time_To_Live

Thanks
0 Likes
2 Replies
Anonymous
Not applicable
In general, if you want to know about a feature in the WICED SDK, you have two options.

1. Search the SDK using the IDE project explorer (as shown below)

2. Look at the documents included in <WICED-SDK-2.4.0>/Doc/API directory and/or at the API reference guide <WICED-SDK-2.4.0>/Doc/API.html

To search the SDK using the IDE project explorer:

    * Click on the top level <WICED-SDK-2.4.0> directory

    * Press CTRL+H

    * Enter "time to live" in the Containing text: box

    * Click Search

Doing this on WICED-SDK-2.4.0 brings up the following reference in the file <WICED-SDK-2.4.0>/Wiced/Network/NetX/ver5.4/nx_api.h

#define NX_IP_TIME_TO_LIVE          ((ULONG) 0x00000080)    /* Default packet time to live            */

0 Likes
Anonymous
Not applicable
Thank you!  🙂
0 Likes