Contains the message definitions for the device management server
Marcel Sondaar
License Public Domain
devmgr.bi | Contains the message definitions for the device management server |
Constants | |
DEVMGRCOMMAND_BASE | Base message id for device management commands |
DEVMGRCOMMANDS | Lists the messages that the device manager supports |
Constants | |
DEVMGRCOMMANDS_CONNECTIVITY | Deprecated Requests the server to list the connected device IDs |
DEVMGRCOMMANDS_GETNAME | Retrieves a node’s name |
DEVMGRCOMMANDS_ADD | Requests a new DeviceID to be registerd |
DEVMGRCOMMANDS_SETNAME | Names a device |
DEVMGRCOMMANDS_SETADDR | Sets the message address for a device. |
DEVMGRCOMMANDS_GETADDR | Retrieves a device’s address |
DEVMGRCOMMANDS_SETLOCATION | Names a device |
DEVMGRCOMMANDS_GETLOCATION | Retrieves a node’s location string |
Lists the messages that the device manager supports
Constants | |
DEVMGRCOMMANDS_CONNECTIVITY | Deprecated Requests the server to list the connected device IDs |
DEVMGRCOMMANDS_GETNAME | Retrieves a node’s name |
DEVMGRCOMMANDS_ADD | Requests a new DeviceID to be registerd |
DEVMGRCOMMANDS_SETNAME | Names a device |
DEVMGRCOMMANDS_SETADDR | Sets the message address for a device. |
DEVMGRCOMMANDS_GETADDR | Retrieves a device’s address |
DEVMGRCOMMANDS_SETLOCATION | Names a device |
DEVMGRCOMMANDS_GETLOCATION | Retrieves a node’s location string |
Deprecated Requests the server to list the connected device IDs
(4) DEVMGRCOMMANDS_CONNECTIVITY (4) Device ID
(4) number of connected nodes (4x) array of connected Device IDs. The parent is always listed first.
Retrieves a node’s name
(4) DEVMGRCOMMANDS_GETNAME (4) The Device ID to which this node becomes a child
(n) The byte string containing the name
Requests a new DeviceID to be registerd
(4) DEVMGRCOMMANDS_ADD (4) The Device ID to which this node becomes a child
(4) The newly generated Device ID
Names a device
(4) DEVMGRCOMMANDS_SETNAME (4) Device ID (x) A byte array containing the device name
none
Sets the message address for a device. The address is not present in the message itself, instead the address used to send this message will be taken as the third argument
(4) <DEVMGRCOMMANDS_SETINFO> (4) Device ID
none
Retrieves a device’s address
(4) DEVMGRCOMMANDS_GETADDR (4) The Device ID for which to fetch the location
(4) The device’s currently registered address, or zero if not set (no driver active).
Names a device
(4) <DEVMGRCOMMANDS_SETINFO> (4) Device ID (x) A byte array containing the device name
none
Retrieves a node’s location string
(4) DEVMGRCOMMANDS_GETLOCATION (4) The Device ID for which to fetch the location
(n) The byte array containing the location