Question: what BLE commands does the particle mobile app send during the setup process?
I've connected to a fresh argon with a BLE tool app, and see several characteristics, but am unsure how to use them properly for setup purposes.
- What BLE command(s) activates the internal boron SIM?
- What BLE command(s) activates the ethernet detection feature?
- On argons/borons, what is the value stored in the data matrix used for? AKA why does the particle app need to scan it first?
I was about to start BLE sniffing, but I think I'll save that as a last resort haha.
I'm building a personal automation tool to onboard new argons/borons into an external system. The steps are:
- Claim new device
- Assign device to product
- Do more steps unrelated to particle
The goal is to have a USB hub with several unclaimed (listening) devices plugged into it, all being onboarded at once. I can already do 90% of what I need via the CLI & Web API.
The bottleneck is simply claiming the devices. I'm onboarding 50+ at a time, so the mobile app setup process becomes tedious, as does using setup.particle.io.
Claiming a device is easy with the CLI... but the device has to be online to do so, and then I'm stuck using the mobile app to activate the SIM!
Also for smooth onboarding, since Ethernet is fastest for updating OS or firmware, I can use the CLI to flash a precompiled app that just enables ethernet - but if I can do this via BLE, even better.