SD-DM Heartbeat Message Table 45Table 45 describes the heartbeat message exchanged between SD and DM Table 45 SD Heartbeat Request Message With DM Parameter R/O/C Description NAME: SDID Required The unique ID assigned to the sensing device. DATA TYPE: string The maximum length is 64 octets. NAME: Cmd Optional If nonzero, SD is given a command. Currently, DATA TYPE: Time two command codes are defined. If cmd is 1, DM is asking SD to list all topics for which the SD is publishing. If cmd is 2, DM is asking to stop publishing for a topic or all topics as suggested by next object in the message. NAME: topic Conditional If cmd is 2, this field denotes the topic for which DATA TYPE: string DM is asking SD to stop publishing. If no topic is specified, DM is asking to stop publishing for all the topics. Table 46 denotes the topic details exchanged in the heartbeat response message from SD and DM. Table 46 Topic Details Exchange in Heartbeat Message Parameter R/O/C Description NAME: SDID Required The unique ID assigned to the sensing device. DATA TYPE: string The maximum length is 64 octets. NAME: activeTopics Required Each entry in the list describes an active topic. DATA TYPE: Array of string The maximum length is 64 octets. SD-DM Dissociation Message Exchange Table 48 describes the sdDissociateRequest JSON object from SD to DM. Table 47 SD Dissociate Request Message Parameter R/O/C Description NAME: SDID Required The ID assigned to SD by the SCOS operator. DATA TYPE: string The maximum length is 64 octets. NAME: SDName Required The name of the sensing device registered with DATA TYPE: string SCOS operator. The maximum length is 64 octets. NAME: SCOSOperator Required The name of the SCOS operator. DATA TYPE: string The maximum length is 64 octets. Table 48 describes the sdDisassociateResponse JSON object from DM to SD.
SD-DM Heartbeat Message Table 45Table 45 describes the heartbeat message exchanged between SD and DM Table 45 SD Heartbeat Request Message With DM Parameter R/O/C Description NAME: SDID DATA TYPE: string Required The unique ID assigned to the sensing device. The maximum length is 64 octets. NAME: Cmd DATA TYPE: Time Optional If nonzero, SD is given a command. Currently, two command codes are defined. If cmd is 1, DM is asking SD to list all topics for which the SD is publishing. If cmd is 2, DM is asking to stop publishing for a topic or all topics as suggested by next object in the message. NAME: topic DATA TYPE: string Conditional If cmd is 2, this field denotes the topic for which DM is asking SD to stop publishing. If no topic is specified, DM is asking to stop publishing for all the topics. Table 46 denotes the topic details exchanged in the heartbeat response message from SD and DM. Table 46 Topic Details Exchange in Heartbeat Message Parameter R/O/C Description NAME: SDID DATA TYPE: string Required The unique ID assigned to the sensing device. The maximum length is 64 octets. NAME: activeTopics DATA TYPE: Array of string Required Each entry in the list describes an active topic. The maximum length is 64 octets. SD-DM Dissociation Message Exchange Table 48 describes the sdDissociateRequest JSON object from SD to DM. Table 47 SD Dissociate Request Message Parameter R/O/C Description NAME: SDID DATA TYPE: string Required The ID assigned to SD by the SCOS operator. The maximum length is 64 octets. NAME: SDName DATA TYPE: string Required The name of the sensing device registered with SCOS operator. The maximum length is 64 octets. NAME: SCOSOperator DATA TYPE: string Required The name of the SCOS operator. The maximum length is 64 octets. Table 48 describes the sdDisassociateResponse JSON object from DM to SD.
22-18-0004-00-0003-802-22-3-draft-specification-draft-2.docx