nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ cloud_wrap_pgps_request_send()

int cloud_wrap_pgps_request_send ( char * buf,
size_t len,
bool ack,
uint32_t id )

#include <applications/asset_tracker_v2/src/cloud/cloud_wrapper.h>

Send P-GPS request to cloud.

Note
LwM2M builds: This function does not require passing in a list of objects, unlike other functions in this API. The underlying LwM2M API called when calling this function, keeps its own reference of the objects that needs to be updated.
Parameters
[in]bufPointer to buffer containing data to be sent.
[in]lenLength of buffer.
[in]ackFlag signifying if the message should be acknowledged or not.
[in]idMessage ID.
Returns
0 on success, or a negative error code on failure.