Max pakages

Hi

I’m now sending my data to cayenne.

My question is if I need to limit my packages?

If yes, how can I limit my packet push?

I tried this;

Here is my inerpretation, but it seems to be wrong syntax:

Cayenne.virtualWrite(VIRTUAL_CHANNEL_1, packetID_i, "digital_sensor", lastMillis, "null");

This command is giving error code when compiling

Thanks for replys

M

What error are you getting? can you share it?