Goal: Im trying to create a puck that advertises a distress-call ( panic / sos button) and gets picked up by any phone with the corresponding app installed.
So simply advertising som data and then change som specific advertising data when the button is pressed.
While developing a long press will make the puck go back into a state where it can connect to the web IDE.
I have 2 problems at the moment.
1 When doing a long press the puck is not able to reconnect with the IDE.
2 The app finds the puck but the serviceUUIDs list is empty. This list need to have at least one entry for iphone to let it be discovered in the background.
Data retrived in the app :
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.
Goal: Im trying to create a puck that advertises a distress-call ( panic / sos button) and gets picked up by any phone with the corresponding app installed.
So simply advertising som data and then change som specific advertising data when the button is pressed.
While developing a long press will make the puck go back into a state where it can connect to the web IDE.
I have 2 problems at the moment.
1 When doing a long press the puck is not able to reconnect with the IDE.
2 The app finds the puck but the serviceUUIDs list is empty. This list need to have at least one entry for iphone to let it be discovered in the background.
Data retrived in the app :
Puck Code: