As a MiniBee gets connected to the communication software, the following messages are sent:
info
-message detailing the serial number, the ID and the number of inputs and outputs of the MiniBee,status
messages that indicate in which phase of the startup the MiniBee is.If no configuration is known for the MiniBee (there is none defined in the configuration file), an OSC message can be sent to configure the MiniBee.
/minibee/info - siii
from MiniBee to user software
Basic information on a MiniBee that has just connected to the hive. The arguments are:
s
- the serial number of the XBee that is on the MiniBeei
- the id that is assigned to the MiniBeei
- the number of inputs to the MiniBee - the number of sensor data values that it will send to the user softwarei
- the number of outputs of the MiniBee - the number of actuator data values that can be sent to the hive /minibee/status - is
from MiniBee to user software
Status information of the MiniBee.
i
- the ID of the MiniBees
- the status of the minibee, which can be one of:
init
- the status as the software starts upwaiting
- waiting to be configuredconfigured
- the minibee is configured with its sensor/actuator configurationreceiving
- data is being received from the minibeeactive
- the minibee is active, but its configuration is such that it does not send sensor dataoff
- the minibee is off, this status message is sent out after no data has been received for a while from the minibeepaused
- the minibee has been paused