[nrf-port] NRF51822 BLE is not working (can't apply GAP parameters)
I've tried to compile and use bluetooth on a NRF51822 on a PCA10028, but I think that something in the code is broken..
If I compile for PCA10028 the board hang and REPL don't start.
if I compile for PCA10000, PCA10001, PCA10031 I always get this error:
No problem on the PCA10040.
>>> MicroPython v1.17-63-g67d1dca9c-dirty on 2021-09-21; PCA10001 with NRF51822
Type "help()" for more information.
>>> import ble
>>> ble.enable()
SoftDevice enabled
Traceback (most recent call last):
File "<stdin>", in <module>
OSError: can't apply GAP parameters
ubluepy_temp.py stopped working on nRF52 s132 6.0.0
I am not exactly sure if this is the same as issue #4288 but if it is, then I apologise for the duplication.
The stock example ubluepy_temp.py on a nRF52-DK PCA10040 board is no longer working after the SoftDevice is upgraded to s132 6.0.0 together with the master branch version of the micropython.
Advertising is ok, I can see it properly on the nRF connect. The event handler got EVT_GAP_CONNECTED and things got executed correctly. Then that's it. There is no further happenings between the nRF connect and the PCA10040. The status on the nRF connect Services page shows Connecting. Where the Services selections should be shown is now only a spinning cursor on a white page.
What was changed? Any idea how to fix this?