Sending Data over Cellular Networks

For general Flowcode discussion that does not belong in the other sections.
viktor_au
Posts: 47
http://meble-kuchenne.info.pl
Joined: Wed Jul 12, 2023 7:09 am
Has thanked: 7 times
Been thanked: 12 times

Re: Sending Data over Cellular Networks

Post 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

chipfryer27
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

Post 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

viktor_au
Posts: 47
Joined: Wed Jul 12, 2023 7:09 am
Has thanked: 7 times
Been thanked: 12 times

Re: Sending Data over Cellular Networks

Post by viktor_au »

Hi.
Did you use Putty and all worked?
You can get a sms to your mobile phone?
No problems?

chipfryer27
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

Post 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

viktor_au
Posts: 47
Joined: Wed Jul 12, 2023 7:09 am
Has thanked: 7 times
Been thanked: 12 times

Re: Sending Data over Cellular Networks

Post by viktor_au »

OK
Last edited by viktor_au on Sat Mar 22, 2025 10:01 pm, edited 1 time in total.

viktor_au
Posts: 47
Joined: Wed Jul 12, 2023 7:09 am
Has thanked: 7 times
Been thanked: 12 times

Re: Sending Data over Cellular Networks

Post by viktor_au »

Understood. Thank you. What terminal do you use?

chipfryer27
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

Post 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

viktor_au
Posts: 47
Joined: Wed Jul 12, 2023 7:09 am
Has thanked: 7 times
Been thanked: 12 times

Re: Sending Data over Cellular Networks

Post 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?

chipfryer27
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

Post 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

viktor_au
Posts: 47
Joined: Wed Jul 12, 2023 7:09 am
Has thanked: 7 times
Been thanked: 12 times

Re: Sending Data over Cellular Networks

Post by viktor_au »

Hi
I am a bit lost.
Are you working now in FC10?

Post Reply