Optional
configId: numberRandomly generated number to ensure confiuration lockstep
Defines the connection type as serial
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
Protected
pendingAre there any settings that have yet to be applied?
Private
Optional
pipeUnfortunately, this is currently the only way to release the lock on a stream after piping it through a transform stream (https://stackoverflow.com/questions/71262432)
Serial port used to communicate with device.
Protected
portPrivate
Optional
preventShould locks be prevented
Packert queue, to space out transmissions and routing handle errors and acks
Private
readerPrivate
Optional
transformerTransform stream for parsing raw serial data
Initiates the connect process to a Meshtastic device via Web Serial
Gets devices config request
Gets Module config
Protected
handlePrivate
readSends packet over the radio
Optional
replyId: numberOptional
emoji: numberSends a text over the radio
Optional
destination: DestinationOptional
wantAck: booleanOptional
channel: ChannelNumberSends a text over the radio
Optional
channel: ChannelNumberSets devices ChannelSettings
Writes config to device
Writes module config to device
Sets devices owner data
Updates the device status eliminating duplicate status events
Protected
writePrivate
Readonly
onFires when disconnect()
is called, used to instruct serial port and
readers to release there locks
onReleaseEvent
Generated using TypeDoc
Allows to connect to a Meshtastic device over WebSerial