Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: How to send more than 58bytes of data via the Ebyte E32 #23105
    moonman
    Participant

      Hi Renzo, hope I’m not bothering you but can you provide an answer. Not a lot of great resources online.

      in reply to: How to send more than 58bytes of data via the Ebyte E32 #22992
      moonman
      Participant

        By that I mean two or more different 58byte structs.

        Thanks moonman

        in reply to: How to send more than 58bytes of data via the Ebyte E32 #22842
        moonman
        Participant

          Hi renzo, is there an example on how to send two different structs?

          moonman
          Participant

            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

            moonman
            Participant

              Thanks renzo, is there an actual arduino sketch with this example anywhere?

              in reply to: Trouble with the Ebyte E32433T30D #22112
              moonman
              Participant

                Hi renzo, just a quick question – can I power the E32 1W module directly with a 1s lipo battery?

                in reply to: Trouble with the Ebyte E32433T30D #22073
                moonman
                Participant

                  Hi Renzo, thanks for the tip I got it working now!

                Viewing 7 posts - 1 through 7 (of 7 total)