debug version
Dependents: HTTPClient_WiFi_HelloWorld_src
Fork of SNICInterface by
Diff: SNIC/SNIC_UartCommandManager.cpp
- Revision:
- 52:29b4d0adddf3
- Parent:
- 43:d80bbb12ffe6
diff -r 69a9cf901d54 -r 29b4d0adddf3 SNIC/SNIC_UartCommandManager.cpp --- a/SNIC/SNIC_UartCommandManager.cpp Tue Mar 31 02:59:47 2015 +0000 +++ b/SNIC/SNIC_UartCommandManager.cpp Tue Mar 31 03:12:35 2015 +0000 @@ -234,6 +234,8 @@ con_info_p->is_received = false; con_info_p->is_accept = true; con_info_p->parent_socket = payload_p[2]; + con_info_p->from_ip = ((payload_p[4] << 24) | (payload_p[5] << 16) | (payload_p[6] << 8) | payload_p[7]); + con_info_p->from_port = ((payload_p[8] << 8) | payload_p[9]); } void C_SNIC_UartCommandManager::bufferredUDPPacket( unsigned char *payload_p, int payload_len )