While issuing a minor command like toggling the on board D7 LED on particle electron, it takes 5 to 6 to trigger the LED response on Electron.
Following are the details of the set-up :
- Particle Electron is talking on 3G with average connection speed to 3Mbps
- I am running latest firmware 0.6.1 on Electron
I am using the following basic code from Particle Library :
#define BLYNK_PRINT Serial // Set serial output for debug prints
#define BLYNK_DEBUG // Uncomment this to see detailed prints
// Uncomment this, if you want to set network credentials
#include "cellular_hal.h"
STARTUP(cellular_credentials_set("XXXXXXX", "", "", NULL));
// Run "ping blynk-cloud.com", and set Blynk IP to the shown address.
#define BLYNK_IP IPAddress(XXXXXXX)
// Set Blynk hertbeat interval.
// Each heartbeat uses ~90 bytes of data.
#define BLYNK_HEARTBEAT 120
// Set Particle keep-alive ping interval.
// Each ping uses 121 bytes of data.
#define PARTICLE_KEEPALIVE 100
#include <blynk.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "XXXXXXXXXXXXXXXXXXXXXX";
void setup() {
Serial.begin(9600);
Particle.keepAlive(PARTICLE_KEEPALIVE);
Blynk.begin(auth, BLYNK_IP);
}
void loop() {
Blynk.run();
}
Just wanting to know that if this is normal ? Having a communication delay of 5 to 6 seconds for changes to reflect on hardware end or vice versa.