Hi Everyone,
I am hoping someone can assist me with a little challenge I am faced with on a Windows Mobile 6.5 device and the sOpen command.
The device I am using is the Honeywell Dolphin 60s and I am connecting this to a bluetooth serial converter. I am able to pair the device with no problem and this creates two com ports, one for outbound communications (COM4) and one for inbound communications (COM0).
I can successfully connect to COM4 and can easily send data to the bluetooth device from the Dolphin 60s using the sWrite command.
However i cannot open COM0 and typically the project requires the ability to receive data from the serial port, not send it.
I have tried the following sOpen commands with no success:-
sOpen(0,1024,1024,100,TRUE)
sOpen("COM0",1024,1024,100,TRUE)
Neither of these commands will open COM0 on this device through Windev Mobile.
If I change the commands to 4 or COM4 then both of these work for COM4.
For sanity sake I have installed a third party application for opening com ports and this was able to open both COM0 and COM4 with no issues.
Can anyone offer any guidance as to what I could be doing wrong or have any ideas for a workaround?
Thank you for any assistance : )
Kindest Regards,
Lee Shroder
I am hoping someone can assist me with a little challenge I am faced with on a Windows Mobile 6.5 device and the sOpen command.
The device I am using is the Honeywell Dolphin 60s and I am connecting this to a bluetooth serial converter. I am able to pair the device with no problem and this creates two com ports, one for outbound communications (COM4) and one for inbound communications (COM0).
I can successfully connect to COM4 and can easily send data to the bluetooth device from the Dolphin 60s using the sWrite command.
However i cannot open COM0 and typically the project requires the ability to receive data from the serial port, not send it.
I have tried the following sOpen commands with no success:-
sOpen(0,1024,1024,100,TRUE)
sOpen("COM0",1024,1024,100,TRUE)
Neither of these commands will open COM0 on this device through Windev Mobile.
If I change the commands to 4 or COM4 then both of these work for COM4.
For sanity sake I have installed a third party application for opening com ports and this was able to open both COM0 and COM4 with no issues.
Can anyone offer any guidance as to what I could be doing wrong or have any ideas for a workaround?
Thank you for any assistance : )
Kindest Regards,
Lee Shroder