I am using FC 7.2, dsPIC33 ECIO with SIM900 module. I would like to send status and warning messages from my pool control via email, since SMS is limited to 160 characters. After I have expanded the control, I see that mail texts (body) longer than 250 characters are not sent.
With SIM900 and terminal emulator there is no problems with the text length.
Perhaps it is the same problem as it was with the UART (RS232) component.
It would be nice if someone could help me!
Kind regards
Christina
Solved! Please help, limited string length in GSM component
Moderator: Benj
Re: Please help, limited string length in GSM component
Thanks for the answer!
No, the problem occurs when sending emails. Here I use "SendCommand".
GSM1 :: SendCommand Body
GSM1 :: SendCommand ("AT + SMTPSEND")
Here only 240 bytes work, longer texts are not sent.
A shortened status report with 236 bytes works, but the complete status report currently contains 760 bytes.
Since an SMS only allows 160 bytes, there are no problems.
Christina
No, the problem occurs when sending emails. Here I use "SendCommand".
GSM1 :: SendCommand Body
GSM1 :: SendCommand ("AT + SMTPSEND")
Here only 240 bytes work, longer texts are not sent.
A shortened status report with 236 bytes works, but the complete status report currently contains 760 bytes.
Since an SMS only allows 160 bytes, there are no problems.
Christina
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: Please help, limited string length in GSM component
OK. Please try the attached replacement component. Drop it into your Flowcode components directory.
If you want to keep a backup copy of the existing GSM.fcpx, then move it to a separate directory, do not just rename it.
If you want to keep a backup copy of the existing GSM.fcpx, then move it to a separate directory, do not just rename it.
- Attachments
-
- GSM.fcpx
- (16.79 KiB) Downloaded 214 times