Hello, we are trying to get software running on our custom board.
Last week we tried to test the software written on a development kit of the NRF9160 on to our custom board. The chip is able to connect with the network and gives message about this. but it does not connect to AWS itself. The same software does work on the DK. The software breaks at the connect_client function in aws_iot.c. the error code is -111 which apparently means that something is wrong with the certifcates. The custom board is programmed in the same except for that i was not able to upload the certficates through the AT client. Because the board gets programmed through j link. I tried new cerficates. But again it worked on the DK but not on the custom board. I tried testing everything twice with no avail.
The only thing that i can think of is that with the DK I followed the tutorial that said i had to program the certficates with the AT client. Which have done with the DK but not with the custom board.
I tried looking into the matter but no concrete answered if the certficates had to programmed through that or the certificates.h header file.
So i was wondering what the official way this done because in a latter state it would be interesting to have the certicates uploaded easier.
Furthermore I appreciate any suggestions on this matter.