implement login and status request for fetching metrics from repeaters

This commit is contained in:
liamcottle 2025-02-24 19:28:09 +13:00
parent 4010cfc3b2
commit 84df5aa57f
5 changed files with 240 additions and 0 deletions

View file

@ -36,6 +36,9 @@ class Constants {
DeviceQuery: 22,
ExportPrivateKey: 23,
ImportPrivateKey: 24,
SendRawData: 25, // todo
SendLogin: 26, // todo
SendStatusReq: 27, // todo
}
static ResponseCodes = {
@ -62,6 +65,9 @@ class Constants {
PathUpdated: 0x81,
SendConfirmed: 0x82,
MsgWaiting: 0x83,
LoginSuccess: 0x85,
LoginFail: 0x86, // not usable yet
StatusResponse: 0x87,
}
static AdvType = {