Tool/software: TI-RTOS
I am in need of getting access to the internal data of the TI-RTOS DHCP client, such as lease time, lease time remaining, and other info to support testing of my device on a customers network.
I have a callback set up that gets invoked when there are certain DHCP status updates, such as when a new IP address is received, but the info provided is not really sufficient.
In the functions supporting DHCP in the following file:
C:\ti\tirtos_tivac_2_16_01_14\products\ndk_2_25_00_09\packages\ti\ndk\nettools\dhcp\dhcpsm.c
there is a pointer named pLease pointing to a data structure named DHCPLEASE which has the information I am looking for.
Is there any way to get access to this pointer or the DHCPLEASE data structure through the Cfg* interface, or any other set of functions?
If it is not possible, and I want to add some additional code to dhcpsm.c for supplying this info to my application, are there up-to-date instructions for building the NDK?
I have found the website below, but it seems out of date:
processors.wiki.ti.com/.../Rebuilding_the_NDK_Core
Thanks,
sjf