BLE STOP WORKING -Memory problem!? Do I have to clear memory...?
BLE advertising packets and printing them to the console. Nothing clever. After a few minutes or a few hours it would crash. It was somewhat random.
@stefan85e That does not show much more than the reboot messages. Since your scripts prints messages, it would be interesting to see the time frame after printing your script's messages and the reboot print-outs. If Atom cannot do that, use a simple terminal emulator like Putty on Windows. The allow to write logs into a file.
This is what it look like yesterday...
https://docs.pycom.io/chapter/firmwareapi/micropython/gc.html that might be good to use!?
@stefan85e When crashing, do you get a specific error message?
If your code has something like a main loop, it may help to add:
for instance before you start waiting for a new message from BLE.
Of yourse, you have to 'import gc' somewhere before in your code.