module Meshtastic::SerialInterface

def self.help

def self.help
elf}.connect(
l - mqtt host (default: mqtt.meshtastic.org)',
l - mqtt port (defaults: 1883)',
 - use TLS (default: false)',
ional - mqtt username (default: meshdev)',
ional - (default: large4cats)',
tional - client ID (default: random 4-byte hex string)',
ptional - keep alive interval (default: 15)',
optional - acknowledgement timeout (default: 30)'
device(
equired - serial_obj returned from #connect method'

equired serial_obj returned from #connect method',
ired - array of bytes OR string to write to serial device (e.g. [0x00, 0x41, 0x90, 0x00] OR \"\\x00\\x41\\c90\\x00\\r\\n\"'
self}.dump_stdout_data(
d - :proto or :console'
ta(
l - :console or :proto (default: nil)'
stdout(
d - :proto or :console',
onal - refresh interval (default: 3)',
onal - comma-delimited string(s) to include in message (default: nil)',
onal - comma-delimited string(s) to exclude in message (default: nil)',
e(
equired - serial_obj object returned from #connect method',
ptional - root topic (default: msh)',
nal - region e.g. 'US/VA', etc (default: US)',
 'optional - channel ID path e.g. '2/stat/#' (default: '2/e/LongFast/#')',
l - hash of :channel_id => psk key value pairs (default: { LongFast: 'AQ==' })',
 - quality of service (default: 0)',
l - JSON output (default: false)',
onal - comma-delimited string(s) to exclude in message (default: nil)',
onal - comma-delimited string(s) to include on in message (default: nil)',
'optional - include GPS metadata in output (default: false)'
t(
equired - serial_obj returned from #connect method',
d - From ID (String or Integer) (Default: \"!00000b0b\")',
- Destination ID (Default: \"!ffffffff\")',
al - topic to publish to (default: 'msh/US/2/e/LongFast/1')',
onal - channel (Default: 6)',
l - Text Message (Default: SYN)',
ional - Want Acknowledgement (Default: false)',
 'optional - Want Response (Default: false)',
tional - Hop Limit (Default: 3)',
optional - Callback on Response',
l - hash of :channel => psk key value pairs (default: { LongFast: 'AQ==' })'
elf}.disconnect(
equired - serial_obj object returned from #connect method'