expliot.plugins.ble.blenotifyread¶
Test the possibility of enabling notification for a characteristic on a Bluetooth LE device.
Classes¶
Plugin to enable notification and read characteristic data from a Bluetooth LE device. |
Module Contents¶
- class expliot.plugins.ble.blenotifyread.BleNotifyRead¶
Bases:
expliot.core.tests.test.Test
Plugin to enable notification and read characteristic data from a Bluetooth LE device.
output Format: [{“ndata”: 1}]
- static notifycb(handle, data)¶
Notification data read callback.
- Args:
handle (int): The handle of the characteristic whose data is received. data (bytes): The data that is received from the BLE device.
- Returns:
Nothing
- execute()¶
Execute the test.