Closed happytm closed 3 years ago
Hi happytm, I think It's possible, you can find more information about broadcast message here. https://www.mischianti.org/2021/01/28/ebyte-lora-e22-device-for-arduino-esp32-or-esp8266-library-part-2/#Fixed_transmission
To send
ResponseStatus rs = e22ttl.sendBroadcastFixedMessage(0x17, "Message to a devices of a channel");
To receive you must set broadcast address as own address
configuration.ADDL = BROADCAST_ADDRESS; configuration.ADDH = BROADCAST_ADDRESS;
Bye Renzo
Hi Renzo,
I tried using ResponseStatus rs = e22ttl.sendBroadcastFixedMessage(15, audioData); but it takes String as an input for data. I need to send uint8_t audioData[240] integer type array which gives me an error.
Thanks.
Send with structured message, you can check the tutorial of e32 that is the same thing. Bye Renzo
Thanks. I will try sending with structure.
I have been using your great library for testing range of Ebyte E22 modules and it works perfectly.
I have following sketch which send sine wave data over ESPNow wireless link and playing it on other side via headphone connected to ESP32's internal DAC. It works fine.
Now I want to send same sine wave data using E22 modules (broadcast mode) instead of ESPNow for longer range.
Is it possible ? If so can please show me example ?
My sketch is below:
Thanks.