~/talk

BLE ❤️ Protobuf: Designing Schemas for the Smallest Packets in...

Talkat next.app devCon 2026 · 2026-10-07..10-09· [iot]
name:Kiran Rao
links:none on file
slides:none on file

Shows concrete protobuf techniques and measurements for BLE: use integers instead of floats, signed types for negatives, and fixed64 for UUIDs to shrink a message from 70 bytes to 42 bytes final message; JSON equivalents are 248 bytes (descriptive keys) or 122 bytes (single-char keys). Notes MTU realities: minimum MTU 23 bytes with only 20 bytes usable payload after ATT header, typical modern MTU 517 bytes. Describes an envelope with an 8 byte measured overhead, fragmentation algorithm, and using AES GCM for payload encryption so fragments are the encrypted byte array.

AI-written summary · about

  1. 0:00Introduction to BLE and Protobuf
  2. 3:56BLE packet size constraints
  3. 5:00Why Protobuf fits BLE
  4. 7:26Optimizing Protobuf for size
  5. 11:36Handling negative integers
  6. 13:23Replacing floats with integers
  7. 15:28Using fixed-length integers
  8. 17:55Inlining nested messages
  9. 19:59JSON vs Protobuf size comparison
  10. 20:42Data type selection best practices
  11. 22:33Fragmentation over BLE
  12. 26:43Measuring envelope overhead
  13. 28:09Adding encryption to fragments
  14. 31:41Reducing fragment metadata
  15. 32:43Optimizing for standard MTUs
  16. 33:46Summary and key takeaways
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.