Deleted Event

The deleted event object is published on this topic: glp/0/{SID}/ev/deleted/dev/{Protocol}/type/{Application_Type}  

Where:

SID

is the segment identifier.

Protocol

is the protocol identifier, such as lon, cm, modbus, etc.

Application_Typeis the application type as reported with the device’s status object.

Device deletion is complete when the deleted event is published.

The deleted event object has the following syntax:

{                                                                                                               
     handle: Handle
}

Handle is the device handle used with the IAP/MQ topic.

Example

For example, the following device deletion request yields the deleted event shown.

Device Deletion:

{                                                                                                               
     action: “delete”,
}  -> glp/0/SID/rq/dev/lon/nc.0/do


Deleted Event:

{
     handle: “nc.0”,
}  -> glp/0/SID/ev/deleted/dev/lon/type/9FFFFF0501840430