exbee v0.0.4 mix exbee.at.set View Source
Set AT configuration values.
Device options can either be passed via switches (ex: --serial-port
) or they’ll be read from
:exbee
config values
Switch options include:
- —serial-port
- —speed
- —data-bits
- —stop-bits
- —parity
- —flow-control
Examples:
Set a single AT parameter values:
> mix exbee.at.query NJ=1 --serial-port COM1 --speed 115200
NJ: ok
Set multiple AT parameter values
> mix exbee.at.query NJ=255 DL='<<0x0, 0x0, 0xFF, 0xFF>>'
NJ: ok
DL: ok
Link to this section Summary
Functions
A task needs to implement run
which receives
a list of command line args
Link to this section Functions
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.