module Meshtastic::SerialInterface
def self.send_text(opts = {})
psks: 'optional - hash of :channel_id => psk key value pairs (default: { LongFast: "AQ==" })'
on_response: 'optional - Callback on Response',
hop_limit: 'optional - Hop Limit (Default: 3)',
want_response: 'optional - Want Response (Default: false)',
want_ack: 'optional - Want Acknowledgement (Default: false)',
text: 'optional - Text Message (Default: SYN)',
channel: 'optional - channel (Default: 6)',
topic: 'optional - topic to publish to (Default: "msh/US/2/e/LongFast/1")',
to: 'optional - Destination ID (Default: "!ffffffff")',
from: 'required - From ID (String or Integer) (Default: "!00000b0b")',
serial_obj: 'required - serial_obj returned from #connect method',
Meshtastic::SerialInterface.send_text(
Supported Method Parameters::
def self.send_text(opts = {}) s[:serial_obj] pic] ||= 'msh/US/2/e/LongFast/#' o chunked message to deal with large messages MeshInterface.new ) ivalent of publish sh(topic, protobuf_text) => e nnect(serial_obj: serial_obj) unless serial_obj.nil?