[Solved] 433 MHz RF communication between NodeMCU and Arduino (Transmitting)

Output I'm getting on the NodeMCU is as follows:

23:31:01.616 ->  ets Jan  8 2013,rst cause:4, boot mode:(3,6)
23:31:01.616 -> 
23:31:01.616 -> wdt reset
23:31:01.616 -> load 0x4010f000, len 1384, room 16 
23:31:01.616 -> tail 8
23:31:01.616 -> chksum 0x2d
23:31:01.616 -> csum 0x2d
23:31:01.616 -> v8b899c12
23:31:01.616 -> ~ld

I have no idea what any of this means or what is wrong :confused: . Any advice would be appreciated.

rf_transmitter.ino (391 Bytes)

rf_receiver.ino (818 Bytes)

this is just a guess, but I wonder about the placement of that *:

driver.send((uint8_t *)msg, strlen(msg));

So what would I replace it with? Complete noob sorry.

I altered the receiver code and fixed the issue, although I'm getting a weird output, an output is all I need.

#include <RH_ASK.h>
#include <SPI.h> // Not actualy used but needed to compile

RH_ASK driver(2000, 4, 5, 0); //[b]The issue was this line[/b]

void setup()
{
    Serial.begin(9600); // Debugging only
    if (!driver.init())
         Serial.println("init failed");
}

void loop()
{
    uint8_t buf[12];
    uint8_t buflen = sizeof(buf);
    if (driver.recv(buf, &buflen)) // Non-blocking
    {
      int i;
      // Message with a good checksum received, dump it.
      Serial.print("Message: ");
      Serial.println((char*)buf);         
    }
}