I’ve set up a cloud function in Firebase Functions that my device triggers by publishing to a pubsub topic. The cloud function makes the
fetch request to the preAuth endpoint;
The plan being that my device manufacturer would boot the device to test it before shipping to the customer. This sets the device up to receive software updates as soon as the customer receives it and boots it again for their use.
In my logs I get the response from the
POST request in the promise callback as shown in the API example;
The problem is I don’t see the device show up in any of the hosted Mender categories(
if anyone can help with what I may be missing it would be appreciated.