Page 2 of 5

Re: Sending Data over Cellular Networks

Posted: Thu Mar 20, 2025 10:18 pm
by viktor_au
In short, Tx as
----------------
AT+CSMS?
AT+CREG=1
AT+CSQ
AT+CMGS="0xx8x2x5xx" //insert your phone N, wait for “>”
Hello //enter any text
--------------------------------------
Press on keyboard Ctrl Z
SMS should be sent to the mobile phone

Re: Sending Data over Cellular Networks

Posted: Fri Mar 21, 2025 8:07 am
by chipfryer27
Hi Viktor

If I use a keyboard then things work as you document, but if I create a Macro which has my message and termination character, I need to use the SUB character (Hex 1A). I suspect if I use Flowcode to create predefined messages then I would need to use 1A as termination.

I haven't tested this though.

Regards

Re: Sending Data over Cellular Networks

Posted: Fri Mar 21, 2025 9:49 pm
by viktor_au
Hi.
Did you use Putty and all worked?
You can get a sms to your mobile phone?
No problems?

Re: Sending Data over Cellular Networks

Posted: Sat Mar 22, 2025 8:47 am
by chipfryer27
Hi Viktor

I'm not using PuTTY but another Terminal program. Using it I can get the module to dial out and it can send and receive SMS messages. The only issue is that I need to use Hex 1A to terminate the message string, which contradicts documentation.

I now have it communicating with ThingSpeak but there is a problem with what I'm sending as the server returns 400 or 406. Probably something silly I've overlooked (I hope).

Regards

Re: Sending Data over Cellular Networks

Posted: Sat Mar 22, 2025 10:00 pm
by viktor_au
OK

Re: Sending Data over Cellular Networks

Posted: Sat Mar 22, 2025 10:01 pm
by viktor_au
Understood. Thank you. What terminal do you use?

Re: Sending Data over Cellular Networks

Posted: Sat Mar 22, 2025 10:26 pm
by chipfryer27
Hi

Usually I use "Terminal by Br@dy" as it allows me to create Macros so I just need to press a button to send a string of characters. On another machine I have a few programs including PuTTY, so maybe I'll try with them.

Regards

Re: Sending Data over Cellular Networks

Posted: Sun Mar 23, 2025 4:59 am
by viktor_au
Thanks.
Would be great for people, who follow this project if you can share the code on Terminal v1.9b by Br@y++.
Can you share?

Re: Sending Data over Cellular Networks

Posted: Sun Mar 23, 2025 6:41 am
by chipfryer27
Hi Viktor

For making the call and sending SMS messages I have already.

I have now found some documentation on a Google search that does actually refer to Hex 1A to terminate, calling it ctrl+z / esc, but my ascii chart refers to it as Sub with Hex 1B as Esc.

I have only had to use that when terminating the actual message when sending a SMS and I am over the USB-USB connection. Not ruling out that being a contributing factor either.

I will use the Tx/Rx pins when I get a chance, for comparison.

Regards

Re: Sending Data over Cellular Networks

Posted: Sun Mar 23, 2025 7:02 am
by viktor_au
Hi
I am a bit lost.
Are you working now in FC10?