comandos at sms enfora 2418 enf0000an012 - at commands over sms

7
AT Commands Over SMS Application Note ENF0000AN012 Version:2.00 03 January, 2012

Upload: john-fredy-velasquez

Post on 22-Nov-2015

26 views

Category:

Documents


1 download

TRANSCRIPT

  • AT Commands Over SMS

    Application Note

    ENF0000AN012

    Version:2.00

    03 January, 2012

  • GeneralTERMS OF USE OF NEW MATERIALS - PLEASE READ CAREFULLY

    From time to time, Enfora, in its sole discretion, may make available for download on its website(www.enfora.com), or may transmit via mail or email, updates or upgrades to, or new releases of, thefirmware, software or documentation for its products (collectively, 'New Materials'). Use of such NewMaterials is subject to the terms and conditions set forth below, and may be subject to additional termsand conditions as set forth in Enfora's Technical Support Policy (posted on its website) and/or any writtenagreement between the user and Enfora.

    All New Materials are provided AS IS. Enfora makes no warranty or representation with respect to themerchantability, suitability, functionality, accuracy or completeness of any such New Materials. The user ofsuch New Materials assumes all risk (known or unknown) of such use. Enfora reserves all rights in suchNew Materials. The user shall have only a revocable and limited license to use such New Materials inconnection with the products for which they are intended. Distribution or modification of any NewMaterials without Enfora's consent is strictly prohibited.

    IN NO EVENT WILL ENFORA BE RESPONSIBLE FOR ANY INCIDENTAL, INDIRECT, CONSEQUENTIAL ORSPECIAL DAMAGES AS A RESULT OF THE USE OF ANY NEW MATERIALS. ENFORA'S MAXIMUM LIABILITYFOR ANY CLAIM BASED ON THE NEW MATERIALS SHALL NOT EXCEED FIFTY U.S. DOLLARS ($50).

    - ii -

  • Copyright 2012 Enfora, Inc. All rights reserved. Complying with all applicable copyright laws is the responsibility ofthe user. Without limiting the rights under copyright, no part of this document may be reproduced, storedin or introduced into a retrieval system, or transmitted in any form or by any means (electronic,mechanical, photocopying, recording or otherwise), or for any purpose, without the express writtenpermission of Enfora, Inc.

    Enfora and the Enfora logo are either registered trademarks or trademarks of Enfora, Inc. in the UnitedStates.

    251 Renner Pkwy

    Richardson, TX 75080 USA

    Phone: (972) 633-4400

    Fax: (972) 633-4444

    Email: [email protected]

    www.enfora.com

    - iii -

  • Table of Contents

    1 ATCommands Over SMS i

    1.1 SMS ERROR CODE REFERENCE iii

    - iv -

  • 1 ATCommands Over SMSThis document is specific to the Enabler IIG, Enabler III-G, and Assisted GPS products only.

    Note: By default, AT commands over SMS are no longer limited to addresses in theAT$SMSDA. From factory default settings, a user must set AT$SMSDAEN=0 tocompletely disable AT commands over SMS, or populate settings in AT$SMSDA tolimit which addresses can send AT commands over SMS to a device.

    By design, whenever the modem receives an inbound SMS, GPRS will momentarily beplaced in a SUSPENDED state while the SMS message is processed. Althoughprocessing the SMS message normally takes a few seconds, if a GPRS message isgenerated by either the incoming SMS or the event engine, while GPRS is in asuspended state, there is a possibility that the GPRS message will not be sent.Integrators may choose to enable bit 6 of Parm2 to store the GPRS message until themodem comes out of the suspended GPRS state.

    A user can send AT commands to Enfora modems via SMS. The following guidelines must be followed:

    l AT commands over SMS are enabled by setting AT$SMSDAEN=1 (default).l To completely disable AT commands over SMS, set AT$SMSDAEN=0.l AT commands sent via SMS must originate from an address listed in AT$SMSDA, if there are entries

    populated in this command. If there are no entries in AT$SMSDA, and AT$SMSDAEN=1, then all ATCommands over SMS sent to the device; with the correct format and containing the correct MDMID,will be accepted.

    l An incorrectly formatted SMS message will be processed as a regular SMS message.l Not having the originating address of the SMS message listed in AT$SMSDA command will result in

    the SMS message being processed as a regular SMS message.l Query of an AT command setting that returns more than 160 bytes will result in data being truncated

    to a maximum of 160 bytes.

    - i -

  • Note: AT$RESET should be sent alone if using SMS to send the AT command to themodem. If the AT$RESET is used as the last AT command in a multiple AT-CommandSMS message, NO RESPONSE will be sent back to the sender.

    The following syntax is used:

    >RSP=[T/F];ID=[modem id];[at command]