This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP-EXP432E401Y: setting static IP address at runtime

Part Number: MSP-EXP432E401Y

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()