This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Change destination server for agps code

Hi,

I got a nordic thingy:91 and just play a bit with it and the asset_tracker application. Then I flashed the agps code because just want to send GPS coordinates on the server.

Now My question now is:

Is there any way I can send the GPS data to our AWS server? 

If Yes, Can you guide me for the same.

Best Regards,

Rahul Kidecha

Parents
  • Hi,

    In order to send the GPS data to another server, you have to change the cloud backend to AWS, and change the endpoint and device ID, as well as any other requirements by AWS. I would recommend taking a look at the Cloud client sample, which shows how to connect to, and communicate with a cloud service using a cloud backend firmware library. This sample supports the AWS IoT library already. In prj.conf in the cloud client sample, you'll find the necessary configurations for AWS under 'AWS IoT'.

    The A-GPS sample uses either nRF Cloud A-GPS feature or an external SUPL client in order to use A-GPS. If you're to use the nRF Cloud A-GPS feature, you would have to be connected to nRF Cloud as well. However, I don't know how well the API can handle two instances simultaneously. Another option is to use SUPL client. You can select the different A-GPS sources in the sample via the CONFIG_AGPS_SRC_SUPL configurable option. 

    Best regards,

    Marte

Reply
  • Hi,

    In order to send the GPS data to another server, you have to change the cloud backend to AWS, and change the endpoint and device ID, as well as any other requirements by AWS. I would recommend taking a look at the Cloud client sample, which shows how to connect to, and communicate with a cloud service using a cloud backend firmware library. This sample supports the AWS IoT library already. In prj.conf in the cloud client sample, you'll find the necessary configurations for AWS under 'AWS IoT'.

    The A-GPS sample uses either nRF Cloud A-GPS feature or an external SUPL client in order to use A-GPS. If you're to use the nRF Cloud A-GPS feature, you would have to be connected to nRF Cloud as well. However, I don't know how well the API can handle two instances simultaneously. Another option is to use SUPL client. You can select the different A-GPS sources in the sample via the CONFIG_AGPS_SRC_SUPL configurable option. 

    Best regards,

    Marte

Children
No Data
Related