my project is based on the MQTTclient example.
At startup I wish to read a GPIO pin to determine whether this is device A or device B, then depending on which device it is to set the IP address to either 192.168.1.10, or 192.168.1.20
I have no problem reading the GPIO in main_tirtos.c, but have no idea how to set a static IP before calling ti_ndk_config_Global_startupFxn()