Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 8 months ago.
UDP packets print as garbage
Im testing a Wifly module and using a VB6 form with a winsock control. Im receiving an expected broadcast packet in my VB form but the text is garbage. The packet contains basic identification from the wifly. Any suggestions
1 Answer
11 years, 8 months ago.
Taking a look at the reference manual of the wifly module, it appears that the UDP broadcast message is a predefined massage containing several info such as: mac address, channel, rtc time,...
For more information on the UDP broadcast messages, take a look at the http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Wireless/WiFi/WiFly-RN-UM.pdf manual p51.
Cheers, Sam
Hi Gregory, you will probably get better answers if you publish the code showing the problem. See http://mbed.org/handbook/Asking-Questions
posted by Dan Ros 01 Mar 2013I found in the end that I first had to convert the bytes to hex then convert the hex to ascii
posted by Gregory Martin 02 Mar 2013