Message structure

Serial Modem Host Applications

tags
Serial Modem Host Applications

The following describes the message structure of the module:

struct cloud_msg {
    enum cloud_msg_type type;
    char payload[CONFIG_APP_CLOUD_MSG_MAX_LEN];
    size_t payload_len;
#if defined(CONFIG_APP_LOCATION)
    /** Valid for @ref CLOUD_LOCATION_REQUEST messages. */
    struct location_cloud_request_data location_request;
#endif /* CONFIG_APP_LOCATION */
};