I need to implement a Particle.function to add and connect to new wifi.
What is the best practice for adding new wifi credentials with Particle.function and connecting my device to new wifi via Particle.function?
I wrote something that works, but i think that there is a better way of doing it.
will be happy for some advices,
Thanks is advance.