Re: rfcomm sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Prabhakar,

> I am using 5.34 bluez-5 stack on linux kernel version 3.14. when I
> create rfcomm connection and do cat /dev/rfcomm0 and from other
> terminal send AT commands to rfcomm0 I get proper response and other
> characters continuously(> ??? ...) echoed from rfcomm0.
> If I do the same from bluez4-101 I get proper response with no other characters.
> 
> What is the proper way to do rfcomm communication ? I am trying to
> connect to a OBD device via rfcom socket.

the /dev/rfcomm0 is a TTY. You have to set it to the right mode (most cases raw mode) to make sure that no extra characters are inserted. If you use rfcomm connect command, then the --raw switch might help.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux