I wish to upload measurement data to Google Cloud Platform IoT Core with Arduino MKR GSM 1400. I have followed:
and
but I did not succeed on connecting to Google's MQTT broker.
I have seen that I am not the only one with this problem, but I hope that someone has figured out the solution to this problem.
Reading this:
https://groups.google.com/a/arduino.cc/g/developers/c/EK7lmDK-jTA?pli=1
I came to the realization that I might need to update the root certificate in the "radio module", aka SARA-U201. I've tried to figure out how to do this, and stumbled upon the arduino-fwuploader, I have tried to run it like this:
/arduino-fwuploader firmware get-version -b arduino:samd:mkrgsm1400 -a /dev/ttyACM0
in order to succeed with this:
./arduino-fwuploader certificates flash -b arduino:samd:mkrgsm1400 -a /dev/ttyACM0 -u mqtt.googleapis.com:443
but the fwupdater does not even find the board despite "arduino:samd:mkrgsm1400" being correct. And yes, I am trying to do all this under Linux.
I was also trying to make the example: "SSLCertificateManagement_Example" working, but for this I would have needed the certificates to be converted to DET format and arrange it to be an array of unsigned chars.
https://www.sslshopper.com/ssl-converter.html
At this point I don't know what else I should/could try. I know for a fact that the hardware itself is working, I have tried as many examples regarding GSM as I could (sending SMS, GPRS ping, initiating a voice call, detecting GSM networks, etc.), and all worked. Following the tutorial, I have properly locked the ECC508 crypto chip, and generated a private/public key into slot 0. I have a GCP account, configured it properly, I have even tried to disable the HTTP protocol in the GCP project registry, but no use, I still think that it is about updating the root certificate in the SARA module.
Did anyone figure this out yet?
Thank you for the related tips and ideas!