Optional
configId: numberRandomly generated number to ensure confiuration lockstep
Defines the connection type as http
Protected
deviceDescribes the current state of the device
Protected
isDescribes the current state of the device
Protected
logLogs to the console and the logging event emitter
Optional
packet: Uint8ArrayReadonly
onFires when the device receives a Metadata packet
Readonly
onFires when a new MyNodeInfo message has been received from the device
Keeps track of all requests sent to the radio that have callbacks TODO: Update description
Enables receiving messages all at once, versus one per request
URL of the device that is to be connected to.
Readonly
onFires when a new MeshPacket message containing a ATAK packet has been received from device
Readonly
onFires when a new Channel message is recieved
Readonly
onFires when a new Config message is recieved
Readonly
onFires when the devices connection or configuration status changes
Readonly
onFires when a new FromRadio message has been received from the device
Readonly
onFires when a new MeshPacket message containing a IP Tunnel packet has been received from device
Readonly
onFires when a new FromRadio message has been received from the device
Readonly
onFires when a new FromRadio message containing a Text packet has been received from device
Readonly
onFires when the device receives a meshPacket, returns a timestamp
Readonly
onFires when a new FromRadio message containing a Data packet has been received from the device
Readonly
onFires when a new MeshPacket message containing a Text packet has been received from device
Readonly
onFires when a new ModuleConfig message is recieved
Readonly
onFires when a new MeshPacket message containing a NodeInfo packet has been received from device
Readonly
onFires when a new MeshPacket message containing a Ping packet has been received from device
Readonly
onFires when a new MeshPacket message containing a Position packet has been received from device
Readonly
onFires when a new MeshPacket message containing a Private packet has been received from device
Readonly
onFires when a new MeshPacket message containing a Store and Forward packet has been received from device
Readonly
onFires when a new MeshPacket message containing a Remote Hardware packet has been received from device
Readonly
onFires when a new MeshPacket message containing a Routing packet has been received from device
Readonly
onFires when a new MeshPacket message containing a Serial packet has been received from device
Readonly
onFires when a new MeshPacket message containing a Store and Forward packet has been received from device
Readonly
onFires when a new MeshPacket message containing a Telemetry packet has been received from device
Readonly
onFires when a new MeshPacket message containing a User packet has been received from device
Confirms the currently set channels, and prevents changes from reverting after 10 minutes.
Optional
callback: ((id: number) => Promise<void>)If wantAck is true, callback is called when the ack is received
Confirms the currently set config, and prevents changes from reverting after 10 minutes.
Optional
callback: ((id: number) => Promise<void>)If wantAck is true, callback is called when the ack is received
Initiates the connect process to a Meshtastic device via HTTP(S)
http connection parameters
Deletes specific channel via index
Channel index to be deleted
Optional
callback: ((id: number) => Promise<void>)If wantAck is true, callback is called when the ack is received
Gets specified channel information from the radio
Channel index to be retrieved
Optional
callback: ((id: number) => Promise<void>)If wantAck is true, callback is called when the ack is received
Gets devices config
Optional
callback: ((id: number) => Promise<void>)If wantAck is true, callback is called when the ack is received
Gets devices metadata
Optional
callback: ((id: number) => Promise<void>)If wantAck is true, callback is called when the ack is received
Gets devices config
Optional
callback: ((id: number) => Promise<void>)If wantAck is true, callback is called when the ack is received
Gets devices Owner
Optional
callback: ((id: number) => Promise<void>)If wantAck is true, callback is called when the ack is received
Protected
handleProtected
readSends a text over the radio
Location to send
Optional
destinationNum: numberNode number of the destination node
Whether or not acknowledgement is wanted
Optional
callback: ((id: number) => Promise<void>)If wantAck is true, callback is called when the ack is received
Sends packet over the radio
dataType Enum of protobuf data type
Optional
destinationNum: numberNode number of the destination node
Whether or not acknowledgement is wanted
Used for testing, requests recpipient to respond in kind with the same type of request
Sends event back to client
Optional
callback: ((id: number) => Promise<void>)If wantAck is true, callback is called when the ack is received
Optional
location: Protobuf.LocationSends raw packet over the radio
binary data to send
Optional
callback: ((id: number) => Promise<void>)Sends a text over the radio
Optional
destinationNum: numberNode number of the destination node
Whether or not acknowledgement is wanted
Optional
callback: ((id: number) => Promise<void>)If wantAck is true, callback is called when the ack is received
Writes module config to device
module config object
Optional
callback: ((id: number) => Promise<void>)If wantAck is true, callback is called when the ack is received
Updates the device status eliminating duplicate status events
Protected
writeGenerated using TypeDoc
Allows to connect to a Meshtastic device over HTTP(S)