Particle functions not working with the 0.8.0-rc.X Device OS for photon with SparkServer

Hi All,

We have a particle photon that communicates with the custom version of the spark server. After updating the photon with the latest 0.8.0-rc.4, 0.8.0-rc.5 and 0.8.0-rc.6 firmware available here the particle function does not work or sometimes the arguments received on the photon are garbled or not understandable.

Below is the serial output when particle function works on the device: �Ou}#-0+, when the arguments was on. However, on the stable release 0.7.0, the same particle function works with no issues.

Are there any changes that to particle functions on spark-protocol we need to implement? Also, we noticed on the build IDE, that there is no 0.8.0rc5/0.8.0rc6 as system firmware target, any reason for that?


I think you are running into the change in argument length for Particle publish and functions which required both a device side change and a cloud side change. See the end of this thread:

What bko said.

As for missing 0.8.0-rc.5 and 0.8.0-rc.6 in Web IDE, it’s because those two releases were manufacturing releases for the SARA-R410 LTE modem, and not intended for user firmware targets.

1 Like


Thank you for your reply @bko and @rickkas7. Could you tell us the what exactly the changes are related to the increase in argument size is in the spark protocol? I believe that changes in spark protocol where done SparkCore.js and /lib/Messages.js in the callFunction, _transformArguments and buildArguments functions.

Are there any other locations where the changes are made? If so, please let me know.

Thank you Again!