Community discussions

MikroTik App
 
dirkhaex
just joined
Topic Author
Posts: 5
Joined: Tue Apr 13, 2010 9:06 pm

sending AT commands via terminal/putty

Tue Apr 13, 2010 9:10 pm

Does anyone here has a solution for sending AT commands to an SMS modem connected to COM1?

I tried to execute a batch file with the execute local command (with putty) but I can't input data from the dude into this.

Thanks
 
User avatar
gsandul
Member Candidate
Member Candidate
Posts: 154
Joined: Mon Oct 19, 2009 1:42 pm

Re: sending AT commands via terminal/putty

Thu Apr 15, 2010 11:20 am

Instead of sending AT commands you can use smsd to send SMS.
 
flyfly
just joined
Posts: 14
Joined: Tue Apr 13, 2010 2:01 pm

Re: sending AT commands via terminal/putty

Thu Apr 15, 2010 12:08 pm

i have usb gsm modem connected. on that routerboard I have routeros and the dude running.
From routeros I can send sms, but how can I send them from the dude ?
or how can the dude communicate with routeros to activate sms send command ?

tnx in advance
 
dirkhaex
just joined
Topic Author
Posts: 5
Joined: Tue Apr 13, 2010 9:06 pm

Re: sending AT commands via terminal/putty

Thu Apr 15, 2010 9:18 pm

now I want so send the oid value of our temperature sensor via sms, how can I add the OID value into the body of a mail notification?
 
User avatar
gsandul
Member Candidate
Member Candidate
Posts: 154
Joined: Mon Oct 19, 2009 1:42 pm

Re: sending AT commands via terminal/putty

Fri Apr 16, 2010 2:05 pm

dirkhaex:
now I want so send the oid value of our temperature sensor via sms, how can I add the OID value into the body of a mail notification?
Check this
http://forum.mikrotik.com/viewtopic.php?f=8&t=37432
 
dirkhaex
just joined
Topic Author
Posts: 5
Joined: Tue Apr 13, 2010 9:06 pm

Re: sending AT commands via terminal/putty

Fri Apr 16, 2010 8:39 pm

I managed to do this on the appearance of the device and that works.
But if I put the same string in the mail notification body, it just sends the oid("1.2.2....") in the mail but not the value of that oid
 
User avatar
gsandul
Member Candidate
Member Candidate
Posts: 154
Joined: Mon Oct 19, 2009 1:42 pm

Re: sending AT commands via terminal/putty

Mon Apr 19, 2010 9:51 am

But if I put the same string in the mail notification body, it just sends the oid("1.2.2....") in the mail but not the value of that oid
You do not need to put it in mail notification body.
You have to put it in probe, and when notification will be generated it will apear as [Service.ProblemDescription] variable.

Who is online

Users browsing this forum: No registered users and 8 guests