we have a product using the p1 and are now forced to use the p2
our product (with the p1 and now p2) is configured (setup wifi to start with) using our app on the phone. particle release some code to show how this is done on android but will not release a native library or example on how to do this on ios. the old native library does not work as it is all different now using ble (and again different from argon). we only got the react example with which our ios app developer cannot work
anyone having the some problem? any already has some working ios code they like to share?
I built an Android app that connects with an Argon running the library and works fine.
I did not see anything Android-specific in that library, hence I would think your iOS developer can use it.
More on the app here:
In that topic, we talk about a few things to have in mind, at least on the Argon, not sure about the P2.
Cheers
I think what you mention is the INITIAL setup. That this library can’t do for sure.
But if you are able to do an INITIAL setup, then ship the P2s, your customers could then setup the Wi-Fi with this library.
we do like to add a little bit of “security” - right now the password goes plain text over the air
the particle-ble-configure methode (for p2) uses the mobile secret to encrypt/hash. we like to use this as it is known on both sides and not to others (and when/if particle gets it act together we might switch to their methode)
but is there a way to get the to the mobile secret on the p2?
i know it is how to get it “outside” the p2 (from the datamatrix or from the particle cloud) but it must also be accessible “inside” the p2 (to make the secure setup possible). but how?