![]() ![]() Memcpy(rec_message,msg,7) //copy 7 char string Void read_UDP1(unsigned char* msg, short len, unsigned char broadcast) Uint16_t trans_counter //transmit counter #define USE_PRINTF //comment out to avoid printf ![]() _CRP const unsigned int CRP_WORD = CRP_NO_CRP Note: I've changed a few things in included udpip library from Aart (see notes in udpip.c).ĭescription : UDPIP sample using udpip library To use it in your network you just have to use a valid SOURCE_IP and TARGET_IP. I've tested this with Windows (Win7/32) without problems (Debug and Release mode)ĪRP and ICMP are working, so pinging this SOURCE_IP (or Scanner like ) are working. It's expecting a message from TARGET_IP / TARGET_PORT (string and number) with same format like transmitted. It's transmitting a message to SOURCE_IP / SOURCE_PORT (string and number) and displaying it via semihosting. Content originally posted in LPCWare by zemansky on Thu May 16 19:25: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |