Data exchange between two bluetooth devices

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

 



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/

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