Talk CoAP to me – IoT over Bluetooth Low Energy
summary
Android app implements CoAP client talking to battery-powered sensors over Bluetooth LE by tunneling CoAP messages through a Nordic UART service and using SLIP framing to delimit messages split into 20‑byte chunks, handling the UDP vs GATT size gap (65 KB vs 512 B). CoAP tokens correlate requests and responses, observe provides push updates, payloads use Protobuf, and after an initial RFC‑level byte‑handling effort the system works and is easy to extend.
AI-written summary · about
chapters (11)
- 0:00Introduction to CoAP and IoT
- 2:00CoAP basics and features
- 7:17CoAP packet structure explained
- 13:40Bluetooth Low Energy recap
- 15:27Challenge: CoAP over BLE size limits
- 17:38Challenge: Message delimiting with SLIP
- 19:30Implementation workflow example
- 25:14Code walkthrough for CoAP client
- 28:54Pros and cons of the approach
- 32:33Final thoughts and summary
- 33:35Q&A session
related talks
29mQt CoAP - leveraging C++ and Qt for cross-platform CoAP IoT apps
58mAdvanced Bluetooth® Technology - Under the APIs
51mIoTivity-Constrained: IoT for Tiny Devices
45mWhen Machines Can't Talk
53mCreating IoT applications with Bluetooth Low Energy and Qt
42mMe and IoT
52mIoTivity: The Open Connectivity Foundation and the IoT Challenge
46mBluetooth Low Energy on Android: Top Tips for the Tricky Bits
