In device 28004e000251353337353037 complie and flash Controlling LEDs over the Internet Example. From particle command line and serial. Try to see particle list but not see led function. And https://api.particle.io/v1/devices/28004e000251353337353037?access_token=xxxxxxxx
give me {
“id”: “28004e000251353337353037”,
“name”: “rco2170”,
“last_app”: null,
“last_ip_address”: “176.83.209.131:8182”,
“last_heard”: “2016-08-01T15:07:10.981Z”,
“product_id”: 10,
“connected”: true,
“platform_id”: 10,
“cellular”: true,
“status”: “safe-mode”,
“last_iccid”: “xxxxxxxxxxxxxx”,
“imei”: “xxxxxxxxxxxx”,
“current_build_target”: “0.4.9”,
“variables”: {},
“functions”: []
}
What i do worng? Why Spark.function(“led”,ledToggle) from code not resitrated this function in Cloud?
ok i find way to working add --target 0.4.8 for compiling (but in cloud i have “current_build_target”: “0.4.9”) Flash and not status “status”: “normal”, and “functions”: [“led”] is apper. Mmmmm… look like not bug look like feature.
That’s neither a bug nor a feature.
Using incompatible code will not run but put your device into Safe Mode.
When reporting issues, giving full detail of your environment and most importantly telling the color code of the status LED will help
And looking in the docs does too