dd0bc26e65
This commit changes the BLE _IRQ_SCAN_RESULT data from: addr_type, addr, connectable, rssi, adv_data to: addr_type, addr, adv_type, rssi, adv_data This allows _IRQ_SCAN_RESULT to handle all scan result types (not just connectable and non-connectable passive scans), and to distinguish between them using adv_type which is an integer taking values 0x00-0x04 per the BT specification. This is a breaking change to the API, albeit a very minor one: the existing connectable value was a boolean and True now becomes 0x00, False becomes 0x02. Documentation is updated and a test added. Fixes #5738. |
||
---|---|---|
.. | ||
ble_characteristic.py | ||
ble_characteristic.py.exp | ||
ble_gap_advertise.py | ||
ble_gap_advertise.py.exp | ||
ble_gap_connect.py | ||
ble_gap_connect.py.exp | ||
ble_gatt_data_transfer.py | ||
ble_gatt_data_transfer.py.exp | ||
ble_gattc_discover_services.py | ||
ble_gattc_discover_services.py.exp |