From serial monitoring I believe that I am successfully connecting to the cell tower but not Particle Cloud 0000465893 [system] WARN: Internet available, Cloud not reachable!
The link at tho bottom of that page goes to a document just for photons and cores, so I’m not sure what else to try. Any help appreciated, I am guessing that there is just some part of my stack that is outdated.
In particular, make sure you’re setting the APN to wireless.twilio.com in your firmware. It looks like your code does that, so it’s not clear why it’s not working; it should work.
Yes – to be explicit, Particle does not block usage of any SIMs from any carriers.
At a conference a couple of years ago, we gave away some Particle-branded Twilio SIMs as a part of a partnership around their new Programmable Wireless product. Because we never rolled them out to production and only a small number of customers (<25) were using them, we decided to migrate those customers with Particle branded Twilio SIMs to our primary SIM platform for easier maintenance.
However, any third party SIM can be configured and used with the Particle platform, including Twilio-branded SIM cards from their Programmable Wireless service.
I am using a Twilio branded, non-Signal sims (though I was at Signal and those were awesome). Like I said from the serial logs it looks like I am getting a connection to the cell network just fine, but I can’t connect to the Particle Cloud, so I agree, my APN stuff seems correct. Any next steps for debugging appreciated!
Is anyone able to get Twilio sims to work with the Electron? I had 3 of them working fine for several months, then suddenly, they stopped. These are regular Twilio SIMS that I had ordered through Twilio.com - I did not set the APN in my app.
They are rapidly flashing cyan, then they flash one red, then back to flashing cyan.
I have tried adding the following to my code and it has not fixed the problem, I am worried that third party sims are no longer supported.
Yes, if you want to use a Twilio SIM in an Electron you need to put it in DFU mode (blinking yellow) and execute the command:
particle keys server --host id.udp.particle.io --port 5684
The reason is that there was special support for Twilio SIMs in system firmware, but the servers that support it no longer exist. Until that code is removed, the command above will revert the behavior to be a normal 3rd-party SIM on a per-device basis.
You’ll also probably need to use a 30-second keep-alive.
I wanted to follow up here because something strange has happened. I executed the command on one of my electrons and it works fine now. I have two others that have Twilio SIMs that are in delivery vans, and were on the road so I was unable to perform the same thing on them. However, a couple days ago, they have reconnected to the cloud and have been working ever since. I have not yet made any changes to them.
I will be running the command on both of them when I have them in the lot, just so they’re properly configured, but I wanted to point out that the Twilio sims are (for some reason) working fine now.