Sharing / redirecting a serial port
I have got the BlueZ stuff running nicely, and I can use the rfcomm tools to connect a serial port over bluetooth and stuff, but I can't figure out how I would do the following.
I have a serial GPS connected to linuxbox on /dev/ttyS0 which has a bluetooth adapter.
I would like to listen for bluetooth serial connections, and when they connect, pipe the output to it. In most instances the connecting device will be a bluetooth iPAQ.
I can't figure out how I can do this from existing tools - is it possible?
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Nigel,
Quoted 11 lines
I have got the BlueZ stuff running nicely, and I can use the rfcomm tools to connect a serial port over bluetooth and stuff, but I can't figure out how I would do the following.
I have a serial GPS connected to linuxbox on
/dev/ttyS0which has a bluetooth adapter.
I would like to listen for bluetooth serial connections, and when they connect, pipe the output to it. In most instances the connecting device will be a bluetooth iPAQ.I can't figure out how I can do this from existing tools - is it possible?
sounds like you have to write a small RFCOMM server program for doing this. Look at rctest and maybe dund for example code.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users