Bluetooth

Bluetooth (aka Classic)

  • Explicit pairing
  • Persistent connection / data stream
  • High data rate (relatively speaking)
  • Single connection

Bluetooth LE (aka Low Energy aka Smart)

  • Low power
  • Bursts of data (23ish bytes)
  • No pairing / logical pairing
  • Single connection...
  • ...but supports connectionless broadcast packets (this is how beacons work)

Lots of bluetooth packages for connecting your computer to bluetooth peripherals (pybluez, bluepy, pygatt, socket via AF_BLUETOOTH, etc)

What happens when you want your computer to be a peripheral itself?

That is what pybleno is for!

Port of a node module (bleno, https://github.com/noble/bleno )

Creates a GATT server and allows you to interface over Bluetooth LE as a peripheral.

Demo time