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
Sending Data over Cellular Networks
-
- Posts: 47
- http://meble-kuchenne.info.pl
- Joined: Wed Jul 12, 2023 7:09 am
- Has thanked: 7 times
- Been thanked: 12 times
-
- Valued Contributor
- Posts: 1575
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 357 times
- Been thanked: 560 times
Re: Sending Data over Cellular Networks
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
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
-
- Valued Contributor
- Posts: 1575
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 357 times
- Been thanked: 560 times
Re: Sending Data over Cellular Networks
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
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
-
- Valued Contributor
- Posts: 1575
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 357 times
- Been thanked: 560 times
Re: Sending Data over Cellular Networks
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
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
-
- Valued Contributor
- Posts: 1575
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 357 times
- Been thanked: 560 times
Re: Sending Data over Cellular Networks
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
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