Week8
Week 8 Progress: BLE Android App Development and Testing Objective: To implement and test the BLE (Bluetooth Low Energy) communication feature on the Android mobile application, enabling real-time reception of status, alarm, and ADC data from the ankle-worn hardware device. BLE Communication Principle (Android BLE Overview): BLE is a wireless protocol designed for short-range, low-power communication. It works via a client-server model, where: Peripheral (Server) : The ankle-worn device (XIAO nRF52840), advertises services and characteristics. Central (Client) : The Android phone scans for nearby BLE devices, connects to a chosen peripheral, and subscribes to its characteristics. On Android, the workflow is as follows: Scan for nearby devices using BluetoothLeScanner . Connect to a selected device using connectGatt() . Discover Services to identify the available UUIDs. Enable Notifications for a given characteristic via descriptor 0x2902 . Receive Upd...