Hi,
1. How do I add http User-Agent in example ncs v2.6.0 application_update?
2. Does the client's server reject User-Agent? Incorrect nRF9160 device connection.
Thank you for all your assistance.
Kind regards,
Peter.Min
Hi,
1. How do I add http User-Agent in example ncs v2.6.0 application_update?
2. Does the client's server reject User-Agent? Incorrect nRF9160 device connection.
Thank you for all your assistance.
Kind regards,
Peter.Min
Hi,
These are the prototypes that are used for http(s) requests:
https://github.com/nrfconnect/sdk-nrf/blob/v2.6.0/subsys/net/lib/download_client/src/http.c#L21-L41
Is there a specific need to set the user-agent on your side? Can you share information related to how the download fails?
Normally, this is certificate related, not http request related.
Kind regards,
Håkon
Hi,
These are the prototypes that are used for http(s) requests:
https://github.com/nrfconnect/sdk-nrf/blob/v2.6.0/subsys/net/lib/download_client/src/http.c#L21-L41
Is there a specific need to set the user-agent on your side? Can you share information related to how the download fails?
Normally, this is certificate related, not http request related.
Kind regards,
Håkon