Digi Cellular Application Note Configuring and using SMS features on Digi Connect Wan 3G



Similar documents
Digi Connect Wan 3G Application Guide Update the firmware, backup and restore the configuration of a Digi Connect Wan 3G using a USB flash drive.

Quick Note 53. Ethernet to W-WAN failover with logical Ethernet interface.

IP Address and Pre-configuration Information

Digi Connect WAN Application Helper Configuring and Testing the Digi Connect WAN GSM

June 2013 v. 0.2

D-Link DAP-1360 Repeater Mode Configuration

Cellular Gateway Programming Procedure - Updated with T-Mobile Wyless Cellular Services

Using Microsoft Expression Web to Upload Your Site

4G Business Continuity Solution. 4G WiFi M2M Router NTC-140W

Account Activation. Guide

Configuring an IP (SIP) Polycom Soundstation on the Avaya IP Office

Quick Note 038. Upgrade Software options and/or VPN Licenses on a Digi Transport router.

Lab Organizing CCENT Objectives by OSI Layer

A Beginner s guide to send data to Device Cloud from a ZigBee Network

Texas Medicaid & Healthcare Partnership (TMHP)

HIPAA Compliance Use Case

Nokia for Business. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

How to setup PPTP VPN connection with DI-804HV or DI-808HV using Windows PPTP client

Prestige 324. Prestige 324. Intelligent Broadband Sharing Gateway. Version 3.60 January 2003 Quick Start Guide

Reading an sent with Voltage Secur . Using the Voltage Secur Zero Download Messenger (ZDM)

Using Windows Task Scheduler instead of the Backup Express Scheduler

PFSENSE Load Balance with Fail Over From Version Beta3

GRS Advantage Website User Reference Guide

Technical Notes TN 1 - ETG FactoryCast Gateway TSX ETG 3021 / 3022 modules. How to Setup a GPRS Connection?

Kaseya 2. User Guide. for Network Monitor 4.1

New Help Desk Ticketing System

How to Setup PPTP VPN Between a Windows PPTP Client and the DIR-130.

Prestige 314 Read Me First

Configuring WAN Failover with a Cisco 881 Router and an AirLink ES440

Firmware version: 1.10 Issue: 7 AUTODIALER GD30.2. Instruction Manual

This document is intended to make you familiar with the ServersCheck Monitoring Appliance

Feature Matrix MOZO CLOUDBASED MOBILE DEVICE MANAGEMENT

QUICK INSTALLATION GUIDE ACTIVATE

Generating an Apple Push Notification Service Certificate for use with GO!Enterprise MDM. This guide provides information on...

Quick Note 20. Configuring a GRE tunnel over an IPSec tunnel and using BGP to propagate routing information. (GRE over IPSec with BGP)

Lab Configure Cisco IOS Firewall CBAC

Accessing Derbyshire County Council s Outlook Web Access (OWA) Service. Mobile Phone SMS version

WestermoConnect User Guide. VPNeFree Service

Basics of Port Forwarding on a Router for Security DVR s

OutDisk 4.0 FTP FTP for Users using Microsoft Windows and/or Microsoft Outlook. 5/1/ Encryptomatic LLC

IIS, FTP Server and Windows

These additional levels of security are NOT required if you are using a Derbyshire County Council machine on council premises.

Upgrade your Software

Parallels Plesk Panel

Technical Manual. (TLT-2H GPS/GSM Vehicle Tracker) V1.5

This document is intended to make you familiar with the ServersCheck Monitoring Appliance

Connect Ticket Entry. Quick Reference Guide

Chapter 7 Troubleshooting

Wireless Guest Server User Provisioning Instructions

Quick Installation Guide Network Management Card

Configuring SIP Mobility for CounterPath Bria on the NetVanta 7100 and NetVanta UC Server Systems

DocuSign Connect for Salesforce Guide

FIRST HOPE BANK BUSINESS ONLINE BANKING DIRECT CONNECT WITH QUICKBOOKS

PerleVIEW Device Management System User s Guide

Release Notes. Release Purpose... 1 Platform Compatibility... 1 Upgrading Information... 1 Browser Support... 2 Known Issues... 3 Resolved Issues...

Net2 Anywhere - Installation

Supervisor 10 Remote Access Users Guide Last Update: 10/27/14

QuickStart Guide for Mobile Device Management

Using Voltage Secur

Wealth and Investment Management Intermediaries. Online Banking. Bulk Payments User guide

Version 1.0 Revision MODBUS/TCP Ethernet Communication Interface API for the Intelligent Instrumentation WinCE Platform SETUP MANUAL

Microsoft Exchange Hosted Archive (MEHA)

Tips for getting started! with! Virtual Data Center!

You need to be assigned and logged in to the system by the Records Management Service in order to use it.

Prestige 324 Quick Start Guide. Prestige 324. Intelligent Broadband Sharing Gateway. Version V3.61(JF.0) May 2004 Quick Start Guide

QuickStart Guide for Managing Mobile Devices. Version 9.2

XCloner Official User Manual

Connecting an Android to a FortiGate with SSL VPN

QuickStart Guide for Mobile Device Management. Version 8.6

Kroger Supplier Information Management System (SIM) Training Documentation

Digi Cellular Application Guide Using Digi Surelink

Parallels Plesk Panel

ICE Futures Europe. AFTS Technical Guide for Large Position Reporting V1.0

Manual. Traffic Exchange

eprism Security Suite

Quick Note 026. Using the firewall of a Digi TransPort to redirect HTTP Traffic to a proxy server. Digi International Technical Support December 2011

