I am running an Electron with Asset Tracker Shield V2, and I seem to have some communication issues with it.
The current state is:
- I can see the device in the console, the last handshake timestamp is correct
- I can see the events sent by the device in the event logs table
however:
- none of my published functions appear
- using
particle call
on the command line gives aFunction call failed: Timed out.
- using ‘Ping’ in the console also times out
I have tried reflashing the device several times. I tested with and without a connected USB cable.
The Electron is running 0.7.0
this is my startup code.
SYSTEM_MODE(MANUAL)
void setup() {
Serial.begin(9600);
Serial.println("Beginning");
Particle.function("riding", isRiding);
Particle.function("getLocation", getCurrentLocation);
Particle.connect();
}
void loop() {
}
What’s weird is that I managed to call those functions via the particle CLI at a given point in time.