RF Reciever & transmitter [433Mhz, 315Mhz] Library.

Thanks for the reply!

I’m sure I’m… overthinking this stuff, but I just… am so confused! lol :confused: I do understand a bunch of the commands (for the most part, at least what they do, not so much how they operate).

But in terms of the vw_send() and get messages, I don’t understand the terms they’re using to connect the two.

vw_send((uint8_t *)msg, strlen(msg));

In loop, there’s a const char *msg = “hello”; So I’m assuming that’s what’s being sent out of the transmitter. I don’t get the use of the *, but that’s for next time!
strlen(msg) Message length, I’m assuming. Not TOO confusing, but now, I don’t understand how the receiving end picks up just the message, without the noise. I figured it would be something along the lines if message == (“hello”) … (psuedocode)
But I don’t see a “hello” or anything of the sorts in receiving end.

uint8_t buf[VW_MAX_MESSAGE_LEN];
uint8_t buflen = VW_MAX_MESSAGE_LEN;
if (vw_get_message(buf, &buflen))

I just searched for uint8_t and I found (I think I read it right) that it’s equal to unsigned byte?

I understand that we’re buf and buflen integers, but I don’t get why VW_MAX_MESSAGE_LEN, and how that opens up the ability to communicate with the transmitter!

Oi, I’m sorry if this isn’t the right place… or I’m a hassle, not really sure where else to ask these kind of questions, I’ve been asking around Arduino forums some, everyone just points me to VirtualWire, just not understanding alot about how it works.

Sorry for the long post, and thanks again for taking time to even read these, probably lots of repeating myself. :smiley: