I would like to publish 100
uint16_t values at once. I would like to publish them as binary value since then they fit into the 255 bytes of the data field:
optional data (up to 255 bytes)
Particle.publish(const char *eventName, const char *data) only takes an ´const char *´ and no length and uses internally
strlen() to calculate the length of the data which prevents sending binary data.
So the only way I found is encoding the binary data with a Base64 so I can send it as a string, but Base64 adds 33% overhead and with this my 100
uint16_t do not fit one publish anymore.
Is there another way to publish binary data without the overhead of an encoding?