SMS abstraction
-
ans=lte.send_at_cmd('AT+SQNSMSSEND="61410123456", "some text"').split('\r\n'); print(ans)
works great but
number="61410123456" ans=lte.send_at_cmd('AT+SQNSMSSEND=number, "some text"').split('\r\n'); print(ans)
gives an error. Does anybody know how to do abstraction inside an at command?
-
Nice one Rob, tnx
-
@kjm said in SMS abstraction:
try:number='61410123456' ans=lte.send_at_cmd('AT+SQNSMSSEND="' + number + '", "some text"').split('\r\n'); print(ans)