mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
extmod/modbluetooth: Implement configuration of address modes.
Changes `BLE.config('mac')` to return a tuple (addr_mode, addr).
Adds `BLE.config(addr_mode=...)` to set the addressing mode.
This commit is contained in:
committed by
Damien George
parent
1b1b22905e
commit
c4af714d58
@@ -93,7 +93,4 @@ void mp_bluetooth_btstack_port_init(void) {
|
||||
#endif
|
||||
}
|
||||
|
||||
void mp_hal_get_mac(int idx, uint8_t buf[6]) {
|
||||
}
|
||||
|
||||
#endif // MICROPY_PY_BLUETOOTH && MICROPY_BLUETOOTH_BTSTACK
|
||||
|
||||
Reference in New Issue
Block a user