Crash when enabling Bluetooth

The official PYBD running MicroPython, and its accessories.
Target audience: Users with a PYBD
Post Reply
User avatar
devnull
Posts: 473
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

Crash when enabling Bluetooth

Post by devnull » Wed Oct 30, 2019 9:38 am

Not sure what's happening here, but each time I try and and enable bluetooth I get disconnected from rshell, I assume it chashes ??

Code: Select all

rshell -p /dev/tty.usbmodem*
Connecting to /dev/tty.usbmodem3557315430371 ...
Welcome to rshell. Use Control-D to exit.
/Volumes/dev/uPython/flash> repl
Entering REPL. Use Control-X to exit.
repl_serial_to_stdout dev = <rshell.main.DeviceSerial object at 0x1047acd68>
>
MicroPython v1.11-427-gd5cbee3cf-dirty on 2019-10-12; PYBD-SF2W with STM32F722IEK
Type "help()" for more information.
>>> 
>>> import bluetooth
>>> bt = bluetooth.BLE()
>>> bt.active(True)

serial port pyboard closed
/Volumes/dev/uPython/flash> 
Same thing happens when using linux screen:

Code: Select all

MicroPython v1.11-427-gd5cbee3cf-dirty on 2019-10-12; PYBD-SF2W with STM32F722IEK
Type "help()" for more information.
>>> 
>>> 
>>> 
>>> import bluetooth
>>> bt = bluetooth.BLE()
>>> bt.active(True)
pac@pacBook flash % 

Post Reply