Testing serial port communication

Hi,

I am trying to set up a bluetooth printer for a mobile device. I have set the printer up to have an outgoing COM port but I am having no luck.

I would like to write a small test app to check if I can communicate with the port. Is there a way to "ping" a COM port?


Thanks,
Dave

Microsoft eMbedded C++ 3.00
Windows Mobile 6
closed account (N85iE3v7)
You could write this test byte back. Say you have a function to send a byte to the serial port, next just write one that reads this byte back. If you have more hardware debug devices, i.e., oscilloscope or you might try some leds on a breadboard, it also would help.

THere are serial port sniffers outthere too, just google for a good one.
Last edited on
Topic archived. No new replies allowed.