-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hey, I am have been battling with this tasks for the past 2 days. Assuming the particle is listening mode, everything is operating normally...
function connect() {
var sap = new SoftAPSetup({ protocol: 'http' });
sap.deviceInfo(function(err, data) {
console.log(err) // "Failed to fetch" OR "Type error"
})
}
See, the weird thing is, the particle DOES in fact connect to the WiFi and my iPhone connects BACK to my home router (everything is good so far) BUT, for some reason it is still giving me "Failed to fetch" error. Or the "Type error". I feel like the softap-setup still thinks that I am connected to the Proton.
Do you know anything about this? Do you have any suggestions for me. Is there a way that, when I am connected back to MY router... I can recieve something like a Status: 200
from the deviceInfo function?
Metadata
Metadata
Assignees
Labels
No labels