Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

iAcommsDriver provides our standard interface between MOOS and the WHOI uModem.  It It implements the GOBY uModem driver class and allows other MOOS applications to make use of the modem through several MOOS variables.  

Simplest Usage

Great for simple applications or human use.

Transmitting

Transmitting is very easy - simply post a string to the variable ACOMMS_TRANSMIT_DATA and the modem will immediately send that data if it is not currently receiving or transmitting data.  The The variable ACOMMS_DRIVER_STATUS indicates whether the modem is "ready", "transmitting", or "receiving".  The The transmission rate and destination can be set by posting the the variables ACOMMS_TRANSMIT_RATE and ACOMMS_TRANSMIT_DEST.  

...

Receiving

...

To use simple receiving, the "enable_legacy" option must be enabled in the MOOS process config. Whenever a transmission is received, information about the reception is posted to several variables:

ACOMMS_RECEIVED_DATA
ACOMMS_BAD_FRAMES