BLE - peripheral name = ESP32 ?
BLE - peripheral name = ESP32 ?
How to change the name of the BLE peripheral device, it is normally detected as ESP32.
Re: BLE - peripheral name = ESP32 ?
https://docs.micropython.org/en/latest/ ... BLE.config see the "gap_name" option.
Note that this was added since v1.12, so will require the latest firmware.
Re: BLE - peripheral name = ESP32 ?
Ok im have MicroPython v1.12
Code: Select all
ble_service = ble.bluetooth.BLE()
ble_service.config(gap_name="test")
ble_conn = ble.bleInit(ble_service)
>>
ValueError: unknown config param
Re: BLE - peripheral name = ESP32 ?
Maybe there is something else I don't know about?
Re: BLE - peripheral name = ESP32 ?
This was added after v1.12 -- you need the latest firmware (i.e. the unstable version).