Open Changed-Daily opened 5 years ago
I have encountered this same issue using a v1.20.0.rc7.2 build and the "Bluetooth(modem_sleep=False)" option. (not sure about v1.20.0.rc7.1)
I was just about to open an issue until I saw this. And there appears to be related comments on this issue: https://github.com/pycom/pycom-micropython-sigfox/issues/259#issuecomment-463416732.
Pycom board: OEM module W01. Firmware: (sysname='WiPy', nodename='WiPy', release='1.20.0.rc7', version='v1.9.4-2833cf5 on 2019-02-08', machine='WiPy with ESP32')
Code to reproduce issue:
Expected output: Starting... Advertising Going to sleep... Advertising Going to sleep...
Actual output:
I have also tried with probably all combinations of init, deinit of Bluetooth before and after machine.sleep but the result is always the same error message.
It may be that the next release v1.20.0.rc7.1 has a workaround with: bluetooth = Bluetooth(modem_sleep=False)
Are the binaries available for that build anywhere?