What is the correct service definition for a Bluetooth LE (Smart) device?

I want to create an IOT (Internet of Things) device using the Bluetooth Smart / GATT protocol. I'm a little confused how I would do it according to the BLE specifications. All of the listed profiles seem to be focused on medicine, and I'm having trouble creating a conceptual leap to other applications.

Suppose this device is a coffee maker, and I want:

  • Receive an alert when water / coffee needs replenishment
  • Set a timer for making coffee
  • Recognize coffee preference against my wife
  • Send arbitrary text to be displayed on the LED

Question

  • What are the appropriate attributes, services, and profiles that I should use?
  • Do I need to register these profiles or UIDs anywhere (e.g. Bluetooth.org).
  • Where to enable protection? (I don’t want anyone to know that I put a lot of sugar in coffee?
  • Where can I send my text? In the user structure?
+5
source share
1 answer
  • You need to search for the configured profile (including all services and features) of your specific coffee maker. There is no predefined profile.

  • No, you do not need to register a profile using the UUID. It is already used in your coffee maker;)

  • This should be the last point of your work and depends on your device manager.

  • You must send your data to the desired characteristics, which depend on the configured profile of your coffee maker.

+1
source

All Articles