-typedef nx_struct DelugeDissemination {
- nx_uint8_t msg_type;
- nx_uint32_t uid; // unique id of image
- nx_uint16_t vNum; // version num of image
+enum {
+ DELUGE_CMD_STOP = 1,
+ DELUGE_CMD_LOCAL_STOP = 2,
+ DELUGE_CMD_ONLY_DISSEMINATE = 3,
+ DELUGE_CMD_DISSEMINATE_AND_REPROGRAM = 4,
+ DELUGE_CMD_REPROGRAM = 5, // Reprogram the local mote
+ DELUGE_CMD_REBOOT = 6, // Reboot the local mode
+};
+
+#define UQ_DELUGE_METADATA "DelugeMetadata.client"
+#define UQ_DELUGE_VOLUME_MANAGER "DelugeVolumeManager.client"
+
+typedef nx_struct DelugeCmd {
+ nx_uint8_t type;
+ nx_uint32_t uidhash; // unique id of image