hotspot-app
hotspot-app copied to clipboard
[Feature] Scan to assert antenna gain and elevation
With the upcoming PoCv11 rollout, it's advised that all hotspot owners assert their antenna elevation
and gain
on-chain. This applies to fleet owners as well. Currently, the best-case (most efficient) way to do this for fleet owners is as follows:
- Display a QR code with the string
helium://hotspot/[address]
to your deployers - Have them scan the QR code to go to the hotspot's page in the app
- They press the Settings button, then Update Hotspot
- They choose Custom Antenna from the list and manually enter the hotspot's gain and elevation
- They press Submit
Proposal
Add the ability to scan elevation
and gain
and tap "I Confirm", completing the entire process in two steps. This could be accomplished in either of the following ways:
- Amend the existing scan-to-assert view and
hotspot_location
scan type to acceptelevation
andgain
parameters in the QR code, keeping in mind that all 3 of the following scenarios will now be possible and should be accounted for: -- ScanhotspotAddress
,latitude
,longitude
,elevation
andgain
all at once -- ScanhotspotAddress
,latitude
andlongitude
only (this is what's current supported) -- ScanhotspotAddress
,elevation
andgain
only - Add a new scan type
hotspot_antenna_info
which acceptshotspotAddress
,elevation
andgain
only and create a new UI to go along with it. Downside of this is that it is technically possible to assert location and antenna info all in oneassert_location_v2
transaction to save time and fees, and this would not support that.
cc @MichaelBrew