Data exchange between two bluetooth devices

From
Dario Teixeira <hidden>
Date
2016-12-19 17:41:30
Hi,

I'm new to Bluetooth programming, and I have some basic questions
about the best approach to implement a fairly simple scenario.
I have a small embedded device running Linux, and which supports
Bluetooth 4.0.  I'm also developing a mobile app that needs to
exchange some data with the embedded device.  The data consists
of only a few JSON-encoded objects and is small in volume. The
communication must happen bidirectionally, though.

Those are pretty much the requirements.  Now the questions:

a) On the embedded side, do I need to program a small daemon using
   the DBUS-based Bluez API, or can I set up a special device and
   read/write to it as if it were a character device?

b) The old interface [1] has been deprecated, right?  (It's my
   understanding that only the new DBUS-based API should be used.)

c) Is Bluetooth Classic or Bluetooth Low Energy better for this
   scenario? (I've read that BLE can dispense with pairing.)

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

[1] https://people.csail.mit.edu/albert/bluez-intro/
Thread (4 messages) 4 messages, 2 authors, 2016-12-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help