mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
implement login and status request for fetching metrics from repeaters
This commit is contained in:
parent
4010cfc3b2
commit
84df5aa57f
5 changed files with 240 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue