Disconnect then connect via nRF Connect, expand the UART Service, tap the little bunch of down arrows icon next to TX Characteristic, and watch your button clicks being reported in near real-time;
Yep I realize that connecting nRF to the puck stops the puck from doing certain other bluetoothy things while connected. And I'm not sure about battery friendliness. But it's still cool. Handy for grabbing a quick status update perhaps. Especially when developing/testing. The RX Characteristic lets you send short commands too. But it's not very convenient.
For fast moving values I had good luck outputting short updates every 500ms, and the phone keeping up.
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.
This may be really obvious to some but I just figured it out.
Using nRF Connect you can monitor your pucks runtime console. In your code write something short to the console every little while. For example:
Disconnect then connect via nRF Connect, expand the UART Service, tap the little bunch of down arrows icon next to TX Characteristic, and watch your button clicks being reported in near real-time;
Yep I realize that connecting nRF to the puck stops the puck from doing certain other bluetoothy things while connected. And I'm not sure about battery friendliness. But it's still cool. Handy for grabbing a quick status update perhaps. Especially when developing/testing. The RX Characteristic lets you send short commands too. But it's not very convenient.
For fast moving values I had good luck outputting short updates every 500ms, and the phone keeping up.