DeviceDeregisterRequest

Last modified: Jul 5, 2019 @ 06:43

This request from the gateway notifies DDM of the deregistration of the device.

This request may be caused, for example, by the device actively deregistering from the gateway, or by the device loosing connectivity and the gateway detecting the disconnection.

Example:

public void someMethod() {
  // Device is disconnected or deregistering
  try {
    getGateway().sendDeviceDeregisterRequest("abcdef");
  } catch (GatewayException e) {
    logger.log(Level.WARNING, "Failed to send request to AppIoT", e);
  }
}

The following figure shows the message sequence chart for the Device Deregister process.