Telit Communications S p A BG864 Gateway Bluetooth – 802.15.4 User Manual SWS Gateway Product Description rev0

Telit Communications S.p.A. Gateway Bluetooth – 802.15.4 SWS Gateway Product Description rev0

Contents

User Manual

Download: Telit Communications S p A BG864 Gateway Bluetooth – 802.15.4 User Manual SWS Gateway Product Description rev0
Mirror Download [FCC.gov]Telit Communications S p A BG864 Gateway Bluetooth – 802.15.4 User Manual SWS Gateway Product Description rev0
Document ID1688946
Application IDf7cFKFad5ia67j8IaHJRUw==
Document DescriptionUser Manual
Short Term ConfidentialNo
Permanent ConfidentialNo
SupercedeNo
Document TypeUser Manual
Display FormatAdobe Acrobat PDF - pdf
Filesize93.08kB (1163486 bits)
Date Submitted2012-05-03 00:00:00
Date Available2012-10-30 00:00:00
Creation Date2011-05-11 17:47:21
Producing SoftwareGPL Ghostscript 8.70
Document Lastmod2011-05-11 17:47:21
Document TitleSWS_Gateway_Product_Description_rev0
Document CreatorPDFCreator Version 1.0.2
Document Author: EmiliaIb

SWS_Gateway Product Description
Rev. 0 – 2011/02/20
Contents
Overview....................................................................................................................................... 5
1.1
Reference .................................................................................................................................................5
1.2
General System Architecture ................................................................................................................5
Configuration 1 (BG864-2.4) ....................................................................................................... 6
2.1
Main Building Blocks .............................................................................................................................6
2.2
Main Building Blocks features ..............................................................................................................7
2.3
Physical Characteristics .........................................................................................................................9
2.3.1
2.3.2
2.4
Dimensions .......................................................................................................................................................... 9
Environmental Characteristics ............................................................................................................................. 9
Interface Description ..............................................................................................................................9
2.4.1 Overview.............................................................................................................................................................. 9
2.4.2 Supply Voltage .................................................................................................................................................. 10
2.4.3 Battery source .................................................................................................................................................... 10
2.4.4 Switching the BG864-2.4 ON and OFF ............................................................................................................. 11
2.4.4.1
Switching ON Procedure ........................................................................................................................... 11
2.4.4.2
Switching OFF .......................................................................................................................................... 11
2.4.5 Antenna .............................................................................................................................................................. 12
2.4.5.1
Bluetooth Antenna specifications.............................................................................................................. 12
2.4.5.2
Short Range Antenna Specifications ......................................................................................................... 12
2.4.6 Serial Port .......................................................................................................................................................... 12
2.4.6.1
RS232 standard interface connector .......................................................................................................... 13
2.4.7 Mini USB type connector .................................................................................................................................. 13
2.4.8 LEDindicators .................................................................................................................................................... 14
2.4.8.1
Bluetooth LED indicator ........................................................................................................................... 14
2.4.9 Push Button ........................................................................................................................................................ 15
Configuration 2 (GG864-2.4) ..................................................................................................... 16
3.1
Main Building Blocks ...........................................................................................................................16
3.2
Main Building Blocks features ............................................................................................................17
3.3
Physical Characteristics .......................................................................................................................18
3.3.1
3.4
Dimensions ........................................................................................................................................................ 18
Interface Description ............................................................................................................................19
3.4.1 Power connector ................................................................................................................................................ 19
3.4.2 Supply Voltage .................................................................................................................................................. 19
3.4.3 Battery source .................................................................................................................................................... 19
3.4.4 Switching the GG864-2.4 ON and OFF ............................................................................................................. 20
3.4.4.1
Switching ON ............................................................................................................................................ 20
3.4.4.2
Switching OFF .......................................................................................................................................... 20
3.4.5 Antenna .............................................................................................................................................................. 20
3.4.5.1
Antenna Output ......................................................................................................................................... 20
3.4.5.2
Antenna Connectors .................................................................................................................................. 20
3.4.5.3
GSM Antenna Requirements .................................................................................................................... 20
3.4.5.4
Short Range Antenna Requirements ......................................................................................................... 21
3.4.6 Serial Port .......................................................................................................................................................... 21
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 2 of 73
3.4.6.1
RS232 standard interface connector .......................................................................................................... 21
3.4.7 Mini USB type connector .................................................................................................................................. 22
3.4.8 LED indicators ................................................................................................................................................... 22
3.4.8.1
GSM LED indicator .................................................................................................................................. 23
3.4.8.2
ARM LED indicator .................................................................................................................................. 23
3.4.8.3
Short Range LED indicator ....................................................................................................................... 24
3.4.9 Push Buttons ...................................................................................................................................................... 24
SW Specification ........................................................................................................................ 25
4.1.1 SW architecture .................................................................................................................................................. 25
4.1.1.1
SWS Gateway Application (Configuration 1 –no GSM) .......................................................................... 26
4.1.1.2
SWS Gateway Application (Configuration 2 – GSM) .............................................................................. 27
4.2
Host/gateway serial protocol................................................................................................................29
4.2.1.1
4.2.1.2
4.3
Data-mode ................................................................................................................................................. 29
Command-mode ........................................................................................................................................ 30
Control Interface ..................................................................................................................................30
4.3.1 Stuff algorithm ................................................................................................................................................... 30
4.3.2 Message protocol ............................................................................................................................................... 31
4.3.3 Command and Response messages .................................................................................................................... 32
4.3.4 Commands/response description........................................................................................................................ 35
4.3.4.1
Set Date/Time ........................................................................................................................................... 35
4.3.4.2
Get Date/Time ........................................................................................................................................... 35
4.3.4.3
Get Serial Number..................................................................................................................................... 36
4.3.4.4
Set GW SR parameters.............................................................................................................................. 36
4.3.4.5
Set DXT SR parameters ............................................................................................................................ 37
4.3.4.6
Set Gateway mode..................................................................................................................................... 38
4.3.4.7
Set GSM parameters ................................................................................................................................. 39
4.3.4.8
Set BT parameters ..................................................................................................................................... 40
4.3.4.9
Get Battery level ....................................................................................................................................... 40
4.3.4.10 Get HW/SW version ................................................................................................................................. 41
4.3.4.11 Get GSM parameters ................................................................................................................................. 41
4.3.4.12 Get GW SR parameters ............................................................................................................................. 42
4.3.4.13 Get DXT SR parameters ........................................................................................................................... 42
4.3.4.14 Scan for DXT ............................................................................................................................................ 43
4.3.4.15 Set Auto DXT Data ................................................................................................................................... 44
4.3.4.16 Get Status .................................................................................................................................................. 45
4.3.4.17 Set data mode ............................................................................................................................................ 46
4.3.4.18 SET Escape sequence from data mode ..................................................................................................... 46
4.3.4.19 Get DXT Data ........................................................................................................................................... 47
4.3.4.20 Add DXT list ............................................................................................................................................. 49
4.3.4.21 Get DXT list .............................................................................................................................................. 49
4.3.4.22 Remove DXT list ...................................................................................................................................... 50
4.3.4.23 Disable SIM PIN ....................................................................................................................................... 50
4.3.4.24 Turn Off SR .............................................................................................................................................. 51
4.3.4.25 Reboot ....................................................................................................................................................... 51
4.3.4.26 Standby ..................................................................................................................................................... 52
4.3.4.27 Deep Sleep ................................................................................................................................................ 52
4.3.4.28 Turn off ..................................................................................................................................................... 52
4.3.4.29 Reset .......................................................................................................................................................... 53
4.3.4.30 Get Auto DXT Data .................................................................................................................................. 53
4.3.4.31 Get Log File .............................................................................................................................................. 54
4.3.4.32 Get BT parameters .................................................................................................................................... 55
4.3.4.33 Scan for BT devices .................................................................................................................................. 56
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 3 of 73
4.3.4.34
4.3.4.35
4.3.4.36
4.3.4.37
4.3.4.38
4.3.4.39
4.3.4.40
4.3.4.41
4.3.4.42
4.3.4.43
4.4
AT command console (C2) ...................................................................................................................62
Appendix: configuration 1 (BT) ................................................................................................. 63
5.1
Add BT host .............................................................................................................................................. 56
Reset BT host ............................................................................................................................................ 57
Set GPRS host parameters ........................................................................................................................ 57
Set FTP parameters ................................................................................................................................... 58
Set Wakeup parameters ............................................................................................................................. 58
Get GPRS host parameters ........................................................................................................................ 59
Get FTP parameters................................................................................................................................... 60
Get Wakeup parameters ............................................................................................................................ 60
Flash SR .................................................................................................................................................... 61
Get Battery voltage ................................................................................................................................... 61
BT pairing using Windows Mobile .....................................................................................................64
Appendix: configuration 2 (GSM) - controlled and autonomous modes.................................... 67
6.1
Controlled mode ...................................................................................................................................67
6.2
Autonomous mode ................................................................................................................................69
Conformity Assessment Issues ................................................................................................... 71
Document Change Log .............................................................................................................. 73
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 4 of 73
1 Overview
Scope of the document is detail technical specification, HW and SW for the 2 gateways BG864-2.4
and GG864-2.4.
1.1 Reference
Universal Gateway Specification v2B (Schlumberger Water Services- Divers Long range RF
architecture)
[2] Telit.ppt
[3] ZE60 Software interface specification
[4] cr 280912.pdf (meeting report 28/09/2009)
[5] cr 151209.pdf( meeting report 15/12/2009)
[6] protocol ideas.pdf
[1]
1.2 General System Architecture
The proposed product satisfy the topology scenarios 1 and 2 as specified in [1]
Figure 1 Topology Scenarios
Telit provides the gateway in two different configurations
2 Configuration 1 (BG864-2.4)
Li-Ion
Batt.
Battery
Charger
Battery
Monitor
SPI BT
CONNECT.
LED 3
1.8V
3.1V
#5 GPIO
3.1V
MEMORY
5.0V
ZB Int.
Antenna
BT
RTC
Mini-USB
Type B
BT Int.
Antenna
SPI
AP DATA
1.8V 3.1V
ZE60
UART
#4 GPIO
LED 2
USB
device
UART
#6 GPIO
ON/OFF
button
LED 1
3.1V 1.8V
3.8V
ARM9
Power
Supply
Config. 1
LED 4
JTAG
RESET
button
JTAG
UART
RS232
TRANSC.
Figure 2 Configuration 1 Block Diagram
2.1 Main Building Blocks
•
•
•
•
•
ARM9 ATMEL AT91SAM9260
Memories (Flash and RAM)
ZE60 (w/o internal antenna)
BT chip CSR BC63B239A04-IQD-E4
External connectors for:
o Mini-USB device
o RS232
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 6 of 73
o Switch-slide Power-Supply
Internal antennas for:
o BT
o ZE60
Rechargeable Li-Ion battery
o continuos charging application will be allowedthe battery charging will be stopped
when battery is completely charged.
Status Leds for:
o BT
o ZE60
o Charger
o ARM
Box
Power supply: external 4.5÷5.5V from mini-USB connector or 3.4÷4.2V from Li-Ion battery
Reset button
Operational Temperature: [-20°C +60°C]
Storage Temperature: [-40°C- +85°C]
•
•
•
•
•
•
•
•
2.2 Main Building Blocks features
• ARM9 ATMEL AT91SAM9260
Based on the ARM926EJ-S™ ARM® Thumb® Processor
o 8-KByte Data Cache, 8-KByte Instruction Cache, Write Buffer
o 200 MIPS at 180 MHz
o Memory Management Unit
o EmbeddedICE™, Debug Communication Channel Support
o External Bus Interface (EBI)
o USB 2.0 Full Speed (12 Mbits per second) Device Port
o USB 2.0 Full Speed (12 Mbits per second) Host Single Port in the 208-lead PQFP
o Ethernet MAC 10/100 Base T
o Fully-featured System Controller, including
o Reset Controller, Shutdown Controller
o Four 32-bit Battery Backup Registers for a Total of 16 Bytes
o Clock Generator and Power Management Controller
o Advanced Interrupt Controller and Debug Unit
o Periodic Interval Timer, Watchdog Timer and Real-time Timer
o Reset Controller (RSTC)
o Clock Generator (CKGR)
o Selectable 32,768 Hz Low-power Oscillator or Internal Low Power RC Oscillator on
o Battery Backup Power Supply, Providing a Permanent Slow Clock
o Power Management Controller (PMC)
•
Memories (Flash and RAM)
COMBO NAND SDRAM 128 MB FLASH/64 MB RAM
Memory will be shared for:
o Code
o Data
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 7 of 73
o
•
•
Logging files (no dedicated memory will be provide for logging applications)
ZE60
Frequency band: 2400 - 2483.5 MHz
Power Supply:+2.4V-+3.6V
Output Power: 19dBm ± 1 dB on the whole band (selectable by software for compliance)
Consumption typ@3.6V :
Transmission :125mA
Reception : 35mA
Stand-by (32.768 khz On) : 2µA
Sleep (wake up on interruption): 1µA
Channel spacing: 5 MHz
Channel number : 16 , Channel 11 (2405MHz) → Channel 26 (2480MHz)
Technology : DSSS
Modulation: O-QPSK with half sine pulse shaping
Radio bit rate: 250 kbps
Sensitivity for PER(1%): -98dBm typ
Serial link:
Full Duplex, from 1200 to 115200 bps
7 or 8 bits, with or without parity, 1 or 2 stop bits
Protocol Type: RS-232, TTL level
Temperature: - 40+ 85°C
Relative humidity @ 25°C: 20-75%
Size: Rectangular 26 x 15 mm
Height: 3 mm
Weight: 1,7 g
PCB thickness: 0.8 mm
Components: All SMD components, on one side of the PCB.
Mounting: SMD, Half moons on the 4 external sides
Number of I/O pins: 30
Bluetooth
Fully qualified Bluetooth® v2.1 + EDR Specification
Piconet and scatternet support
Minimum external components
Low-power 1.5V operation, 1.8V to 3.6V I/O
Integrated 1.8V and 1.5V regulators
UART to 4Mbaud
SDIO (Bluetooth Type A)/CSPI interface
Deep sleep SDIO operation
40-lead 6 x 6 x 0.9mm 0.5mm pitch QFN
Support for IEEE 802.11 coexistence
Green ( RoHS and no antimony or halogenated
o flame retardants)
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 8 of 73
2.3 Physical Characteristics
2.3.1Dimensions
The Telit BG864-2.4 dimensions are:
•
Length: 136 mm
•
Width: 57.6 mm
•
Thickness: 29.5 mm
Figure 3 - SWS-GW layout and dimensions
2.3.2Environmental Characteristics
•
Operational Temperature: -20°C +60°C
•
Storage Temperature: -40°C +85°C
2.4 Interface Description
2.4.1Overview
BG864-2.4 provides the following interface connectors:
•
RS232 serial interface
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 9 of 73
•
Mini-USB interface
•
ON/OFF Switch Slide
Furthermore, there are four led indicators (ARM, Bluetooth, Battery Charger and SR status) and one
push button (RESET).
Figure 4 – Interface overview
2.4.2Supply Voltage
The BG864-2.4 can be supplied by an internal rechargeable Li-Ion battery or directly by the MINI-USB
port.
Power supply input is described in the following subsection and must fulfil the following requirements:
Li-Ion Batt. Supply Voltage Range
Mini USB Supply Voltage Range
3.4÷4.2V
4.5÷5.5V
Table 1 – Supply Voltage
Danger – Operating voltage range must never be exceeded; care must be taken
in order to fulfill Min/Max voltage requirements.
2.4.3Battery source
Power is supplied by an internal rechargeable Li-Ion battery.
Battery voltage range is 3.4 ÷ 4.2V.
If the Gateway is connected via the Mini-USB to an external PC (or power supply) then the battery will
be automatically recharged by means of integrated battery charger circuitry.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 10 of 73
The battery capacity should be sized on the customer’s application and battery life requirements.
Warning – Do not charge the Li-Ion battery out of temperature range of
0÷45°C .
Battery connector must be Molex 87439-0200 or compatible.
2.4.4Switching the BG864-2.4 ON and OFF
The switch on/off slide button is used to turn ON or OFF the gateway.
2.4.4.1Switching ON Procedure
The BG864-2.4 switches on when slide switch is moved on the left.
BG864-2.4 operating system is operational after about 20 seconds from the power-on.
2.4.4.2Switching OFF
The BG864-2.4 switches off when slide switch is moved on the right.
The BG864-2.4 can be switched off either by disconnecting the power supply from the MINI-USB port
and the battery or by software command.
It is suitable a software switch-off command before disconnect the power supply.
Note- When the slide switch is in OFF position and the battery is
connected, battery charge continues to function if BG864-2.4 is connect to
an external supply from the MINI-USB port
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 11 of 73
2.4.5Antenna
In BG864-2.4 there are two internal antennas, one for Bluetooth and one for the Short Range
technology.
2.4.5.1Bluetooth Antenna specifications
The Bluetooth antenna for BG864-2.4 has the following specifications:
Frequency Range
Bandwidth
Peak Gain
Average Gain
Impedance
Peak Efficiency
Average Efficiency
VSWR
Bluetooth ANTENNA SPECIFICATIONS
2.4 GHz
2.4 – 2.5 GHz
2.2 dBi
1.9 dBi
50 ohm
74%
72%
< 2:1
Table 2 – Bluetooth Antenna specifications
2.4.5.2Short Range Antenna Specifications
The short range antenna for BG864-2.4 has the following specifications:
Short Range ANTENNA SPECIFICATIONS
Frequency Range
Bandwidth
Peak Gain
Average Gain
Impedance
Peak Efficiency
Average Efficiency
VSWR
2.4 GHz
2.4 – 2.5 GHz
2.2 dBi
1.9 dBi
50 ohm
74%
72%
< 2:1
Table 3 – Short Range Antenna specifications
2.4.6Serial Port
The RS232 standard interface serves to connect a PC, Data Terminal Equipment (DTE) or an
application, wich acts as host controller for the BG864-2.4 with all its functions.
Serial port connects directly the host controller with the UART-Debug of the ARM chip inside BG8642.4.
RS232 level translator is present on board.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 12 of 73
2.4.6.1RS232 standard interface connector
The connector mounted in the BG864-2.4 is a standard RS232 Sub-D 9pin female with the following
characteristics:
Baud rate from 300 to 115.200 bit/s
Autobauding (300 to 38.400 bit/s)
Pin-out (refers to DTE side):
PIN
Signal
RXD
TXD
GND
Description
NC
RX Output
TX Input
NC
GROUND
NC
NC
NC
NC
(FRONT VIEW)
Table 3 – serial port pin-out
To connect to a host controller, a pin-to-pin 9pin cable with D9 type connectors on both sides is
needed (1 male & 1 female). Shielding of this cable is recommended and its length shall not exceed
3 m.
2.4.7Mini USB type connector
Pin-out of Mini-USB connector is shown in the following table:
PIN
Signal
USBCNX /
Charger Power Supply
DDM
DDP
GND
Table 4 – Mini USB pin-out
Figure 5 - Mini-USB connector front view
2.4.8LEDindicators
The BG864-2.4 has four led indicators:
1. Bluetooth status,
2. ARM status,
3. SR status
4. charger status.
Figure 6 - LED indicators
2.4.8.1Bluetooth LED indicator
The follow table shows information on the status of the four led indicators:
LED ID
SR
ARM
BT
BATT. CHARG.
LED STATUS
Permanently OFF
Blinking
Permanently ON
Permanently OFF
Blinking
Permanently ON
Permanently OFF
Blinking
Permanently ON
DEVICE STATUS
OFF
Comm. Session
Wake-up Session
OFF/Stand-by
Operating
Boot State
OFF
Connected
Network Scan
Permanently ON
Battery charging
Permanently OFF
Charge Complete
TABLE 5 – LED indicators
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 14 of 73
2.4.9Push Button
In the surface of the BG864-2.4 box there is one hole to allowing with a sharp object to push the
reset button inside.
Reset Button is connected to the reset signal of the ARM processor. Pushing this button force the
reset and make the BOOT of the processor.
Figure 7 - Push Buttons
Note- The second hole near reset button’s hole is unused
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 15 of 73
3 Configuration 2 (GG864-2.4)
1.8V
3.1V
MEMORY
ZB Ext.
Antenna
RF
RTC
AP DATA
ZE60
1.8V 3.1V
Mini-USB
Type B
LED 2
USB
device
UART
#6 GPIO
L.R. Ext.
Antenna
5 - 15V
3.8V
5.0V_B
LED 1
3.1V 1.8V
3.8V
ARM9
Power
Supply
No-Recharg.
Batt.
5.0V_B
#3 GPIO
RF
UART
USB host
GC/UC
864
3.1V
SIM CARD
#3 GPIO
#3 GPIO
PIC
LED 4
JTAG
RESET
button
JTAG
UART
RS232
TRANSC.
WAKEUP
button
Config. 2
Figure 8 Configuration 2 Block Diagram
3.1 Main Building Blocks
•
•
•
•
•
•
ARM9 ATMEL AT91SAM9260
Memories (Flash and RAM)
ZE60
GSM module Unified FF (GC864)
SMA connectors for External antennas:
GSM
ZE60
external I/F connectors
Power supply
RS232
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 16 of 73
•
•
•
•
•
•
SIM card holder
Mini-USB
Status leds for:
o GSM
o ZE60
o ARM
Box
Reset button and Wake-Up button
Power supply voltage 5-15V
Operational Temperature: [-20°C +70°C]
Storage Temperature: [-40°C- +80°C]
3.2 Main Building Blocks features
•
GC864 GSM module
o Quad-band EGSM 850/900/1800/1900 MHz
o Control via AT commands according to GSM 07.05, 07.07 and Telit enhancements
o Serial Port multiplexer GSM 7.10
o SIMM access profile
o TCP/IP stack access via AT commands
o Supply voltage range: 3.22-4.5V DC
o Dimensions: 30x36.2x3.2 mm
o Weight: 6.1 grams
o RoHS compliant
o Extended temperature range
- -40°C to 85°C (operational)
- -40°C to 85°C (storage)
o Sensitivity:
- -107 dBm (typ.) @ 850/900 MHz
- -106 dBm (typ.) @ 1800/1900 MHz
o Power consumption (typ.)
- Power off: <26 uA
- Idle(registered, power saving): 2.6 mA
- Dedicated mode: 200 mA
- GPRS cl.10: 370 mA
o Output power
- Class 4 [2W] @ 850/900 MHz
- Class 1 [1W] @ 1800/1900 MHz
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 17 of 73
3.3 Physical Characteristics
3.3.1Dimensions
The Telit GG864-2.4 dimensions are:
•
Housing Length: 136 mm
•
Overall Length: 136 mm
•
Width: 57,6 mm
•
Thickness: 29,5 mm
Figure 9 - SWS-GW layout and dimensions
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 18 of 73
3.4 Interface Description
3.4.1Power connector
The power connector on the left side of the terminal is a Molex 2-pins connector (part no.: 430450210).
Pin description:
•
GND = Ground reference
•
Input Power = 5 - 15 VDC
Warning - Power Cable connecting the the power source to the Gateway shall
not exceed 3 meters lenght
3.4.2Supply Voltage
The external power supply must be connected to power supply input as described in the following
subsection and must fulfil the following requirements:
Nominal Supply Voltage
Min Supply Voltage
Max supply Voltage
12 volts
5 volts
15 volts
Table 5 – Supply Voltage
Danger – Operating voltage range must never be exceeded; care must be taken
in order to fulfill Min/Max voltage requirements.
3.4.3Battery source
The external power supply could be sourced by an external no rechargeable battery.
Battery voltage range is 5 – 15V.
The battery capacity should be dimensioned on the customer’s application and battery life
requirements.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 19 of 73
3.4.4Switching the GG864-2.4 ON and OFF
3.4.4.1Switching ON
The GG864-2.4 switches on automatically each time the power supply is connected the first time or reconnected.
Note- When the power supply cable is disconnected, it is recommended to
wait approximately 5 seconds before applying the power again.
3.4.4.2Switching OFF
The GG864-2.4 can be switched off either by disconnecting the power supply or by software
command.
It is suitable a software switch-off command before disconnect the power supply cable.
Warning – Please note that hardware power off should be done only after
a proper GSM logoff. Any GSM device is request to issue a “detach”
request at turning off.
3.4.5Antenna
3.4.5.1Antenna Output
Warning – BEFORE connecting the GG864-2.4 to a power supply source, suitable
antennas shall be connected and properly installed.
The antenna has to be installed with care to avoid any interference with other electronic devices
and has to guarantee a minimum distance from the body (20 cm). in case this requirement cannot
be satisfied, the system integrator has to assess the final product against the SAR regulation.
For a good efficiency of the antenna and a minimum interference with other electronic systems, a
space of min. 40 cm around the radiating part should be left free of electrically conducting materials.
The less distance and the fewer obstacles between the SWS-GW antenna and the antenna of the
GSM/GPRS network base station, the less power is radiated by the gateway and the better signal
quality is achieved.
3.4.5.2Antenna Connectors
The GG864-2.4 includes two SMA bulkhead female, class 4 (2W) co-axial connectors for the two
external antennas.
3.4.5.3GSM Antenna Requirements
The GSM antenna for GG864-2.4 device shall fulfill the following requirements:
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 20 of 73
GSM ANTENNA REQUIREMENTS
Standard Dual Band GSM/DCS frequency
Frequency Range
range or Standard Quad Band GSM/DCS/OCS
frequency range if used for all four bands
70 MHz in GSM850, 80 MHz in GSM &
Bandwidth
170MHz in DCS & 140 MHz PCS band
Gain
< 3 dBi
Impedance
50 ohm
Input power
> 2 W peak power
VSWR absolute max
<= 10:1
VSWR recommended
<= 2:1
Table 6 – GSM Antenna requirements
3.4.5.4Short Range Antenna Requirements
The short range antenna for GG864-2.4device shall fulfill the following requirements:
Short Range ANTENNA REQUIREMENTS
Frequency Range
2.4 GHz
Bandwidth
2.30 – 2.50 GHz
Gain
< 4 dBi
Impedance
50 ohm
VSWR recommended
<= 1.5:1
Table 7 – Short Range Antenna requirements
3.4.6Serial Port
The RS232 standard interface serves to connect a PC, Data Terminal Equipment (DTE) or an
application, witch acts as host controller of the SWS-GW with all its functions.
Serial port connects directly the host controller with the UART-Debug of the ARM chip of SWS-GW.
RS232 level translator is present on board.
3.4.6.1RS232 standard interface connector
The connector mounted in the SWS-GW is a standard RS232 Sub-D 9pin female with these
characteristics:
Pin-out (refers to DTE side):
PIN
Signal
RXD
TXD
GND
Baud rate from 300 to 115.200 bit/s
Autobauding (300 to 38.400 bit/s)
Description
NC
RX Output
TX Input
NC
GROUND
NC
NC
NC
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 21 of 73
9
NC
Table 8 – serial port pin-out
(FRONT VIEW)
To connect to a host controller, a pin-to-pin 9pin cable with D9 type connectors on both sides is
needed (1 male & 1 female). Shielding of this cable is recommended and its length shall not exceed
3 m.
3.4.7Mini USB type connector
Pin-out of Mini-USB connector is shown in the following table:
PIN
Signal
USBCNX
DDM
DDP
GND
Table 9 – Mini USB pin-out
Figure 10 - Mini-USB connector front view
3.4.8LED indicators
The GG864-2.4 has three led indicators:
1. GSM status
2. ARM status
3. SR status (fourth led indicator is not connected in this configuration).
Figure 11 - LED indicators
3.4.8.1GSM LED indicator
The red LED shows information on the network service availability and call status.
LED STATUS
DEVICE STATUS
permanently on
a call is active
fast interrupt sequence
(period 0,5s, Ton 1s)
Net search / Not
registered / turning off
slow interrupt sequence
(period 0,3s, Ton 3s)
Registered full service
permanently off
device off
TABLE 10 – GSM LED indicator
3.4.8.2ARM LED indicator
The red LED shows information on the ARM status:
LED STATUS
Permanently OFF
DEVICE STATUS
OFF/Stand-by
Blinking
Operating
Permanently ON
Boot State
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 23 of 73
TABLE 11 – ARM LED indicator
3.4.8.3Short Range LED indicator
The red LED shows information on the network service availability and call status.
LED STATUS
DEVICE STATUS
Permanently OFF
Blinking
OFF
Comm. Session
Permanently ON
Wake-up Session
TABLE 12 – SR LED indicator
3.4.9Push Buttons
In the box of GG864-2.4 there are two holes to push with a sharp object the two buttons inside:
• Reset Button: is connected to the reset signal of the ARM processor. Pushing this button
force the reset and make the BOOT of the processor.
• Wake-Up Button: is connected to the wake-up signals of the ARM processor. Pushing this
button wake-up the processor from a power mode state.
Figure 12 - Push Buttons
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 24 of 73
4 SW Specification
4.1.1SW architecture
In the following picture is depicted SW architecture of Gateway in both configuration1 (BG864-2.4) and
configuration 2 (GG864-2.4).
Telit provides Linux Operating system with all low level drivers needed in the SWS gateway:
• GPIO
• Serial
• USB device
And provides access for the main peripheral:
• Bluetooth
It is provided all sw to initialize and setup Bluetooth communication and access to the Bluetooth
interface as a serial port where it is possible to send and receive data (SPP profile).
• GSM/GPRS
Communication with GSM/GPRS is provided through the serial port where it is possible send and
receive data.
• USB
• ZE60
And to manage power modes.
SWS Gateway application is a customization of Gateway application with the scope of export the
serial protocol Interface to communicate with the external host.
It:
• Manages the gateway
• Route messages between peripherals
• Wake up and power up the peripherals at preprogrammed intervals
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 25 of 73
Figure 13 Gateway SW architecture
For detailed specification of the communication protocol see next paragraphs.
4.1.1.1SWS Gateway Application (Configuration 1 –no GSM)
In this configuration two operating modes are possible:
1. Autonomous gateway
In this mode gateway is in standalone mode, without any external devices connected to it and
communicates only via radio with DXT in the SR network, collecting data sent by each DXT in
a log file stored in flash.
Upload of log data files will be possible through specific command on serial protocol to retrieve
the file (see Get Log file).
Format of log files, naming convention and upload process have to be agreed with Alciom.
2. Slave mode
In slave mode, gateway is connected to other device that acts as a master and controls the
operations of the gateway.
Other devices can be:
• Fixed PC by USB connection
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 26 of 73
•
Mobile devices, as PDA, phone, field equipment, through Bluetooth connection or RS232
serial connection.
In slave mode gateway supports communication protocol between host and gateway that has to
be the same through all the interfaces:
• USB
• RS232
• Bluetooth
• GSM/GPRS* (by socket connection- see sws gateway application conf 2)
As all the interfaces can be seen as serial interfaces a serial protocol will be developed. All the
interfaces will be available at the same time but communication will be with one of them at a time.
A specific command will be developed to set the communication mode and to switch to another
(see Set Gateway Mode command).
4.1.1.2SWS Gateway Application (Configuration 2 – GSM)
In this configuration two operating modes are possible:
1. Autonomous gateway(
In this mode gateway is in standalone mode, without any external devices connected to it and
communicates only via radio with DXT in the SR network, collecting data sent by each DXT in a log
file stored in flash, and sending it at preprogrammed interval (once a day) through GPRS network to
an FTP server.
2. Controlled mode
In this mode, gateway is always connected to GSM/GPRS network , or always connected via USB or
RS232 to the server and wait commands from it.
In this mode all the command /answer should follow the serial protocol described in next paragraph.
If GPRS/GSM connection is active, same protocol as described in next paragraph will be available
through socket connection.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 27 of 73
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 28 of 73
4.2 Host/gateway serial protocol
The Host interacts with the SWS GW Application through a serial interface
Sws Gateway
Data Interface
link
Interface
Control Interface
Host
Short Range Functionalities
This serial interface is internally split into two interfaces:
1. Control (or management) Interface. This interface receives commands from Host and sends
back information/responses.
2. Data Interface, that allows direct communication with DXT nodes joined to the SR network.
Control and Data Interfaces are mutually exclusive, they can be used one at a time.
4.2.1.1 Data-mode
If the data-mode is used, SWS Gateway is completely transparent. Data messages flow in both
directions as a raw bit stream.
DXT
SWS Gateway
Data Interface
Control
Interface
Host
Short Range
Functionalities
Figure 7 – Gateway in data mode
Short Range
network
DXT
DXT
The way data messages are used is totally user dependent. From a logical point of view the
responsible for data managing are applications running on Host and each DXT connected to the
gateway.
SWS
Gateway
Host
Application
Short Range
Functionalities
DXT
Short Range
Network
Application
Figure 8 – Data Mode: data flow at application layer
4.2.1.2 Command-mode
If command-mode is used, the Host may send specific commands to SWS gateway in order to
configure it.
4.3 Control Interface
Once SWS GW Application has been started, the Control Interface will be available on the serial
interface ( it can be RS232, USB or Bluetooth)
The Control Interface receives from the Host the serial packets, converts them to internal control
messages and sends the responses to the Host.
All frame formats in this clause are routed in the order in which they are transmitted, that is, from left to
right. For every field the left most byte is the least significant byte and the right most byte is the most
significant byte (little endian).
The serial packets shall be formatted as illustrated in Figure 9 .
1 Byte
Variable
1 Byte
START
Message
STOP
Figure 9
Every packet has a START byte and a STOP byte.
4.3.1 Stuff algorithm
When using START and STOP bytes in the Message, it must be ensured that they will not be
confused with the true START and STOP. To achieve this result, an escaping technique called “stuff
algorithm” has to be used. Every time the Message field contains a byte equal to the START or the
STOP, the same byte must be preceded by a STUFF byte and incremented of an OFFSET. Every
time that in the Message field there is a byte equal to the STUFF byte it must be preceded by another
STUFF byte.
Values of START, STOP, STUFF and OFFSET bytes are shown in Table 4.1.
Name
START
STOP
OFFSET
STUFF
Value
0xab
0xcd
0x01
0xef
Table 4.1
4.3.2Message protocol
The message protocol is used by the Host to configure and to manage the SWS Gateway. It is an
acknowledged protocol, so that every time the Host sends a command to the Control Interface of the
Gateway, it will acknowledge the command with an ACK (Figure ).
Therefore there are two types of messages:
• Command/Response messages
• ACK messages
Host
Gateway
Command
Ack
Response
Figure 10
If the Command do not respect the protocol or if its parameters are out of range, the Control Interface
of the Gateway will send only a NACK (acknowledge with status set to ERROR) and no response.
Host
Gateway
Command
Nack
Figure 11
ACK and messages are:
2 bytes
1 byte
START Opcode
Status
STOP
Status message for ACK is 0x01, status message for NACK is 0x02.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 31 of 73
4.3.3Command and Response messages
Command and Response messages format is shown in the Figure 42.
2 Bytes
2 Bytes
1 Byte
OpCode
BitMask
Reserved
Variable
Parameters
Figure 42
The OpCode is the code of the Command sent by the Host or the Response sent by the Gateway. The
field BitMask explains which parameters are active in the Parameters field. Note that all the
parameters are always present in the packet, so a specific Command/Response has always the same
size. If a parameter is not active, the respective value will be not modified. If a parameter is mandatory
and an invalid BitMask field has been set, command will be not executed. Default values will be
loaded by Reset command.
The field Reserved is ignored, and its value shall be set to 0xFF.
The field Parameters holds the parameters of the command. It has a specific format for every
command depending on the OpCode. Every parameter could be optional (O) or mandatory (M), if it is
optional and the parameters is not enabled the Gateway will use a default value.
Every response has a Status field. All the parameters of responses are mandatory.
Every command has a 10 minutes timeout. When timeout expires and command is not executed yet,
error response will be received.
During execution of any command (after ACK message has been received and before response is
received), only Get Status and Reboot commands can be executed; other commands or bytes on
control interface are not considered.
Table 4.2 shows the list of commands and responses.
OP Code
0x0001
0x0002
0x0003
0x0004
Command/Response Name
Set date/time
Get date/time
Get serial number
Set GW SR parameters
0x0005
Set DXT SR parameters
0x0006
0x0007
0x0008
0x0009
0x000A
0x000B
0x000C
0x000D
0x000E
0x000F
Set gateway mode
Set GSM parameters
Set BT parameters
Get Battery level
Get hw/sw version
Get GSM parameters
Get GW SR parameters
Get DXT SR parameters
Scan for DXT
Set Auto DXT Data
Description
Set RTC time
Get RTC time
Get gateway serial number
Set radio channel, network ID, encryption word
and wakeup session timings in the GW
Set radio channel, network ID, encryption word
and cyclic wakeup timings in a DXT
Choose control interface (BT/USB/UART/GSM)
Set APN, DNS and SIM PIN
Set BT local name and PIN
Get Battery level (percentage)
Get hardware/software version
Get GSM parameters
Get SR parameters from the GW
Get SR parameters from a DXT
Scan for active DXTs
Set parameters of Get Data from DXTs when GW
0x0010
0x0011
Get Status
Set data mode
0x0012
0x0013
0x0014
0x0015
0x0016
0x0017
0x0018
0x0019
0x001A
0x001B
0x001C
0x001D
0x001E
Set Escape sequence from
data mode
Get DXT Data
Add DXT list
Get DXT list
Remove DXT list
Disable SIM PIN
Turn off SR
Reboot
Standby
Deep Sleep
Turn off
Reset
Get Auto Dxt Data
0x001F
Get Log File
0x0020
Get BT parameters
0x0021
0x0022
Scan for BT
Add BT host
0x0023
0x0024
0x0025
0x0026
Reset BT host
Set GPRS host parameters
Set FTP parameters
Set Wakeup parameters
0x0027
0x0028
0x0029
Get GPRS host parameters
Get FTP parameters
Get Wakeup parameters
0x002A
0x002B
Flash SR
Get Battery voltage
is in autonomous mode
Get SR/BT/GSM status
Set transparent communication to the local SR
module
Set Escape sequence from transparent
communication to the local SR module
Get DXT Data (over serial communication or FTP)
Add a DXT in the list
Get the DXT list
Remove a DXT from the list or clean it
Disable PIN SIM
Turn off SR module in the GW
Reboot gateway
Put gateway in standby
Put gateway in deep sleep
Turn off gateway
Reset configuration and reboot GW
Get parameters of Get Data from DXTs when GW
is in autonomous mode
Get application log file (over serial communication
or FTP)
Get name and address of the local and host BT
device
Scan for discoverable BT devices
Put BT in discoverable state and wait for pairing
with BT host
Delete pairing with BT host
Set parameters for control interface on GPRS
Set parameters of the FTP server
Set date/hour of the next wake up (autonomous
mode for C2)
Get parameters for control interface on GPRS
Get parameters of the FTP server
Get date/hour of the next wake up (autonomous
mode for C2)
Flash SR through USB
Get Battery voltage and get temperature
Table 4.2
Table 4.3 shows the values of the Status codes for the responses.
Status
SUCCESS
ERROR
TIMEOUT
DXT END
PASSWORD ERROR
Value
0x0001
0x0002
0x0003
0x0004
0x0005
Description
The command succeeded
Generic error
Command timeout expired
Scan DXT process is complete
Wrong PIN/password
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 33 of 73
SR_NOT_READY
SIM_PIN_ALREADY_DISABLED
BT_END
NO_RESPONSE_FROM_DXTS
0x0006
0x0007
0x0008
0x0009
SR module is not ready
PIN is already disabled
Scan BT process is complete
DXT has been found but does
not respond during comm
session
Table 4.3
Table 2.4 shows the definition of BitMask.
Name
BIT_0
BIT_1
BIT_2
BIT_3
BIT_4
BIT_5
BIT_6
BIT_7
BIT_8
BIT_9
BIT_10
BIT_11
BIT_12
BIT_13
BIT_14
BIT_15
Value
0b0000000000000001
0b0000000000000010
0b0000000000000100
0b0000000000001000
0b0000000000010000
0b0000000000100000
0b0000000001000000
0b0000000010000000
0b0000000100000000
0b0000001000000000
0b0000010000000000
0b0000100000000000
0b0001000000000000
0b0010000000000000
0b0100000000000000
0b1000000000000000
Description
The first parameter is enabled
The second parameter is enabled
The third parameter is enabled
The fourth parameter is enabled
The fifth parameter is enabled
The sixth parameter is enabled
The seventh parameter is enabled
The eighth parameter is enabled
The ninth parameter is enabled
The tenth parameter is enabled
The eleventh parameter is enabled
The twelfth parameter is enabled
The thirteenth parameter is enabled
The fourteenth parameter is enabled
The fifteenth parameter is enabled
The eighteenth parameter is enabled
Table 4.4
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 34 of 73
4.3.4Commands/response description
4.3.4.1Set Date/Time
Set RTC time.
OPCODE: 0x0001
field parameters is:
Day
Month
Year
Hour
Minutes
All the parameters are mandatory.
Field
Day
Month
Year
Hour
Minutes
Size(bytes)
Valid Range
1-31
1-12
10-37
0-23
0-59
Description
Day of the month
Month of the year
Year since 2000
Hour since midnight
Minutes after the hour
Default
N/A
N/A
N/A
N/A
N/A
When gateway is starting and RTC date is reset, default date is 1/1/2010 00:00. If a new date is set
and this is more recent than the old one, wakeup date for C2 configuration is automatically updated.
In C1 configuration, date is reset to default when gateway is turned off.
Set Date/Time Response
Status
Field
Status
size
Valid Range
0x0001-0x0003
4.3.4.2Get Date/Time
Get RTC time.
OPCODE: 0x0002
field parameters is:
No parameter
Get Date/Time Response
Description
Result of the command
Default
N/A
Status
Field
Status
Day
Month
Year
Hour
Minutes
Day
size
Month
Valid Range
0x0001-0x0003
1-31
1-12
10-255
0-23
0-59
Year
Hour
Minutes
Description
Result of the command
Day of the month
Month of the year
Year since 2000
Hour since midnight
Minutes after the hour
Default
N/A
N/A
N/A
N/A
N/A
N/A
4.3.4.3Get Serial Number
Get Gateway serial number.
OPCODE: 0x0003
Parameter field=NULL
Get Serial Number Response
Status
Field
Status
S/N
size
12
Valid Range
0x0001-0x0003
String
S/N
Description
Result of the command
Serial number of GW
Default
N/A
N/A
4.3.4.4Set GW SR parameters
Set SR parameters in the GW.
OPCODE:0x0004
field parameters is:
channel
Network
ID
Old
Encryption
key
New
Encryption
key
Wakeup
session
duration
Comm
session
duration
Comm slot
duration
If a new encryption has to be set, old and new encryption keys are mandatory.
Parameters are set if SR module is not in wakeup session, comm session or comm slot.
Field
size
Valid Range
Description
Default
channel
Network ID
Old key
New key
Wakeup
session
duration
Comm session
duration
Comm slot
duration
16
16
0x0B-0x1A
0x0000-0xFFFF
Any value
Any value
1-254
RF channel for SR network
Network ID for the SR network
Current Encryption word
New Encryption word to be set
Wakeup session duration in sec
0x0B
0x1234
All 0x00
N/A
29
0-255
Comm session duration in sec
120
0-255
Comm slot duration in sec
15
Set GW SR parameters response
Status
Field
Status
size
Valid Range
0x0001-0x0003 or
0x0005-0x0006
Description
Result of the command
Default
N/A
4.3.4.5Set DXT SR parameters
Set SR parameters in a DXT.
OPCODE:0x0005
field parameters is:
Address channel Network
ID
Old
Encryption
key
New
Encryption
key
Fast period Slow
period
MAC address parameter is always mandatory.
If a new encryption has to be set, old and new encryption keys are mandatory.
If the SR module in the gateway is off or in idle, it performs a wakeup session and then starts a comm
slot with the DXT. If the SR module in the gateway is in comm session, scan is not performed. Comm
slot will be ended after settings and SR module in the gateway will be turn off.
NOTE: gateway will wait comm slot seconds for the dedicated wakeup response. If fast period will be
greater than comm slot seconds, setting and getting registers or data from a DXT could fail.
Generally, if slow period is greater than (wakeupSession/2 + 1), DXT could not wake up (see [3]).
Field
Address
size
Valid Range
MAC address from
00-15-4F-00-00-00-
Description
DXT MAC address
Default
N/A
channel
Netowrk ID
Old key
New key
Fast period
16
16
00-00 to 00-15-4FFF-FF-FF-FF-FE
0x0B-0x1A
0x0000-0xFFFF
Any value
Any value
1-254
Slow period
1-254
RF channel for the DXT
Network ID for the DXT
Current Encryption word
New Encryption word to be set
Cyclic wakeup in sec during comm
session
Cyclic wakeup in sec during wakeup
session
0x0B
0x1234
All 0x00
N/A
14
Set DXT SR parameters response
Status
Field
Status
size
Valid Range
0x0001-0x0003 or
0x0005-0x0006
Description
Result of the command
Default
N/A
Description
Set command interface
Default
0x00
4.3.4.6Set Gateway mode
OPCODE:0x0006
Where field parameters is:
mode
Mode parameter is mandatory.
Field
Mode
Size
Valid Range
0x00-0x03
Mode value:
0x00 = USB
0x01=Bluetooth (RFCOMM profile) (only for C1)
0x02=RS232 (115200 8N1)
0x03=GPRS (GW is a client, host is the server) (only for C2)
New configuration will be active only after next restart of the system. Only one interface can be active
at a time.
USB interface is the default mode.
For C1, GPRS interface cannot be set.
For C2, BT interface cannot be set.
Only for configuration 1: If BT interface is active and no host device has been paired, control interface
goes to USB without restarting the gateway.
Only for configuration 2: If GPRS, BT or RS232 interface is active and USB cable from host is
connected, interface goes to USB without restarting the gateway. In this case, GPRS, BT or RS232
interface can be used only after the next reboot.
Set gateway mode response
Status
Field
Status
Valid Range
0x0001-0x0003
Description
Result of the command
Default
N/A
4.3.4.7Set GSM parameters
Set GSM parameters (only for C2). This command is not available when GPRS interface is active.
OPCODE:0x0007
Where field parameters is:
APN APN APN
DNS Sim
login password
pin
No parameter is mandatory.
If DNS field is equal to 0.0.0.0, provider’s DNS is used.
Field
APN
APN login
APN password
DNS
SIM PIN
size
30
30
30
Valid Range
String
String
String
IP address
0000-9999
Set GSM parameters response
Description
APN hostname
Username for APN login
Password for APN login
DNS server
SIM PIN
Default
apn.apn.com
user
1234
Provider‘s DNS
1234
Status
Field
Status
size
Valid Range
0x0001-0x0003
Description
Result of the command
Default
N/A
4.3.4.8Set BT parameters
Set BT parameters (only for C1). This command is not available when BT interface is active.
OPCODE:0x0008
Where field parameters is:
Old PIN code
New PIN code
Local name
If a new PIN has to be set, old and new PIN codes are mandatory.
Field
Old PIN
New PIN
Local name
size
30
30
30
Valid Range
String
String
String
Description
Current BT PIN code
New BT PIN code to be set
Name of the local BT device
Default
1234
N/A
SWSGW_serial
Number
Set BT parameters response
Status
Field
Status
size
Valid Range
Description
0x0001-0x0003 or 0x0005 Result of the command
Default
N/A
4.3.4.9Get Battery level
Read the battery level (percentage).
In C1 configuration, during the first battery charging or if battery has been just plugged,
gateway should be on until battery is fully charged.
OPCODE:0x0009
Where field parameters is:
No parameters
Get Battery level response
Status
Field
Status
Level
size
4.3.4.10
Valid Range
0x0001-0x0003
0 (flat battery) -100
(charged battery)
level
Description
Result of the command
Battery level (percentage)
Default
N/A
N/A
Get HW/SW version
OPCODE:0x000A
Where field parameters is:
No parameters
Get HW/SW version response
Status
Field
Status
HW version
SW version
size
15
15
4.3.4.11
Valid Range
0x0001-0x0003
String
String
Get GSM parameters
Get GSM parameters (only for C2)
OPCODE:0x000B
Where field parameters is:
No parameters
Get GSM parameters response
Status APN DNS
HW version
SW version
Description
Result of the command
Hardware version
Software version
Default
N/A
N/A
N/A
Field
Status
APN
DNS
size
30
4.3.4.12
Valid Range
0x0001-0x0003
String
IP address
Description
Result of the command
APN hostname
DNS server
Default
N/A
N/A
N/A
Get GW SR parameters
Get SR parameters from the GW
OPCODE:0x000C
field parameters is:
No parameters
Parameters are read if SR module is not in wakeup session, comm session or comm slot.
Get GW SR parameters response
Status
Channel
Field
Status
size
channel
Network ID
Wakeup
session
duration
Comm session
duration
Comm slot
duration
4.3.4.13
NetworkID
Wakeup
session
duration
Comm
session
duration
Comm
slot
duration
Description
Result of the command
Default
N/A
Valid Range
0x0001-0x0003 or
0x0006
0x0B-0x1A
0x0000-0xFFFF
1-254
RF channel for SR network
Network ID for SR network
Wakeup session duration in sec
N/A
N/A
N/A
0-255
Comm session duration in sec
N/A
0-255
Comm slot duration in sec
N/A
Get DXT SR parameters
Get SR parameters from a DXT.
OPCODE:0x000D
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 42 of 73
Where field parameters is:
Address
MAC address parameter is mandatory.
Field
Address
Size
Valid Range
Description
MAC address from
DXT MAC address
00-15-4F-00-00-00-00-00
to
00-15-4F-FF-FF-FF-FF-FE
Default
N/A
If the SR module in the gateway is off or in idle, it performs a wakeup session and then starts a comm
slot with the DXT. If the SR module in the gateway is in comm session, scan is not performed. Comm
slot will be ended after the registers are read and SR module in the gateway will be turn off.
Get DXT SR parameters response
Status
Fast period
Slow period
Field
Status
size
Fast period
Valid Range
0x0001-0x0003 or
0x0006
1-254
Slow period
1-254
4.3.4.14
Description
Result of the command
Default
N/A
Cyclic wakeup in sec during comm
session
Cyclic wakeup in sec during wakeup
session
N/A
N/A
Scan for DXT
Look for active DXTs.
OPCODE:0x000E
Where field parameters is:
No parameters
Scan is performed if SR module is in off or idle state. After Scan, SR module goes to Comm Session.
Scan For DXT response
A Scan Response,one for each device, will be received
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 43 of 73
Parameters field of Scan Response.
Status
Address
Next table shows the valid range for the values of the parameters of the Scan Response.
Field
Status
Address
size
Valid Range
Description
0x0001-0x0004 or 0x0006 Result of the command
MAC address from
DXT MAC address
00-15-4F-00-00-00-00-00
to
00-15-4F-FF-FF-FF-FF-FE
Default
N/A
N/A
When scan is completed, status byte is 0x0004 and the other parameters are meaningless.
4.3.4.15
Set Auto DXT Data
Set parameters of Get Data from DXTs when GW is in autonomous mode. (Only for C2)
OPCODE:0x000F
Where field parameters is:
DXT list
mode baro
block baro
mode diver
block diver
No parameter is mandatory.
Field
DXT list
size
bode baro
block baro
mode diver
block diver
Valid Range
0x00: All the active
DXTs in the network;
0x01: All the active
DXTs from the saved list
0x00: No data; 0x01:
Last data;0x02: All data;
0x03 Specific data
0-6000
0x00: No data; 0x01:
Last data;0x02: All data;
0x03 Specific data
0-6000
Description
Active DXTs or DXT list
Default
0x00
Get Last Data / All Data / Specific Data
or don’t get data
0x01
Specific block
Get Last Data / All Data / Specific Data
or don’t get data
0x01
Specific block
Set Auto DXT Data response
Status
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 44 of 73
Field
Status
size
4.3.4.16
Valid Range
0x0001-0x0003
Description
Result of the command
Default
N/A
Get Status
Get SR/GSM/BT status.
OPCODE:0x0010
Where field parameters is:
No parameters
Get Status is accepted also during execution of another command.
Get Status response
Status
Opcode
SR Status
Field
Status
Opcode
size
Valid Range
0x0001-0x0003
0x0000-0x0015
SR Status
BT Status
GSM Status
0x00-0x05
0x00: off / standby
0x01: idle
0x02: busy
0x03: wup session
0x04: comm session
0x05: comm slot
0x00- 0x05
0x00: off
0x01: idle
0x02: discoverable
0x03: inquiry
0x04: paired
0x05: rfcomm
0x00-0x05
0x00: off
0x01: not registered
0x02: registered
0x03: starting GPRS
0x04: GPRS
BT Status (only
for C1)
GSM Status
(only for C2)
Description
Result of the command
Opcocd of the command in
execution; if there is no command
in execution, 0x0000 is returned
SR current status
Default
N/A
N/A
BT current status
N/A
GSM current status
N/A
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
N/A
page 45 of 73
0x05: FTPput
4.3.4.17
Set data mode
OPCODE:0x0011
Where field parameters is:
No parameters
In transparent mode all the data received in serial interface will be sent directly, without interpreting
them, to the UART interface of the local ZE60 and should follow the format described in document
“ZE60 Software Interface Specifications”. It is task of ZE60 FW to manage this packet and translate in
RF frame in order to send to the specific DXT.
Set data mode response
Status
Field
Status
size
Valid Range
0x0001-0x0003
Description
Result of the command
Default
N/A
After response, transparent mode will be available in one second.
4.3.4.18
SET Escape sequence from data mode
OPCODE:0x0012
Where field parameters is:
Sequence
Escape sequence parameter is mandatory.
Field
Sequence
Size
Valid Range
Description
When in transparent communication this
sequence is received from host, GW
returns to Control Interface
Default
+++
The first char in the sequence is the most left one.
After escape sequence, local SR module is turned off and control interface will be available in one
second.
Set escape sequence response
Status
Field
Status
Valid Range
0x0001-0x0003
4.3.4.19
Description
Result of the command
Default
N/A
Get DXT Data
Send data from DXT over serial communication (C1 and C2) or FTP (only C2).
OPCODE:0x0013
Where field parameters is:
Address
FTP/serial
mode baro
block baro
mode diver
block diver
All the parameters (except block parameters) are always mandatory. Block parameters are mandatory
if specific data is required.
Field
Address
Size
FTP/serial
bode baro
block baro
mode diver
block diver
Valid Range
MAC address from
00-15-4F-00-00-00-00-00
to
00-15-4F-FF-FF-FF-FF-FF
or
00-00-00-00-00-00-00-00
0x00: serial, 0x01: FTP
0x00: No data; 0x01: Last
data;0x02: All data; 0x03
Specific data
0-6000
0x00: No data; 0x01: Last
data;0x02: All data; 0x03
Specific data
0-6000
Description
DXT MAC address
Default
N/A
Sending file mode
Get Last Data / All Data / Specific
Data or don’t get data
N/A
N/A
Specific block
Get Last Data / All Data / Specific
Data or don’t get data
N/A
N/A
Specific block
N/A
If ZE60 module is off or in idle, it performs a wakeup session and then asks for data. If ZE60 module is
in comm session, scan is not performed.
FTP/serial can be only 0x00 for C1. If the Address is 00-15-4F-FF-FF-FF-FF-FF, data will be received
from all the connected DXTs. If the Address is 00-00-00-00-00-00-00-00, data will be received from all
the active DXTs from the saved list.
If you ask for baro and diver data, one comm slot is dedicated for baro and another one for diver.
Each comm slot will be executed only if there is enough time in the current comm session.
Get DXT Data response (serial)
If received data length from DXTs is SIZE, (SIZE/256) packets are received. Every packet is:
Status
NumTotPackets
Field
Status
Size
NumTotPacket
Num
Valid Range
0x0001-0x0003,
0x0006 or 0x0009
0-65535
0-65535
Len
0-255
Data bytes
256
Num
Len
Data bytes
Description
Result of the command
Default
N/A
Total number of packets
Number of the current packet (the first
packet has Num = 0)
Number of bytes to be considered in
the unstuffed Data bytes field – 1
DXT data bytes
N/A
N/A
N/A
N/A
In the Data bytes field could contain a certain number of DXT frames; each DXT frame is anticipated
by its MAC address (big endian).
If no DXT awakes during comm slot but it had been found during wakeup session, Status is 0x0009,
Len and NumTotPacket are equal to 0.
If DXT is awake during comm slot but it sends no data, DXT frame is 4 bytes long and these bytes are
equal to 0 (its respective data bytes will be made up of its MAC address and 4 bytes equal to 0)
Get DXT Data response (FTP) (only for C2)
Status
Field
Status
Size
Valid Range
0x0001-0x0003,
0x0006 or 0x0009
Description
Result of the command
Default
N/A
One file is sent to FTP server. Its name has this format:
date_hour.dat
It contains a certain number of DXT frames; each DXT frame is anticipated by its MAC address (big
endian).
If no DXT awakes during comm slot but it had been found during wakeup session, Status is 0x0009
and no file is sent to FTP server.
If DXT is awake during comm slot but it sends no data, DXT frame is 4 bytes long and these bytes are
equal to 0 (its respective bytes will be made up of its MAC address and 4 bytes equal to 0)
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 48 of 73
4.3.4.20
Add DXT list
Add a new MAC address in the saved list. This list can be used by Get DXT Data and during the
autonomous mode.
OPCODE:0x0014
Where field parameters is:
Address
Field
Address
Size
Valid Range
Description
MAC address from
DXT MAC address to add to the
00-15-4F-00-00-00-00-00
list
to
00-15-4F-FF-FF-FF-FF-FE
Default
N/A
MAC address parameter is mandatory.
Add DXT list response
Status
Field
Status
Valid Range
0x0001-0x0003
4.3.4.21
Description
Result of the command
Get DXT list
Get the saved list.
OPCODE:0x0015
Where field parameters is:
No parameter
Get DXT list response
Status
Address
When list is finished, status byte is 0x0004 and the other parameters are meaningless.
Default
N/A
Field
Status
Address
4.3.4.22
Valid Range
Description
0x0001-0x0004
Result of the command
MAC address from
DXT MAC address to add to the list
00-15-4F-00-00-00-00-00
to
00-15-4F-FF-FF-FF-FF-FE
Default
N/A
N/A
Remove DXT list
Remove a MAC address or all the addresses from the saved list.
OPCODE:0x0016
Where field parameters is:
Address
Field
Address
Size
Valid Range
MAC address from
00-15-4F-00-00-00-00-00
to
00-15-4F-FF-FF-FF-FF-FF
Description
DXT MAC address to add to the
list
Default
N/A
MAC address parameter is mandatory.
If address is 00-15-4F-FF-FF-FF-FF-FF, list is cleaned.
Remove DXT list response
Status
Field
Status
4.3.4.23
Valid Range
0x0001-0x0003
Description
Result of the command
Default
N/A
Disable SIM PIN
Disable PIN in the SIM inserted in the GW (only for C2). This command is not available when GPRS
interface is active.
OPCODE:0x0017
Where field parameters is:
No parameter
Disable SIM PIN response
Status
Field
Status
Valid Range
0x0001-0x0003 or 0x0007
Description
Result of the command
Default
N/A
Status will be 0x0007 if SIM PIN is already disabled.
4.3.4.24
Turn Off SR
Turn off the SR module in the GW.
OPCODE:0x0018
Where field parameters is:
No parameter
Turn off SR response
Status
Field
Status
4.3.4.25
Valid Range
0x0001-0x0003
Description
Result of the command
Default
N/A
Reboot
OPCODE:0x0019
Where field parameters is:
No parameter
Reboot is accepted also during execution of another command.
Reboot response
Status
Field
Valid Range
Description
Default
Status
4.3.4.26
0x0001-0x0003
Result of the command
N/A
Standby
Only for C1. This command is not available when BT interface is active.
OPCODE:0x001A
Where field parameters is:
No parameters
Standby response
Status
Field
Status
4.3.4.27
Valid Range
0x0001-0x0003
Description
Result of the command
Default
N/A
Deep Sleep
Only for C2.
OPCODE:0x001B
Where field parameters is:
No parameter
Deep sleep response
Status
Field
Status
4.3.4.28
Valid Range
0x0001-0x0003
Turn off
Only for C1.
OPCODE:0x001C
Where field parameters is:
Description
Result of the command
Default
N/A
No parameter
Turn off response
Status
Field
Status
Valid Range
0x0001-0x0003
4.3.4.29
Description
Result of the command
Default
N/A
Reset
Reboot gateway with default configuration. SR registers also are reset. SR module has to be off.
OPCODE:0x001D
Where field parameters is:
No parameter
Reset response
Status
Field
Status
Valid Range
Description
0x0001-0x0003 or 0x0006 Result of the command
4.3.4.30
Get Auto DXT Data
Get parameters of Get Data from DXTs when GW is in autonomous mode. (Only for C2)
OPCODE:0x001E
Where field parameters is:
No parameter
Get Auto DXT Data response
Status
DXT list
mode baro
block baro
mode diver
block diver
Default
N/A
Field
Status
DXT list
size
bode baro
block baro
mode diver
block diver
4.3.4.31
Valid Range
Description
0x0001-0x0003
Result of the command
0x00: All the active DXTs Active DXTs or DXT list
in the network;
0x01: All the active DXTs
from the saved list
0x00: No data; 0x01:
Get Last Data / All Data / Specific Data
Last data;0x02: All data; or don’t get data
0x03 Specific data
0-6000
Specific block
0x00: No data; 0x01:
Get Last Data / All Data / Specific Data
Last data;0x02: All data; or don’t get data
0x03 Specific data
0-6000
Specific block
Default
N/A
N/A
N/A
N/A
N/A
N/A
Get Log File
Get Log application file over serial communication (C1 and C2) or FTP (only C2).
Log application file contains:
• the last operations done by gateway
o C1: the operations since boot are always reported
o C2: if there is an error occurred during previous autonomous mode and this has never
been sent over FTP or serial communication, the operations since this error are
reported, else the operations since boot are reported
• the actual status of the gateway
• the DXT list
If control interface is not on serial port, gateway sends log info to RS232 serial port.
OPCODE:0x001F
Where field parameters is:
FTP/serial
FTP/serial parameter is mandatory.
Field
FTP/serial
Size
Valid Range
0x00: serial, 0x01: FTP
Description
Sending file mode
Default
N/A
Get log file response (serial)
If received data length is SIZE, (SIZE/256) packets are received. Every packet is:
Status
NumTotPackets
Num
Len
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
Data bytes
page 54 of 73
Field
Status
NumTotPacket
Num
Size
Valid Range
0x0001-0x0003
0-65535
0-65535
Len
0-255
Data bytes
256
Description
Result of the command
Total number of packets
Number of the current packet (the first
packet has Num = 0)
Number of bytes to be considered in
the unstuffed Data bytes field – 1
Data Log bytes
Default
N/A
N/A
N/A
Description
Result of the command
Default
N/A
N/A
N/A
Get log file response (FTP) (only for C2)
Status
Field
Status
Size
Valid Range
0x0001-0x0002
One file is sent to FTP server. Its name has this format:
date_hour.log
4.3.4.32
Get BT parameters
Get BT properties (only for C1)
OPCODE:0x0020
Where field parameters is:
No parameter
Get BT parameter response
Status
Field
Status
Local address
Local name
Host address
Host name
Local address
Size
30
30
Valid Range
0x0001-0x0003
String
String
Local name
Host address
Description
Result of the command
Address of the local BT device
Name of the local BT device
Address of the host BT device
Name of the host BT device
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
Host name
Default
N/A
N/A
N/A
N/A
N/A
page 55 of 73
If no host has been paired, host address is all-zero.
4.3.4.33
Scan for BT devices
Scan for discoverable BT devices. (Only for C1)
Local BT device is not discoverable. This command is not available when BT interface is active.
OPCODE:0x0021
Where field parameters is:
No parameter
Scan For BT response
A Scan Response, one for each device, will be received
Parameters field of Scan Response.
Status
Address
Name
Next table shows the valid range for the values of the parameters of the Scan Response.
Field
Status
Address
Name
size
30
Valid Range
0x0001-0x0003 or 0x0008
String
Description
Result of the command
BT address
BT name
Default
N/A
N/A
N/A
When scan is completed, status byte is 0x0008 and the other parameters are meaningless.
4.3.4.34
Add BT host
Put gateway in discoverable state and wait for pairing (only C1). One host can pair with GW. If host
has not a serial profile, it is not paired. When this command is sent, actual BT host is deleted. This
command is not available when BT interface is active.
OPCODE:0x0022
Where field parameters is:
Timeout
Timeout parameter is mandatory.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 56 of 73
Field
Timeout
Size
Valid Range
1-255
Description
GW waits timeout seconds
Default
N/A
Add BT host response
Status
Address
Field
Status
Address
Name
Size
30
4.3.4.35
Valid Range
0x0001-0x0003
String
Name
Description
Result of the command
Host address
Host name
Default
N/A
N/A
N/A
Description
Result of the command
Default
N/A
Reset BT host
Delete actual BT host (only C1).
OPCODE:0x0023
Where field parameters is:
No parameter
Reset BT host response
Status
Field
Status
Size
4.3.4.36
Valid Range
0x0001-0x0003
Set GPRS host parameters
Set parameters for control interface on GPRS (only C2). This command is not available when GPRS
interface is active.
OPCODE: 0x0024
Where field parameters is:
Host
GPRS
Host
port
No parameter is mandatory.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 57 of 73
Field
Host GPRS
size
30
Valid Range
String
Host port
0-65535
Description
Hostname of the machine that
controls GW through GPRS
TCP/IP port used by GPRS host
Default
host.name.com
6790
Set GPRS host parameters Response
Status
Field
Status
size
4.3.4.37
Valid Range
0x0001-0x0003
Description
Result of the command
Default
N/A
Set FTP parameters
Set parameters for FTP server (only C2).
OPCODE: 0x0025
Where field parameters is:
FTP
FTP FTP
FTP
server login password folder
name
No parameter is mandatory.
Field
FTP server name
FTP login
FTP password
FTP folder
size
30
30
30
60
Valid Range
String
String
String
String
Description
FTP server hostname
Username for FTP login
Password for FTP login
Folder in the FTP server
Default
ftp.server.com
user
1234
Temp/telediver
Set FTP parameters Response
Status
Field
Status
4.3.4.38
size
Valid Range
0x0001-0x0003
Description
Result of the command
Default
N/A
Set Wakeup parameters
Set date/hour of the next wakeup (only C2).
OPCODE: 0x0026
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 58 of 73
Where field parameters is:
Day
Month
Year
Hour
Minutes
Polling freq
No parameter is mandatory.
Field
Day
Month
Year
Hour
Minutes
Polling freq
size
Valid Range
1-31
1-12
10-255
0-23
0-59
1-65535
Description
Day of the month
Month of the year
Year since 2000
Hour since midnight
Minutes after the hour
Polling frequency in minutes
Default
10
1440
Description
Result of the command
Default
N/A
Set Wakeup parameters Response
Status
Field
Status
4.3.4.39
size
Valid Range
0x0001-0x0003
Get GPRS host parameters
Get parameters for control interface on GPRS (only C2).
OPCODE: 0x0027
Where field parameters is:
No parameter
Get GPRS host parameters Response
Host
Status Host
GPRS port
Field
Status
Host GPRS
size
30
Valid Range
0x0001-0x0003
String
Host port
0-65535
Description
Result of the command
Hostname of the machine that
controls GW through GPRS
TCP/IP port used by GPRS host
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
Default
N/A
N/A
N/A
page 59 of 73
4.3.4.40
Get FTP parameters
Get parameters for FTP server (only C2).
OPCODE: 0x0028
Where field parameters is:
No parameter
Get FTP parameters Response
Status FTP
FTP
server folder
name
Field
Status
FTP server name
FTP folder
4.3.4.41
size
30
60
Valid Range
0x0001-0x0003
String
String
Description
Result of the command
FTP server hostname
Folder in the FTP server
Default
N/A
N/A
N/A
Get Wakeup parameters
Get date/hour of the next wakeup (only C2).
OPCODE: 0x0029
Where field parameters is:
No parameter
Get Wakeup parameters Response
Status
Field
Status
Day
Month
Year
Hour
Minutes
Polling freq
size
Day
Month
Valid Range
0x0001-0x0003
1-31
1-12
10-255
0-23
0-59
1-65535
Year
Hour
Minutes
Description
Result of the command
Day of the month
Month of the year
Year since 2000
Hour since midnight
Minutes after the hour
Polling frequency in minutes
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
Polling
freq
Default
N/A
N/A
N/A
N/A
N/A
N/A
N/A
page 60 of 73
4.3.4.42
Flash SR
Flash the SR module through the USB virtual serial port. After gateway sends ACK, use ZTC on the
USB virtual serial port. After flashing, in C1 configuration press reset button, in C2 configuration
unplug and plug again the power.
OPCODE: 0x002A
Where field parameters is:
No parameter
Flash SR parameters Response
Only ACK is sent.
4.3.4.43
Get Battery voltage
Get battery voltage and temperature (only for C2). Voltage is read one time during application boot.
Temperature is read one time: in autonomous mode or in GPRS controlled mode during application
boot, in controlled mode when this command is received by gateway.
OPCODE:0x002B
Where field parameters is:
No parameters
Get Battery Voltage response
Status
Field
Status
Voltage
sign
size
temperature
Valid Range
0x0001-0x0003
0 – 23000 mV
0x00: positive
0x01: negative
0 - 100
voltage
sign
temperature
Description
Result of the command
Battery voltage (mV)
Temperature sign
Default
N/A
N/A
N/A
Temperature (°C) (absolute value)
N/A
4.4 AT command console (C2)
The “modem” u-boot command performs a pass-through between the modem serial port and the
RS232 port of the gateway.
Command is:
modem uart0 53 18 17
Example on RS232 port (start gateway and enter under u-boot console typing a key before kernel
booting; after “Modem is ready” print, you can send AT commands)
RomBOOT
CRC ok loading custom env
U-Boot 1.2.0 (Oct 20 2010 - 15:34:01)- 221 Telit
DRAM: 64 MB
Bank #1
Flash:NAND Numonyx NAND01G-B2C 128MB 1.8V 8-bit
Hardware ECC (ECC data size = 512 bytes)
Nb min erasable unit: 1024
min erasable Size: 131072
Size=134217728 bytes
Logical address: 0x40000000
Block 193 is factory bad (0x41820000)
Block 615 is factory bad (0x44ce0000)
Block 713 is factory bad (0x45920000)
Area 0: 40000000 to 403BFFFF (RO) Primary Bootstrap
Area 1: 403C0000 to 4043FFFF (RO) U-Boot code
Area 2: 40440000 to 404BFFFF (RO) U-Boot Environment
Area 3: 404C0000 to 407BFFFF
User Area 1
Area 4: 407C0000 to 47FFFFFF
User Area 2
usbser: usb console disabled (usbser_timeout = 0)
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
U-Boot> modem uart0 53 18 17
Turning on modem
Modem is ready
at
OK
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 62 of 73
5 Appendix: configuration 1 (BT)
Gateway is turned on by user
GW mode is RS232
GW mode is BT
GW mode is USB
Standby command
has been received
CI on USB
GW is in standby
mode waiting for
commands from
USB
Set Transparent Mode
command
No paired device
Escape sequence
Has host
device been
paired? (1)
Command from USB
has been received
Transparent
mode on
USB
USB cable is
connected
USB cable is
connected
CI on
RS232
Set Transparent Mode
command
One paired device
Escape sequence
GW in standby mode
waiting for host device (2)
Link with
host device
has been lost
Link with
host device
has been lost
Host device accepts serial
communication
CI on BT
Set Transparent Mode
command
Escape sequence
Transparent
mode on BT
Transparent
mode on
RS232
USB interface is the default mode, so:
• When gateway is turned at the first time, control interface on USB is started.
• When USB cable is disconnected and USB interface is active, gateway waits for cable
connecting.
• If Set Gateway mode command (see 4.3.4.6) is sent during control interface, at the next boot
the new interface will be active.
• To pass from control interface to transparent mode and vice versa takes at most one second.
• In order to put gateway in standby mode, use Standby command (see 4.3.4.26). Gateway will
be woken up when a command is received on the active interface.
• In the state (1), GW checks if there is a registered BT host device. In order to register a BT
host device, use Add BT host command (see 4.3.4.34).
• When GW is in the state (2), if host device is reachable and accepts serial communication, GW
will be woken up from standby mode and launches CI on BT.
• In order to turn off gateway, use Turn Off command (see 4.3.4.28). ARM led will turn off and
switch can be moved to “OFF” position after 5 seconds.
• If battery is too low and power supply from USB is not provided, gateway automatically turns
off.
5.1 BT pairing using Windows Mobile
If a host with Windows Mobile is used, it should be configured in order to export an incoming port on
the BT serial profile.
The following steps configure the PDA (this procedure can be done only one time):
•
Modify the Windows registry using NautizRegistry application: click on “start update”
•
Under Start/settings/connections/Bluetooth, choose the name associated to the incoming BT serial port
in order to enable it (by default COM0 is show but it is not enabled, it is enabled only choosing it again)
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 64 of 73
•
Now, SPP is configured. During AddBtHost, host can be registered by gateway:
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 65 of 73
•
In order to enable the control interface on BT, send setGatewayMode and Reboot commands: at the
next reboot, if BT host is visible, gateway will open a serial connection with it (in this example, with the
COM0 serial port).
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 66 of 73
6 Appendix: configuration 2 (GSM) controlled and autonomous modes
Gateway in configuration2 stays most of the time in deep sleep mode and it can be woken up from
RTC alarm o by wake up button. In the first case autonomous mode is activated while in the latest it
goes directly in controlled mode.
6.1 Controlled mode
Gateway is turned on by user
(wakeup button)
GW mode is RS232
GW mode is GPRS
GW mode is USB
CI on USB
(1)
Set Transparent Mode
command
USB cable is
connected
GSM error
Escape sequence
USB cable is
connected
CI on GPRS
(2)
Transparent
mode on
USB
USB cable is
connected
CI on
RS232
Set Transparent Mode
command
Set Transparent Mode
command
Escape sequence
Transparent
mode on GPRS
Escape sequence
Transparent
mode on
RS232
USB interface is the default mode, so:
• When gateway is turned at the first time, control interface on USB is started.
• When USB cable is disconnected and USB interface is active, gateway waits for cable
connecting.
• If Set Gateway mode command (see 4.3.4.6) is sent during control interface, at the next boot
the new interface will be active.
• At boot time, if USB cable is connected, control interface will be started always on the USB.
• During functioning, if USB cable is connected, control interface on USB will be started in one
second. Old interface will be again active at the next reboot.
• To pass from control interface to transparent mode and vice versa takes at most one second.
• In order to put gateway in deep sleep, use Deep Sleep command (see 4.3.4.27). Gateway can
be woken up by user through wakeup button (controlled mode) or by RTC alarm (autonomous
mode).
• During autonomous mode, interface on GPRS is enabled: if gateway is turned on in controlled
mode and USB cable is unplugged, control interface is active on GPRS
• If reset button is pressed while gateway is going to deep sleep, system could reset two times
or go to deep sleep after a reset.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 68 of 73
6.2 Autonomous mode
Gateway is turned on by RTC
USB is connected
Turning on SR and
GSM
USB cable is
connected
DXT communication and
GSM registering
There is no active DXT
Control
interface on
USB: see
(1) in
controlled
mode
There are active DXTs
USB cable is
connected
SR off, FTP transfer and
starting control interface on
GPRS
USB cable is
connected
SR off and starting control
interface on GPRS
FTP transfer has been
completed
USB cable is
connected
Waiting for a command on
GPRS control interface
A command is received before timeout
expires
Control
interface on
GPRS: see
(2) in
controlled
mode
GPRS link is down /
GSM error
GPRS link is down /
GSM error
Timeout has expired
Deep Sleep
When it is woken up from RTC:
• If the USB cable is connected, gateway goes into controlled mode. Otherwise:
• state “Turning on SR and GSM”:
o SR and GSM modules are turned on in parallel from ARM9
• State “DXT communication and GSM registering”:
o gateway starts one wakeup session and then comm session, while GSM module is
registering to network
o gateway collects data from DXTs on the basis of Set Auto Dxt Data command (see
4.3.4.15)
o DXTs to be asked for data: all the active DXTs in the network or all the active DXT
present in the saved list (see 4.3.4.20, 4.3.4.21, 4.3.4.22)
o each comm slot will be stopped when gateway will receive the end of data DXT-frame
from each DXT
• state “SR off, FTP transfer and starting control interface on GPRS”:
o DXT communication is finished and SR is turned off
o FTP transfer: gateway connects to FTP server and sends one file with the format
described in 4.3.4.19. If a previous error has occurred, application log file is
automatically sent (see 4.3.4.31)
o While data file is sent to FTP server, control interface on GPRS is started (gateway is
the client, host is the server)
o FTP and GSM parameters are set by Set GSM parameters (see 4.3.4.7)
• State “Waiting for a command on GPRS control interface:”
o Once FTP transfer is finished, if a command is received within 45 seconds or had been
received during FTP transferring, gateway goes to controlled mode, otherwise it goes
back to deep sleep (next wake up time is automatically calculated on the basis of Set
GSM parameters - 4.3.4.7)
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 70 of 73
7
Conformity Assessment Issues
Configuration 1(BG864-2.4)
The SWS-GW conforms to the following European Union Directives:
• R&TTE Directive 1999/EC (Radio Equipment & Telecommunications Terminal
Equipments)
• Low Voltage Directive 73/23/EEC and product safety
• Directive 89/336/EEC for conformity for EMC
In order to satisfy the essential requisite of the R&TTE 99/5/EC directive, the SWS-GW is
compliant with the following standards:
• Radio Spectrum. Standards: EN 300 328
• EMC (Electromagnetic Compatibility). Standards: EN 301 489-1
and EN 301 489-7
• LVD (Low Voltage Directive) Standards: EN 60 950
NOTE: the device can be used in all EU and in other countries on 2.4 GHz ISM band. When
used in EU countries,
When operating outdoor in France, the emission shall be limited to 10mW in the 24542483.5MHz range.
The power output of the BG864-2.4 has been limited to fulfill the R&TTE recommendation 300
328 in respect of Power Spectral Density (10mW/MHz).
Customers willing to operate the unit within the EU have to order the European version of the
product
For more information please contact Telit Customer Support TS-EMEA@telit.com
Configuration 2 (GG864-2.4)
The SWS-GW conforms to the following European Union Directives:
• R&TTE Directive 1999/EC (Radio Equipment & Telecommunications Terminal
Equipments)
• Low Voltage Directive 73/23/EEC and product safety
• Directive 89/336/EEC for conformity for EMC
In order to satisfy the essential requisite of the R&TTE 99/5/EC directive, the SWS-GW is
compliant with the following standards:
• GSM (Radio Spectrum). Standards: EN 301 511 and 3GPP 51.010-1
• EMC (Electromagnetic Compatibility). Standards: EN 301 489-1 and
EN 301 489-7
• LVD (Low Voltage Directive) Standards: EN 60 950
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 71 of 73
NOTE: the device can be used in all EU and in other countries on 2.4 GHz ISM band. When
operating outdoor in France, the emission shall be limited to 10mW in the 2454-2483.5MHz
range.
The power output of the BG864-2.4 has been limited to fulfill the R&TTE recommendation 300
328 in respect of Power Spectral Density (10mW/MHz).
Customers willing to operate the unit within the EU have to order the European version of the
product
For more information please contact Telit Customer Support TS-EMEA@telit.com
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 72 of 73
8 Document Change Log
Revision
Rev 0
Date
Changes
20/02/2011 First issue
Author
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 73 of 73

Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.4
Linearized                      : No
Page Count                      : 73
XMP Toolkit                     : XMP toolkit 2.9.1-13, framework 1.6
About                           : 9771a398-7e41-11e0-0000-520f031d660e
Producer                        : GPL Ghostscript 8.70
Keywords                        : ()
Modify Date                     : 2011:05:11 17:47:21+02:00
Create Date                     : 2011:05:11 17:47:21+02:00
Creator Tool                    : \376\377\000P\000D\000F\000C\000r\000e\000a\000t\000o\000r\000 \000V\000e\000r\000s\000i\000o\000n\000 \0001\000.\0000\000.\0002
Document ID                     : 9771a398-7e41-11e0-0000-520f031d660e
Format                          : application/pdf
Title                           : \376\377\000S\000W\000S\000_\000G\000a\000t\000e\000w\000a\000y\000_\000P\000r\000o\000d\000u\000c\000t\000_\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n\000_\000r\000e\000v\0000
Creator                         : \376\377\000E\000m\000i\000l\000i\000a\000I\000b
Description                     : ()
Author                          : EmiliaIb
Subject                         : 
EXIF Metadata provided by EXIF.tools
FCC ID Filing: RI7BG864

Navigation menu