carbon-device-mgt-plugins
carbon-device-mgt-plugins copied to clipboard
Reduce the size of Device_info payload.
Purpose
Reduce the size of the device info payload by removing unchanged information comparing with the previously sent data.
Approach
From the IOT server side, Maintain a map similar to the Android device side and persist that in the database as a blob after serializing into a byte stream. Compare payloads and replace the values in the payload and store in the database.