Understand ... and I have tried to do so:
I can see it starting up, advertising as Espruino, let's me choose to connect via IDE, tries to, says "Connected to BLE" but does not finish let alone me programming it / uploading new code. It just hangs there until the timeout comes and executes my "old code" ... which sets a new name, non-connectable etc.
Am I missing something?
Shall I set advertising to something specific to make it "more willing" to connect before the timeout runs my other code?
And if the connecting works, will it stop the timeout or will I have to upload before to avoid further execution?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Understand ... and I have tried to do so:
I can see it starting up, advertising as Espruino, let's me choose to connect via IDE, tries to, says "Connected to BLE" but does not finish let alone me programming it / uploading new code. It just hangs there until the timeout comes and executes my "old code" ... which sets a new name, non-connectable etc.
Am I missing something?
Shall I set advertising to something specific to make it "more willing" to connect before the timeout runs my other code?
And if the connecting works, will it stop the timeout or will I have to upload before to avoid further execution?