How can we change message of SMS alarm system?

General discussion on mikroElektronika website & forums.
Post Reply
Author
Message
MaGiK
Posts: 897
Joined: 19 Apr 2013 10:00

How can we change message of SMS alarm system?

#1 Post by MaGiK » 12 Feb 2018 19:01

Hello there :D

I bought the boards of the SMS alarm system, which are (PIC Clicker, GSM board, Motion sensor ...).
I mean the system in the video linked below:
https://www.youtube.com/watch?v=lRLqiWfHqmQ

I downloaded the code, and it worked, but I cannot find a way to change the text (that is being sent in the SMS) within the code :?

Even if I changed the text in the (GSM_telit.cp) file, then the defaults will be restored as soon as I compile the new project :shock:

Thank you very much :D
Regards
My hobby is collecting MikroElektronika products.
Gotta catch them all!

crazymags
Posts: 1
Joined: 30 Jan 2018 07:11

Re: How can we change message of SMS alarm system?

#2 Post by crazymags » 15 Feb 2018 02:18

Why do you need to change it, if it properly works?

MaGiK
Posts: 897
Joined: 19 Apr 2013 10:00

Re: How can we change message of SMS alarm system?

#3 Post by MaGiK » 19 Feb 2018 17:19

Hello crazymags and welcome to the forum :D

I'm trying to change the text of the SMS since I'm using different approach (no Relay Click and no high current sounding alarm).
And I'm still not able to edit the text :(

Kindest regards :D
My hobby is collecting MikroElektronika products.
Gotta catch them all!

MaGiK
Posts: 897
Joined: 19 Apr 2013 10:00

Re: How can we change message of SMS alarm system?

#4 Post by MaGiK » 02 Mar 2018 06:52

Can anyone help me?
I really need this to work.

Thanks :D
My hobby is collecting MikroElektronika products.
Gotta catch them all!

User avatar
strahinja.jacimovic
mikroElektronika team
Posts: 200
Joined: 18 Dec 2017 18:19

Re: How can we change message of SMS alarm system?

#5 Post by strahinja.jacimovic » 02 Mar 2018 13:12

Hi,

In the main C file you can see this piece of code:

Code: Select all

// Alarm message
const char msg1[] = "Warning: Motion detected!!!";
//
Change the variable msg1 to what you wish and it will send that message.

Kind regards,
Strahinja Jacimovic

Post Reply

Return to “Website & Forums General Discussion”