Modem AT commands

Hi, I have a LTE CAT1 PI hat (Seeed) on my Rpi and I’m trying to use node-red to configure the APN using AT commands and the UART connection.
If I send:
**msg.payload=“AT/r/n”; **
return msg;
I get “OK” from the modem, if I want to set the APN I need to send AT+UPSD=0,1,””
Can anyone tell me how I put this command into a payload?

With an inject node.

I think his/her problem is around the quotes.

Inject node set to string:

1 Like

Ah yes, sorry, I answered too quickly!

Hi all, sorted it! I needed to use single quotes
Msg.payload = ‘AT+UPSD=0,1,”” \r\n’