Series · 4 parts · 29 min
BLE & AtomBrick
One hardware product end to end: ESP32 firmware, a custom GATT profile, secure pairing and a Kotlin Multiplatform app.
- Part 01AtomBrick: ESP32 BLE Motor Controller to KMP Mobile AppBLE motor control across embedded and mobile is two separate protocol stacks with one shared contract. Build AtomBrick end to end using ESP32, Kable, and Kotlin Multiplatform.8 min read
- Part 02BLE GATT Profile Design for Hardware Control: AtomBrickGATT profile decisions made early constrain the protocol forever. Build a reviewed profile using UUID selection, characteristic properties, and descriptor design from a real motor controller.8 min read
- Part 03ESP32 BLE Passkey Pairing, Bonding, and EncryptionThe default ESP32 BLE server accepts any connection. Build a secure peripheral with passkey pairing, MITM protection, and bonding using the Arduino BLE stack.7 min read
- Part 04Kotlin Multiplatform BLE with Kable, Koin, and ComposeAndroid and iOS BLE share no common API. Build a shared scan-connect-write layer using Kable and KMP targeting both platforms from a single Kotlin codebase.6 min read