← index #13599Issue #5131
Off-topic · high · value 2.631
QUERY · ISSUE

The BLE.Config gives `ValueError: unknown config param` with pairing parameters

openby brianreinholdopened 2024-02-05updated 2024-02-15
bug

When running the example 'ble_bonding_peripheral.py' on the PICO-W the BLE.config method (line 70) gives ValueError: unknown config param. This error is repeated for all the pairing parameters. Given that it occurs at the low level, the aioble library gives the same result when calling the pairing methods.

Reproduce: Run the ble_bonding_peripheral.py example on the PICO-W (all I have).

  • firmware file name: firmware.uf2 (according to a Bing AI search)
  • git commit: 9b8c64c
  • version: 3.4.0; MicroPython v1.22.1 on 2024-01-05
CANDIDATE · ISSUE

pyboard-D AP_IF set password

closedby PythonVueopened 2019-09-21updated 2019-12-18
port-stm32

MicroPython v1.11-328-gd96391aca on 2019-09-21; PYBD-SF6W with STM32F767IIK
Type "help()" for more information.

import network
ap = network.WLAN(network.AP_IF)
ap.config('password')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: unknown config param
ap.config(password='pass')
ap.config('password')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: unknown config param

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied