Exchanging data over Bluetooth Classic

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

 



Hi,

Here's the situation: I want to use a smart phone to communicate with
a small embedded device (ED).  Unfortunately the ED is running a very
old kernel (3.10.93) which does not support Bluetooth Low Energy.
Therefore, if I am to use Bluetooth it will have to be BT Classic.

The communication is pretty straightforward: just a couple of RPC
calls using JSON.  Both the requests and the replies are reasonably
short.  The entire exchange can be summarised as follows:

 Phone: Here's request #1 (JSON text).
 ED: Okay, here's reply #1 (JSON text).
 Phone: Here's request #2 (JSON text).
 ED: Okay, here's reply #2 (JSON text).

Now, I have a couple of related questions:

a) I presume there's no other option than using RFCOMM, right?

b) I know that the first Google hit for "Bluetooth programming"
   is hopelessly out of date [1], because Bluez now uses DBus.
   However, where's the Bluez documentation for RFCOMM via DBus?
   I could only find this page for Bluez documentation [2],
   but RFCOMM is not mentioned.

Thanks in advance for your time!
Best regards,
Dario Teixeira

[1] https://people.csail.mit.edu/albert/bluez-intro/
[2] http://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc

--
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