How to measure Peripheral power consumption using BLE.
BLE_Power_Peripheral application usage: - Configuration phase (Red led is active or toggling): buttons are active and user can select the desired configuration to measure - Power consumption measurement phase (Red led if off): buttons are disabled and power measurement can be done.
BLE_Power_Peripheral can be used to measure: - Advertising phase - Connected phase with : ST BLE Toolbox smartphone application.
Connectivity, BLE, BLE protocol, BLE pairing, BLE profile
In order to make the program work, you must do the following :
Once powered the application start advertising and the configuration phase start for 10sec: buttons can be used to select the desired configuration:
You can interact with BLE_Power_Peripheral application with a smartphone:
Open ST BLE Toolbox application: select the PWR in the device list. Once connected, service and characteristics discovered enable notification.
B3 click : Update connection interval by ACI_L2CAP_CONNECTION_UPDATE_REQ_EVENT