File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -321,8 +321,8 @@ static void agnss_requestor(struct k_work *)
321321 int err ;
322322 struct nrf_modem_gnss_agnss_data_frame req ;
323323 static char agnss_rest_data_buf [NRF_CLOUD_AGNSS_MAX_DATA_SIZE ];
324- struct nrf_cloud_rest_agnss_request request = {
325- NRF_CLOUD_REST_AGNSS_REQ_CUSTOM ,
324+ struct nrf_cloud_coap_agnss_request request = {
325+ NRF_CLOUD_COAP_AGNSS_REQ_CUSTOM ,
326326 & req ,
327327 };
328328
@@ -332,7 +332,7 @@ static void agnss_requestor(struct k_work *)
332332 return ;
333333 }
334334
335- struct nrf_cloud_rest_agnss_result result = {agnss_rest_data_buf ,
335+ struct nrf_cloud_coap_agnss_result result = {agnss_rest_data_buf ,
336336 sizeof (agnss_rest_data_buf ), 0 };
337337 struct lte_lc_cells_info net_info = {0 };
338338
@@ -345,7 +345,7 @@ static void agnss_requestor(struct k_work *)
345345
346346 err = nrf_cloud_coap_agnss_data_get (& request , & result );
347347 if (err ) {
348- LOG_ERR ("Failed to request A-GNSS data via REST (%d)." , err );
348+ LOG_ERR ("Failed to request A-GNSS data via CoAP (%d)." , err );
349349 return ;
350350 }
351351
Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ static void loc_req_wk(struct k_work *work)
290290 }
291291
292292 struct nrf_cloud_location_result result = {0 };
293- const struct nrf_cloud_rest_location_request request = {
293+ const struct nrf_cloud_coap_location_request request = {
294294 .config = NULL ,
295295 .cell_info = nrfcloud_cell_pos ? & nrfcloud_cell_data : NULL ,
296296 .wifi_info = nrfcloud_wifi_pos ? & nrfcloud_wifi_data : NULL };
You can’t perform that action at this time.
0 commit comments