top of page
DroidCon_icon_rotatet.png
droidcon+icon.png

Kiran Rao

Mobile developer at Somnox
greg-fawson-foto.1024x1024 Kopie.jpg

Over two decades as a developer, got into Android in 2010. Adopted Kotlin in 2017, had my first attempt at KMP in 2019 (when it was still called KMM).

Worked on and off with iOS and web client technologies throughout my career, also dabbled in other cross platform technologies. Full-fledged Mobile developer since 2023.

BLE <3 Protobuf: Designing Schemas for the Smallest Packets in the Room

Protocol buffers (protobuf) is a serialization format widely used in client-server communication. Compared to JSON, it produces a more compact wire format, which matters when every byte counts. This makes it a strong fit for Bluetooth Low Energy (BLE) communication, where maximum packet sizes are measured in the hundreds of bytes, or fewer.

This talk dives into the best practices for using protobuf over BLE, drawn from a real app. We'll cover how to design protobuf messages that work across a wide range of MTU sizes (down to the minimum of 23 bytes), strategies for fragmenting and reassembling messages that exceed a single MTU, and how to account for the overhead encryption adds to your payload budget.

Attendees will leave with a practical understanding of sizing protobuf schemas against BLE constraints, plus patterns for fragmentation and reassembly they can apply directly to their own mobile and embedded projects.

bottom of page