How To Install The Snow Active Directory Discovery Service On Windows (Windows) (Windows 7) (Powerbook) (For Windows) (Amd64) (Apple) (Macintosh) (Netbook) And (Windows

Discovering Devices CHAPTER

Kaseya 2. Quick Start Guide. for Network Monitor 4.1

HRG Performance Series DVR DDNS Support Application Note (DynDNS)

s sent to the FaxFinder fax server must meet the following criteria to be processed for sending as a fax:

Riverbed Steelhead. Configure Hardware Client

Configuring an IPsec VPN to provide ios devices with secure, remote access to the network

AudioCodes. MP-20x Telephone Adapter. Frequently Asked Questions (FAQs)

Publishing Your Website Using MS-FTP (for Windows Users)

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

Quick Note 041. Digi TransPort to Digi TransPort VPN Tunnel using OpenSSL certificates.

Media Control Server MCS-EX Integration Guide for RTI Control Systems

XML Export Interface. IPS Light. 2 April Contact

Digi Connect WAN Application Guide Using the Digi Connect WAN and Digi Connect VPN with a Wireless Router/Access Point

P-660R-TxC Series. ADSL2+ Access Router. Quick Start Guide

DOCUMENT MANAGEMENT SYSTEM

Setting Up Sharp MX-Color Imagers To Scan To

Maintaining the Content Server

PC/POLL SYSTEMS Version 7 Polling SPS2000 Cash Register TCP/IP Communications

SonicWALL SRA Virtual Appliance Getting Started Guide

Honeywell Internet Connection Module

Virto Password Reset Web Part for SharePoint. Release Installation and User Guide

Transcription:

1. Configure a Digi Connect Wan 3G to send and receive SMS messages from CLI and Python (with an example). Objective: Configure the SMS feature of a Digi Connect Wan 3G to be able to receive SMS from the unit and send remote commands via CLI or using a Python script. 1.1 Software Requirements - Digi Device Discovery - PuTTy or any Terminal application - Python 1.2 Hardware Requirements - Digi Connect Wan 3G - SIM card with SMS capabilities 1.3 Configuration Requirements - Mobile Configuration (SIM Pin, APN) - Cellular IP network connectivity Jan 2012 v.1 Digi International 1 of 6

2. 2. Step by Step instructions 2.2.1 Enable SMS capabilities from the web interface a) Open a web browser to the web interface of your Digi device and navigate to Configuration>Mobile>Short Message Service (SMS) Settings b) To enable the SMS capabilities, check the Enable cellular Short Message Service (SMS) capabilities box c) The Send ACK reply via SMS when command is accepted will allow you to receive a confirmation SMS from the box each time you issue a command and it was successful, for example sending an SMS containing #help ping (to display help information about the command ping) from a mobile phone will result in : Jan 2012 v.1 Digi International 2 of 6

d) The Send NAK reply via SMS if password validation fails will send you an message if the password sent while issuing a command was invalid, for example set the password digi in the Global SMS command Password field and send again using a mobile phone via SMS the #help ping, this will result in : The correct command should have been: #help ping,digi e) Built-In Command Settings allows enabling/disabling certain commands to be used via short messages and set an individual password per command. f) Sender Control List Settings, if enabled allows creating a list of authorized phone number to send/receive commands from. 2.2.2 Enable SMS capabilities from the command line interface a) Using PuTTy or any other terminal application, connect via telnet to the Digi device. b) To Enable Cellular Short Message Service (SMS) capabilities send the following command : a. set smscell global state=on i. set (for setting configuration) smscell (for SMS settings) global (SMS settings are splitted in groups, Global,SCL,Python,Command) state (set the status on/off) g) To Enable the acknowledgment when a command is accepted, issue : a. set smscell global ackrcvdcmds=on h) To Enable the non-acknowledgment when a command is rejected because a required password is missing or incorrect, issue : a. set smscell global nakpswdfail=on Jan 2012 v.1 Digi International 3 of 6

2.2.3 Send an SMS using the command line interface and check received messages log a) Using PuTTy or any other terminal application, connect via telnet to the Digi device. b) In this example we will send an sms message ( Hello World! ) to phone number +49 1234567890. To do so, we use the following command : a. smscell sendmsg=491234567890, Hello World! i. smscell (sms functionality) senmsg (send message function) 4xx (phone number in format: country code (without +) and number (without leading 0), Hello World! separate phone number and message with coma and use to enclose message b. Confirmation that message is being sent, to check the sent log, use the following command : i. disp smscell sentlog disp (display functionality) smscell (smscell function) sentlog (SMS sent message log) Jan 2012 v.1 Digi International 4 of 6

c. To display the received message log, use the following command : i. disp smscell recvlog recvlog (SMS received message log) 2.2.4 Basic python script examples using SMS a) Tthe following script will request for a phone number and the message to be sent from any SMS enabled device. """\ SMS text message demo This example sends a text message to a phone from any SMS-enabled device. """ #imports import digisms addr = raw_input('enter the phone number>> ') msg = raw_input('enter the Text message>> ') if addr and msg: print "sending to: ", addr, " the message: ", msg digisms.send(addr, msg) b) Copy this sample code in a blank file and name it send_sms.py, upload it using the web interface of the device by navigating to Applications>Python and clicking on the Upload button. Jan 2012 v.1 Digi International 5 of 6

c) Connect via telnet to the Digi unit using a terminal application such as PuTTy and type the following command to run the script : a. py send_sms.py d) To verify that the message was sent, check the receive log as described in the previous section by using the following command : a. disp smscell recvlog Please see the Digi Python Wiki for more information and more detailed documentation on the available programming elements for using the SMS feature in Digi products. The Digi python programmer s guide can be found at the following url : http://www.digi.com/wiki/developer/index.php/digi_python_programmer%27s_guide Jan 2012 v.1 Digi International 6 of 6