Get readback from lora-e5-mini serial via SoftwareSerial?

ok, i gave up troubleshooting the examplecode seeed provides here…

it halts on.

Arduino:1.8.19 (Windows Store (Windows 10), Kort:"Arduino Micro"

C:\Users\myuser\Documents\Arduino\lora-e5-at-exempelkod\lora-e5-at-exempelkod.ino: In function 'int at_send_check_response(char*, int, char*, ...)':

lora-e5-at-exempelkod:31:13: error: 'class HardwareSerial' has no member named 'printf'; did you mean 'print'?

     Serial1.printf(p_cmd, args);



lora-e5-at-exempelkod:32:12: error: 'class Serial_' has no member named 'printf'; did you mean 'print'?

     Serial.printf(p_cmd, args);



exit status 1

'class HardwareSerial' has no member named 'printf'; did you mean 'print'?

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

by removing code from the examplecode provided i successfully could transmitt data via arduino, but cannot read AT-state in serial monitor…

sprintf(cmd, "AT+MSGHEX=\"%04X%04X\"\r\n", (int)temp, (int)humi); //order to send sensordata with AT command
      int ret = at_send_check_response("+MSGHEX: Done", 8000, cmd); //Check if E5 understand the order.
      if (ret)
        Serial.println("Send ok!\r\n\r\n");
        Serial.println("Send failed!\r\n\r\n");

I always get send failed but i can see datapackage is retrived and pass through to TTN. I guess by changing
Serial1.printf(p_cmd, args);