Receive a button press event in my own app

We have integrated the Reach RX into our own mapping web app, so that the app (running in Chrome - not Firefox - on a laptop or tablet with internet connection) handles the Ntrip connection and receives corrected positioning, which it plots live on the map. (More about that in another post, some time.)

The app has a drawing feature, and so now instead of clicking/touching on the map, I’ve provided a button within the app for capturing the current (corrected) position of the RX, only when it is reporting “fix” positioning. We’re mostly happy with how that works. (More about that in another post as well…)

A colleague who has seen some promotional material for the RX says this shows a user pressing the button on the RX and the Emlid app responds.

So my question is: How can I also receive this button press event via the GATT server data stream?

Rather than go back to the screen of the laptop or tablet to capture each point in the polygon or line being surveyed, our users would like to activate the drawing mode, then move through the area they are surveying, simply clicking the button on the RX as they do so, and not needing three hands to hold the RX, hold the tablet and press a specific art of the device screen all at the same time.

Presumably the button press would trigger an event sent via the Broadcast Characteristic, or do device buttons have their own Characteristic? I can’t find anything on this in the online API documentation for the RX. Thanks for any tips anyone would have on this!

Hi @m.quested

The button on the RX can only be used to power the unit and check the battery level. It doesn’t trigger point collection with the app, but I’ve notified our development team about this. I can recommend a tripod survey pole with a tablet mount to ease operation with the software.

However, can you share the specific material that showed this feature? It might help clarify the content.

1 Like