Using esp_now for sending more than packet

Viewed 28

The esp_now can not send more than 250 bytes. I have array with size 550 how can I sent this by using esp_now ? The size of first packet should be 250, the second 250 and the size of third packet is 50.

 int8_t bs[550]={/*some int data*/};
esp_now_send(remoteMac, bs, sizeof(sensorData));

The parameters are:

  1. A pointer to a 6-byte array containing the MAC number of the receiving device
  2. A pointer to the buffer containing the message data
  3. The size of the packet to be transmitted (250 bytes maximum)
0 Answers
Related