Let’s consider a hypothetical use case for a BSoM402 board:
The requirements of the firmware of this board are to:
- Publish sensor readings to DRF API
- Not interact with the personnel around the B402, as far as bystanders are concerned this device will sit in the corner of a room collecting data 24/7, a data recording device.
- Have the ability for the DRF API to call particle cloud functions on a per device basis on devices within the organization
I have been using an
access_token as generated by
particle token create on my particle account thus far since the device has been claimed, but as you know once a device becomes a product device it requires some sort of “customer setup”, but for our particular implementation of the product, there is no phase of use where the customer “sets up” the device, they receive it, turn it on, and it’s collecting data.
There should be some feature of particle products to generate an
access_token that provides function calling rights to an external API over the https cloud, one that is the same for all product devices.
Is there a way to do this, create an access token that will provide function calling rights over particle product marked devices, if so is it in the documentation? I cannot find it anywhere.