Thanks Gordon there's loads of info to go on there - appreciated. Can I ask one more thing before cracking on with it, can the Puck drop it's HID connection? And if it does, will the pairing mean it is reestablished, or will it kill the pairing?
To be able to act on the RSSI info, I had hoped to be able to communicate with a hub of some form over BLE UART, the ideal flow would be: Detects connection of iPhone > Measures RSSI > determines RSSI is within set range as proxy for proximity > disconnect and inform hub > disconnect from hub >iphone device reconnects > repeat the previous steps? I'm very rusty on Espruino and BLE so apologies for all the questions.
© Espruino, powered by microcosm.
Report a problem