3b6c9119eb
This commit allows the user to set/get the GAP device name used by service 0x1800, characteristic 0x2a00. The usage is: BLE.config(gap_name="myname") print(BLE.config("gap_name")) As part of this change the compile-time setting MICROPY_PY_BLUETOOTH_DEFAULT_NAME is renamed to MICROPY_PY_BLUETOOTH_DEFAULT_GAP_NAME to emphasise its link to GAP and this new "gap_name" config value. And the default value of this for the NimBLE bindings is changed from "PYBD" to "MPY NIMBLE" to be more generic. |
||
---|---|---|
.. | ||
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_gap_device_name.py | ||
ble_gap_device_name.py.exp | ||
ble_gatt_data_transfer.py | ||
ble_gatt_data_transfer.py.exp | ||
ble_gattc_discover_services.py | ||
ble_gattc_discover_services.py.exp |