helium / hotspot-app

Helium hotspot app for iOS and Android
https://www.helium.com
Apache License 2.0
187 stars 139 forks source link

Add QR scan support for asserting antenna gain/elevation and hotspot transfer #1344

Open MichaelBrew opened 2 years ago

MichaelBrew commented 2 years ago

Combo of https://github.com/helium/hotspot-app/pull/977 and https://github.com/helium/hotspot-app/pull/1342

JSON payload to re-assert antenna gain/elevation

{
  "type": "hotspot_antenna",
  "hotspotAddress": string,
  "gain": number,
  "elevation": number?
}

JSON payload to transfer hotspot

{
  "type": "transfer",
  "hotspotAddress": string,
  "newOwnerAddress": string,
  "skipActivityCheck": boolean,
  "isSeller": boolean
}