[SOLVED] Problems compiling Particle.publish() with NO_ACK on electron

Solution: It’s a known issue

I was trying to decrease data use on the electron by compiling under 0.6.0 firmware with NO_ACK flag in Particle.publish(). I was getting compile errors using Atom particle-dev and Build IDE. Turns out you can only have a MAX of 4 arguments to this function! I had to get rid of TTL if I have this:

Particle.publish(“MyMessage”, MyData, PRIVATE, NO_ACK);

Have opened an issue here: https://github.com/spark/firmware/issues/1201

3 Likes