Particle Firmware Updates: Comments


#124

Hey @peekay123 just following up on this one… it is already noted that pinMode() should be used before calling the fast GPIO functions:
https://docs.particle.io/reference/firmware/photon/#low-level-input-output


#125

I think something has stuffed up. Tried recompiling and flashing my user code to Electron this morning and it runs with flashing magenta, sign that you have changed the default firmware on the cloud build and my local version is out of date. Inspect cloud build, no sign as to what default version is but 0.5.3 is mentioned but not as pre release. No hint in the Firmware Update thread on forum. Decided to just to a particle update in CLI and see what happens, it did update to 0.5.3 even though no mention on the forum. However compiled a test program and flashed it and nothing works, I suspect there are some links missing,
Anyone out there to help???


#126

@pNrie - did you get this resolved? If so it would be interesting to know what the resolution was. If not, can you confirm the firmware target selection for your device in the WebIDE is still set to what you had selected.


#127

Is it the intended behaviour with 0.6.1-rc.1 to get a spark/status/safe-mode event on each wake from deep sleep on Electrons?

The funny thing is, that I get the expected spark/device/last_reset power_management event in consold, but then a second or so after I get the spark/status/safe-mode event inserted below the already present spark/device/last_reset power_management line.


#128

Where can I find the description of the additional flags for System.sleep()?
Even in
https://prerelease-docs.particle.io/reference/firmware/electron/#sleep-sleep-
I can only finde SLEEP_NETWORK_STANDBY but no mention of SLEEP_MODE_SOFTPOWEROFF - and are there any more?


#129

10 posts were split to a new topic: Problems flashing system firmware to Electron


#130

Does Cloud API increase the publish length?. Since Firmware 0.8.0 onward it should be 622, but I am getting only 255 when subscribing to the events.


#131

I don’t think the change for the API has been deployed yet. Devices running 0.8.0-rc.3 and later can publish 622 characters, but publishing from the API is currently limited to 255 characters until the cloud side change is released.


#132

That’s news to me!

So I can now Particle Publish 622 bytes of data in a single publish event?


#133

Yup!

API Field Prior to 0.8.0 Since 0.8.0-rc.4 Comment
Variable Key 12 64
Variable Data 622 622
Function Key 12 64
Function Argument 63 622
Publish/Subscribe Event Name 64 64
Publish/Subscribe Event Data 255 622 Cloud API currently still limits to 255, but Device OS can publish 622. Will change Cloud API to accept 622.
Number of registered Functions or Variables limited by memory available limited by memory available

More Info