SDK difference between addDeviceToProduct() and provisionDevice()

My goal is to take a new bsom device and place it into a product, rename it, and flash it with a product firmware. The updateDevice function accepts all these parameters but it fails 404, I assume that's cause the device is not in a product.

I'm a little hazing on the difference between adding to product and provisioning, can someone explain the difference?

Use add device to a product.

There is no way to use provision device. I just realized that it was removed from the cloud API documentation, but not the particle-api-js documentation. It was previously used for certain devices not manufactured by Particle to allow them to use the Particle cloud. This is no longer allowed.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.