Enable serial service with rfcomm and bluetooth.
Hello,
I try to use a bluetooth connection under Linux. My USB bluetooth dongle is configured with the driver Bluez. I have to create a connection with a card reader and this card reader must use a virtual com port (rfcomm service).
I can pair my device but if I try to get the connection I cannot connect because there is no service available.
I have created a device /dev/rfcomm0, and I tried some command (here below):
rfcomm listen /dev/rfcomm0 1
or rfcomm listen /dev/rfcomm0 xx:xx:xx:xx:xx:xx 1
But when I try to connect with my card reader or from another PC with a dongle I receive the message "No services found."
My question is : How can I create a service "Serial port".
Thankes in advance for your help.
Alain.
|