Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CS Integration: Scrape Devices #25

Open
lthiery opened this issue Jul 28, 2021 · 0 comments
Open

CS Integration: Scrape Devices #25

lthiery opened this issue Jul 28, 2021 · 0 comments

Comments

@lthiery
Copy link
Contributor

lthiery commented Jul 28, 2021

The user should configure a XOR_FILTER_UPDATE config. Setting to 0 would disable it entirely. A non-zero value would trigger Packet Purchaser to scrape the CS API every XOR_FILTER_UPDATE minutes.

GET /api/devices

{
  "result": [
    {
      "applicationID": "string",
      "description": "string",
      "devEUI": "string",
      "deviceProfileID": "string",
      "deviceProfileName": "string",
      "deviceStatusBattery": 0,
      "deviceStatusBatteryLevel": 0,
      "deviceStatusBatteryLevelUnavailable": true,
      "deviceStatusExternalPowerSource": true,
      "deviceStatusMargin": 0,
      "lastSeenAt": "2021-07-28T14:42:01.199Z",
      "name": "string"
    }
  ],
  "totalCount": "string"
}

How do we derive AppEui?

Once we have AppEui,DevEui, we should confirm that they are written to on-chain XOR filter(s). If not, we should do the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant