Forum Replies Created
Viewing 7 posts - 1 through 7 (of 7 total)
-
AuthorPosts
-
28 September 2022 at 13:03 in reply to: How to send more than 58bytes of data via the Ebyte E32 #23105
Hi Renzo, hope I’m not bothering you but can you provide an answer. Not a lot of great resources online.
19 September 2022 at 10:58 in reply to: How to send more than 58bytes of data via the Ebyte E32 #22992By that I mean two or more different 58byte structs.
Thanks moonman
11 September 2022 at 11:33 in reply to: How to send more than 58bytes of data via the Ebyte E32 #22842Hi renzo, is there an example on how to send two different structs?
Hi renzo, this is the code for both the reciever and transmitter can you tell me what exactly is wrong with it, I’m not sure I understood what you meant.
Transimitter – everything is based off of the sendFixedTransmissionStruct
void loop() { delay(2500); struct Message { char deviceId[5] = "TEMP"; char msgId[8] = "Kitchen"; char rawBinary[54] = "text text text text text text text text text text text"; bool end; } message; ResponseStatus rs = e32ttl.sendFixedMessage(0,3,4,&message, sizeof(Message)); Serial.println(rs.getResponseDescription()); }
Reciever
// The loop function is called in an endless loop void loop() { if (e32ttl.available() > 1){ ResponseStructContainer rsc = e32ttl.receiveMessage(sizeof(Message)); struct Message message = *(Message*) rsc.data; while (message.end != true){ Serial.println(message.deviceId); Serial.println(message.msgId); Serial.println(message.rawBinary); } // free(rsc.data); rsc.close(); } }
Thanks
Thanks renzo, is there an actual arduino sketch with this example anywhere?
Hi renzo, just a quick question – can I power the E32 1W module directly with a 1s lipo battery?
Hi Renzo, thanks for the tip I got it working now!
-
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)