exbee v0.0.4 mix exbee.at.query View Source
Query AT configuration values.
Depending on the installed firmware, some parameters will respond with invalid_command
.
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:
Return a list of all AT parameter values:
> mix exbee.at.query --serial-port COM1 --speed 115200
SL: <<0x40, 0xB1, 0x90, 0x74>>
SM: invalid_command
VR: <<0x21, 0xA7>>
SN: <<0x0, 0x1>>
Return a single AT parameter value:
> mix exbee.at.query NJ
NJ: <<0xFF>>
Link to this section Summary
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
.