Skip to content

ESP‑NOW — send text (broadcast) (esp_now_send_str)

What it does: Sends a message via ESP‑NOW to the broadcast address (ff:ff:ff:ff:ff:ff) to all available peers.

esp_now_send_str

Inputs

  • message: sent value (converted to text via str(...)).

Output

  • None (statement block).

When to use it

  • For fast routerless messages between ESP32 devices.
  • For telemetry or simple commands between nodes.

Tips and pitfalls

  • All devices must be on the same Wi‑Fi channel.
  • The block sends a broadcast, so the message will be received by all devices within range.

Generated Python example

espnow_instance.send(peer, str("Hello"))