Tool/software: TI-RTOS
I am trying to convert an IPv4 address to a string.
int a = inet_pton(AF_INET, ipAddrInputStr, &ipAddrInputStruct);
The chip seems to be failing to compare 2 == 2. The debugger show that af is 2. AF_INET is 2 in socketndk.h. Somehow the chip moves to the bottom else statement.