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.

TM4C1294NCPDT: Sending integer ui32_t through tcp_write

Part Number: TM4C1294NCPDT


Hi, 

I am trying to send data from adc reads via Ethernet, I am using the lwip stack, I can send simple TCP-Data like string and char, but I can’t send data as integer type. I understand that tcp_write deals bytes, and I am trying to use a pointer with no succes.

Anyone could give me an example on how do this? I have been trying several things besides the pointers, perhaps someone has experienced this or any fresh look will be great. 

Best