#include <applications/asset_tracker_v2/src/cloud/cloud_codec/cloud_codec.h>
Decode received cloud location data.
- Parameters
-
[in] | input | String buffer with encoded cloud location data. |
[in] | input_len | Length of input. |
[out] | location | Storage for the decoded cloud location data. |
- Return values
-
0 | on success. |
-EFAULT | if cloud returned with error to the location request. |
-ENOMEM | if codec could not allocate memory. |
-ENOTSUP | if the function is not supported by the backend. |
- Returns
- 0 on success or negative error value on failure.