=====. Lines with configuration options follow
key: value, with arbitrary whitespace between
:and the value. Example:
IDhere should be a globally unique ID (like a MAC address). If the device does not have a globally unique ID set this to
00:00:00:00:00:00and implement the
AT+DEVICEIDcommand. The serial daemon will then use the MAC address of the USB controller instead.
Data Transfer Baudrateis the baud rate that the device can switch to when offloading data for functions like
AT+BUFFER. If the device does not support switching to a higher baud rate set this to
115200. See "Switching to higher baud rates" later on this page for the protocol.
AT+SAMPLESTART=to indicate which sensor should be used. Example:
0and omit the other options. The color depth should be either
AT+READBUFFERfunction and follow the instructions under
AT+UPLOADSETTINGS?) to specify where the file will be sent. Once uploading is completed, the device should respond with
File uploaded. Example:
0for 'Present' and leave the other fields empty. The serial daemon will then no longer prompt to connect the development board to WiFi.
AT+UPLOADSETTINGS=. If the device is not connected, the
Last errorfield can be used to indicate why the connection failed. Example:
AT+SAMPLESETTINGS?, and then uploads the file (if connected to WiFi) according to the parameters in
AT+UPLOADSETTINGS?. Takes one parameter, the name of the sensor (one of the sensors listed in
Not uploading file. The serial daemon will then use
AT+READFILEwith the file name specified earlier to read the file back.
Not uploading file. Used buffer, from=0, to=310.(where 0 and 310 are parameters that will be passed in to
AT+SAMPLESETTINGS?may be ignored, e.g. if this is set to a value that the sensor does not support.
Sampling...- sampling has started, currently recording data from the sensor.
Done sampling- sampling has finished.
Processing...- if the sample requires post-processing (e.g. signing the file, or copying the file over), send this event.
Done processing- post-processing was done.
Uploading...- uploading has started.
OK- full process is done.
Not uploading file, and don't emit
File name:and lists where the file will be stored.
y/n). The content of the base64 buffer should be a
uint8_tarray, with one value per pixel when in grayscale mode, or three values per pixel in RGB mode. E.g. an 2x1 image with a black and a white pixel would be:
[ 0x00, 0xff ](pixel 1, pixel 2).
[ 0x00, 0x00, 0x00, 0xff, 0xff, 0xff ](pixel 1 red, pixel 1 green, pixel 1 blue, pixel 2 red, pixel 2 green, pixel 2 blue).
framebuffer.jpgwith the decoded content.
bis received on stdin. This function takes three parameters: 1) the width of the snapshot, 2) the height of the snapshot, 3) whether to switch to the 'Data transfer baud rate' (
y/n). The format is the same as
AT+SNAPSHOT, but every snapshot should be on a new line.
AT+SNAPSHOTSTREAM) you'll need to follow this procedure:
nis passed in for the 'use max rate' property:
yis passed in for the 'use max rate' property:
\r\nOKon baud rate 115,200.
\r\nOK(on the max. baud rate).
AT+READFILEfrom hex to base64.
Presentfield for WiFi.