Hawkbit sample - Gateway Security Token Authentication


Brenton Chetty
 

Hi, I am attempting to use the Hawkbit sample to connect to an online hawkbit server. I am using the nrf5340dk with a gsm modem. The board has internet connectivity, i.e. I tested the board by connecting it to an online MQTT server.

I have browsed through the code, and I could not figure out how to utilize Gateway Security Token Authentication for this application.

If you have any suggestions for the following questions, I would truly appreciate it.
     1. How do I enable "Gateway Security Token Authentication" for this application.
     2. How do I enable "Target Security Token Authentication" for this application.
     3. Is there any way for me to enable a debug log for this application, i.e. when I run the         
         sample,  the log outputs "Hawkbit sample app started", however it gives no information   
         about  the connection including connection issues.
     4. How do I enter user authentication credentials? i.e. username and password

Once again, any advice would be truly appreciated. I have been stuck on this issue for a while.

With thanks
Brenton