PicoModem module of PicoRuby
Singleton methods
handle_dfu
PicoModem.handle_dfu(IO io_in, IO io_out, String payload) -> void
handle_file_read
PicoModem.handle_file_read(IO io_in, IO io_out, String payload) -> void
handle_file_write
PicoModem.handle_file_write(IO io_in, IO io_out, String payload) -> void
read_exact
PicoModem.read_exact(IO io, Integer n) -> String?
recv_frame
PicoModem.recv_frame(IO io) -> [Integer, String]?
send_frame
PicoModem.send_frame(IO io, Integer cmd, ?String payload) -> void
session
PicoModem.session(IO io_in, IO io_out) -> void