IoT · BLE
Sunne
An app for controlling a smart BLE lamp with customizable lighting settings. Users can adjust light modes, configure sunset and sunrise times, and monitor device state in real time via Bluetooth Low Energy.
Scope of work
- Implemented BLE communication with smart lamp via CoreBluetooth (iOS) and native Android BLE
- Implemented lighting mode configuration and control
- Implemented sunset and sunrise time scheduling
- Implemented real-time device state monitoring
- Refactored legacy BLE logic in both iOS and Android native layers
- Integrated Firebase and push notifications
Challenges & solutions
The main challenge was understanding and refactoring legacy BLE code written separately in native Swift (iOS) and native Android, embedded within a Flutter project. Required deep diving into undocumented BLE communication protocols to reverse-engineer the existing device interaction logic before safely refactoring it without breaking existing functionality.