5.3.1. Using Web browser ...................................................................................................................... 19
5.3.2. Using EZBee manager program ............................................................................................. 21
5.4. Menu related to communication of EZBee L100 ....................................................................... 22
5.5. Communication modes of EZBee L100 ............................................................................................ 23
5.6. EZBee-L100 LED display ........................................................................................................................ 23
6. AT Command ............................................................................................................................................................. 24
6.1. Reference table of AT Commands...................................................................................................... 24
6.3. Result message............................................................................................................................................ 26
7. Description of AT Commands............................................................................................................................ 27
7.1. Serial communication interface ........................................................................................................... 27
7.1.1. Serial port setting ......................................................................................................................... 28
7.2.2. PAN ID setting ............................................................................................................................... 30
7.2.3. Modem ID setting ........................................................................................................................ 31
7.2.4. Group ID setting ........................................................................................................................... 32
3
7.2.5. Receiver ID setting for Bypass mode .................................................................................. 33
7.3.1. Data transmission in ASCII mode ......................................................................................... 35
7.3.2. Data transmission in Bypass mode ...................................................................................... 37
7.4. Reading a Short-address ........................................................................................................................ 40
7.5. Reading an Extended address .............................................................................................................. 40
7.6. Resetting a Modem................................................................................................................................... 41
7.7. Resetting a Network ................................................................................................................................. 41
7.8. Reading a modem version ..................................................................................................................... 42
7.9. Reading a modem status ....................................................................................................................... 42
7.10. GPIO control and setting..................................................................................................................... 42
7.10.1. GPIO direction setting ............................................................................................................. 43
7.10.2. GPIO control ................................................................................................................................ 44
(1) This device may not cause harmful interference, and
(1) This device may not cause harmful interference, and
(1) This device may not cause harmful interference, and (1) This device may not cause harmful interference, and
(2) this device must accept any interference received, including
(2) this device must accept any interference received, including interference that may
(2) this device must accept any interference received, including(2) this device must accept any interference received, including
cause undesired operation.
cause undesired operation.
cause undesired operation.cause undesired operation.
EZBee series Manual / Ver. 1.0
the following two conditions:
the following two conditions: the following two conditions:
comply with part 15 of the FCC Rules. Operation is
L100L100
complycomply
with part 15 of the FCC Rules. Operation is
with part 15 of the FCC Rules. Operation is with part 15 of the FCC Rules. Operation is
interference that may
interference that may interference that may
7
*
2. EZBee M100
EZBee M100 based on IEEE 802.5.4 specification, is designed for an
embedded solution to provide stable wireless c ommunic ation with low
power consumption.
2.1 Specification of
2.1 Specification of EZBee
2.1 Specification of 2.1 Specification of
EZBee M100
EZBeeEZBee
M100
M100 M100
General Specifications
Operating Frequency ISM 2.4 GHz ISM 2.4 GHz
Dimension
32.0mm(L) x 22.0mm(W) x 10.5mm(H)
Operating Temperature -25 ~ 85º C
Electrical Specifications
Supply Voltage 2.7~3.6V
Transmit Current(typical) 190mA
Idle/Receive Current(typical) 27mA
EZBee series Manual / Ver. 1.0
8
2.2
2.2 EZBee
2.22.2
EZBee M100 PIN Assignments
EZBeeEZBee
PIN Name Direction Description
M100 PIN Assignments
M100 PIN AssignmentsM100 PIN Assignments
1 GND
2 DIO0
3 DIO1
4 DIO2
5 STA
6 RUN
7 nRST Input RESET, Low Active
8 ADC1 Input Analog to Digital Converter
9 ADC2
10 DIO6
-
Input / Output
Input / Output
Input / Output
Output
Output
Input
Input / Output
Power Ground
Digital Input or Output
Digital Input or Output
Digital Input or Output
Status LED
Active LED
Analog to Digital Converter
Digital Input or Output
11 DIO7 Input / Output Digital Input or Output
12 RXD Input UART Data
13 TXD Output UART Data
14 RTS Output UART Request to Send
15 CTS Input UART Clear to Send
16 DIO5 Input / Output Digital Input or Output
17 DIO4 Input / Output Digital Input or Output
18 DIO3 Input / Output Digital Input or Output
19 DC 3.3V - Power supply 3.3V
EZBee series Manual / Ver. 1.0
9
-
Repeat Turning ON during 1 second and OFF during 1 second
-
In
ASCII MODE
: ON contin
u
ously
OFF
during
0.5 second
2.3
2.3 EZBee
2.32.3
EZBee M100 Dimension
EZBeeEZBee
M100 Dimension
M100 DimensionM100 Dimension
Dimension
*
2.4
2.4 EZBee
EZBee M100 LED
2.42.4
EZBeeEZBee
ACT LED
(blue colour)
STA LED
(orange colour)
※ Please refer Appendix for how to use EZBee M100.
※ EZBee M100- S (MMCX Type) has a connection point for an external
M100 LED Display
M100 LED M100 LED
Flash when data are transmitted (Tx/Rx mode)
When the device is not joined in PAN
When the device is joined in PAN
- In EBI MODE : Repeat flashing twice every 0.5 second and turning
- In BYPASS MODE : Repeat Turning ON during 0.5 second and OFF
during 0.5 second
Display
DisplayDisplay
LED display
antenna.
EZBee series Manual / Ver. 1.0
10
3333 EZBee
EZBee S100
EZBeeEZBee
EZBee S100 is designed to communic ate with other devices based on
IEEE 802.5.4 specification without installing any serial c able. Two EZBee
S100 serial adaptors are connected to each other immediately when power
is supplied. If 38,400 baud rate is set for stable transmission, a pair of
S100 is able to connect without any extra setting.
S100
S100S100
3.1 Specification of EZBee S100
General Specifications
Voltage DC 4.5V~DC 5.5V (mini usb type jack or DSUB 9 pin)
Hardware interface RS-232, RS-422, RS-485
LED display On/Off, current status
Operating environment Operating temperature: -25~70 º C
Storage temperature: -25~70 º C
Humidity: 0 ~ 90% non-condensing
Physical properties Dimension: 31mm(w) x 15mm(H) x 60mm(L)
Weight: 16g
EZBee series Manual / Ver. 1.0
11
3.2
3.2 Configuration of
Configuration of EZBee
3.23.2
Configuration of Configuration of
Configuration method for a serial adaptor can be divided for RS- 232
and RS- 422/ 485 communication mode.
The baud rate of each communication mode is set by only DIP switches
on the EZBee S100.
3.2.1
3.2.1 RS
3.2.13.2.1
RS---- 232
232 communication mode
RSRS
1 Selection switch for 232 or 422/ 485 is pushed to the 232 side.
2 Flow control method and baud rate for serial communication are set
communication mode
232232
communication modecommunication mode
EZBee S100
EZBeeEZBee
S100
S100S100
by DIP switc hes.
3 EZBee S100 is c onnected to the serial port of a PC or DTE.
4 A mini USB cable protruded from a PC USB port or DC adaptor
should be connected to the mini USB port on EZBee S100 for
power supply.
3.2.2
3.2.2 RS
3.2.23.2.2
RS---- 422/ 485 communica
422/ 485 communicati
RSRS
422/ 485 communica422/ 485 communica
1 Selection switch for 232 or 422/ 485 is pushed to the 422/ 485 side.
2 The 422 or 485 mode is selected by DIP switches.
3 The baud rate for serial communication is set by DIP switches.
4 A mini USB cable protruded from a PC USB port or DC adaptor
tion mode
on mode
titi
on modeon mode
should be connected to the mini USB port on EZBee S100 for
power supply.
EZBee series Manual / Ver. 1.0
12
3.3
3.3 Dip switch setting
3.33.3
Dip switch setting
Dip switch settingDip switch setting
ON
►►►►
DIP1 mode setting
2 3 1
4
RS-232 mode RS-422/485 mode
DIP1 ON
DIP1 OFF
►►►►
Baud rate setting
Hardware Flow Control ON RS-422
Hardware Flow Control OFF RS-485
Baud rate DIP2 DIP3 DIP4
38400 bps OFF OFF OFF
2400 bps OFF OFF ON
9600 bps OFF ON OFF
19200 bps OFF ON ON
38400 bps ON OFF OFF
57600 bps ON OFF ON
115K bps ON ON OFF
38400 bps ON ON ON
EZBee series Manual / Ver. 1.0
13
- Repeat Turning ON during 1 second and OFF during 1 second
- In
ASCII MODE
: ON contin
u
ously
OFF
during
0.5 second
9 8 7 6
9 8 7 6 9 8 7 6
9 8 7 6
► DSUB 9 Pin Definition
5
5 4
5 5
4 3
3 2
4 4
3 3
2 1111
2 2
Pin Number RS-232 RS-422 RS-485
1
2
3
4
5
6
7
8
9
3.4
3.4 EZBee
EZBee S100 LED
3.43.4
EZBeeEZBee
ACT LED
(blue colour)
STA LED
(orange colour)
DCD
TXD RXD- TXD-/RXD-
RXD TXD-
DTS
GND
DTR
CTS RXD+
RTS TXD+ TXD+/RXD+
DC Input DC Input DC Input
S100 LED display
S100 LED S100 LED
display
displaydisplay
LED display
Flash when data are transmitted (Tx/Rx mode)
When the device is not joined in PAN
When the device is joined in PAN
- In EBI MODE : Repeat flashing twice every 0.5 second and turning
- In BYPASS MODE : Repeat Turning ON during 0.5 second and OFF
during 0.5 second
EZBee series Manual / Ver. 1.0
14
4444 EZBee
EZBee U100
EZBeeEZBee
EZBee U100, a dongle type EZBee format, makes it easy monitor and
control the devices on a PC or hand- held device. In addition, it can be
utilized as a router for IEEE 802.15.4 network for extending communication
range or overcoming weak signal strength in certain area.
4.1
4.1 Specification of
4.14.1
Specification of EZBee
Specification of Specification of
U100
U100U100
EZBee U100
EZBeeEZBee
U100
U100 U100
General Specifications
Voltage DC 4.5V~DC 5.5V (mini usb type jack)
Hardware interface USB 2.0
LED display On/Off, current status
Identification on PC USB to Serial device
Operating environment Operating temperature: -25~70 º C
Storage temperature: -25~70 º C
Humidity: 0 ~ 90% non-condensing
Physical properties Dimension: 19.5mm(w) x 8.5mm(H) x 54mm(L)
Weight: 9g
EZBee series Manual / Ver. 1.0
15
4.2
4.2 Configuration of
Configuration of EZBee
4.24.2
Configuration of Configuration of
1 To use the EZBee U100 on a PC, a USB port connecting U100
should be set as a virtual conventional COM port in the PC.
2 For virtual COM port setting, the FTDI driver should be installed on
PC by running the CDM 2.04.06 on the enclosed CD.
EZBee U100
EZBeeEZBee
U100
U100U100
Suporting OS : Window, MAC, Linux
3 The FTDI driver is installed automatically as shown.
EZBee series Manual / Ver. 1.0
16
- Repeat Turning ON
during 1 second and OFF during 1 second
- In
ASCII MODE
: ON contin
u
ously
OFF
during
0.5 second
4 After virtual COM port setting, please find the COM port number at
port (COM or LPT) of device manager.
4.3
4.3 EZBee
EZBee U100 LED
4.34.3
EZBeeEZBee
ACT LED
(blue colour)
STA LED
(orange colour)
U100 LED display
U100 LED U100 LED
Flash when data are transmitted (Tx/Rx mode)
When the device is not joined in PAN
When the device is joined in PAN
- In EBI MODE : Repeat flashing twice every 0.5 second and turning
- In BYPASS MODE : Repeat Turning ON during 0.5 second and OFF
during 0.5 second
display
displaydisplay
LED display
EZBee series Manual / Ver. 1.0
17
5555 EZBee
EZBee L100
EZBeeEZBee
EZBee L100 ac ts as a bridge between the devices based on IEEE
802.5.4 network and conventional TCP/IP network. When sensor data are
collected through wireless network, EZBee L100 provides the sensor data
into the TCP/ IP network enables user to monitor the process.
L100
L100L100
5.1
5.1 Specification of
5.15.1
Voltage DC 4.5V~DC 5.5V (mini usb type jack)
Ethernet Interface 10/100 Base-T Ethernet with RJ45 jack
LED display On/Off, current status
Network protocol HTTP, DHCP Client
Communication setting Web, Manager Program
Operating environment Operating temperature: 0~70 º C
Physical properties Dimension: 35mm(W) x 20.5mm(H) x 64.5mm(L)
Specification of EZBee
Specification of Specification of
EZBee L100
EZBeeEZBee
General Specifications
Storage temperature: -25~70 º C
Humidity: 0 ~ 90% non-condensing
Weight: 30g
L100
L100 L100
EZBee series Manual / Ver. 1.0
18
5.2
5.2 Configuration of
Configuration of EZBee
5.25.2
Configuration of Configuration of
Firstly a LAN connector for TCP/IP network should be connected to a
LAN port prepared on EZBee L100. For the power supply, please connect a
mini USB cable protruded from a PC USB port or DC adaptor into the mini
USB port on EZBee L100.
EZBee L100
EZBeeEZBee
L100
L100L100
5.3
5.3 Network Setting
Network Setting
5.35.3
Network SettingNetwork Setting
Initial setting
IP 172.17.52.164
Netmask 0.0.0.0
Gateway 0.0.0.0
default password enus
5.3.1
5.3.1 Using web browser
5.3.15.3.1
Using web browser
Using web browserUsing web browser
1 Connec t to http:/ / 172.17.52.164 on web browser. In this moment,
please check the IP and Netmask of the PC whether it can access
EZBee series Manual / Ver. 1.0
19
to default IP.
2
Type enus as the default password
3
After set your network IP at [ TCP/ IP configuration ] , reboot the
EZBee L100.
EZBee series Manual / Ver. 1.0
20
5.3.2
5.3.2 Using
5.3.25.3.2
Using EZBee
Using Using
EZBee manager
EZBee EZBee
manager program
manager manager
program
programprogram
The EZBee manager program is an utility program developed for easy
setting and management of a EZBee L100.
Useful function for setting : <scanning broadcasting device>
The useful function of the EZBee manager program is a scanning
broadcasting device. It searches and shows all list of EZBee L100
connecting to the same network of a user c omputer.
1 Click the button denoting [start search].
2 A list of all EZBee L100 connecting to the network is displayed when
the automatic scanning is over.
3 When you want to change the setting of one U100 among the list,
move the mouse point onto that EZBee L100 and just click the right
button of a mouse, then you can change the parameter from the
displaying menu.
EZBee series Manual / Ver. 1.0
21
5.4
5.4 Menu related to communication of
Menu related to communication of EZBee
5.45.4
Menu related to communication of Menu related to communication of
EZBee L100
EZBeeEZBee
L100
L100 L100
Status Monitoring
Port configuration
Shows current status of the EZBee L100
Set operation of the EZBee L100
- Active connection :
EZBEE L100 acts as a client of TCP/IP network, and tries to
connect to a designated server.
- client connecting time (period) :
When a port is assigned as TCP/IP client, the assigned port
tries to connect to the specified host IP by the period of client
connecting time.
- KeepAlive Enable:
Check whether the TCP/IP connection is alive or not.
- KeepAlive Interval:
In case of setting ‘KeepAlive Enable’ function, it checks
whether the connection is alive or not when data is not
transmitted to the specified port during a period of time.
- Port Setting:
port number: TCP port number
Active: Active TCP connection request. Client mode
Server IP: IP address for active connection
P-P: peer-to-peer mode setting for EZBee
- Communication:
P-P: peer-to-peer mode set for wirelss communication
MODULE ID: Module ID
TCP/IP
Configuration
EZBee
EZBee series Manual / Ver. 1.0
- Device Name: assign the name of EZBee L100.
- Set the specified IP address.
Set channel ID, PAN ID, group ID and module ID
22
Configuration
5.5
5.5 Communication modes of
Communication modes of EZBee
5.55.5
Communication modes of Communication modes of
EZBee- L100 supports the TCP/IP socket programming. It can be
assigned as a client or server acc ording to each ports and handles data as
unit of packet.
The packet format is selectable among the EBI mode, P- P(Peer to Peer,
Bypass mode), acc ording to the port. The default setting is the EBI mode,
enables to communicate any modules connecting to same socket. When
EZBee L100
EZBeeEZBee
L100
L100 L100
the P- P mode is selected, it switched to the Bypass mode, and enable to
communicate without the specified module or header data.
5.6
5.6 EZBee
EZBee L100 LED
5.65.6
EZBeeEZBee
ACT LED
(blue color)
STA LED
(orange color)
L100 LED display
L100 LEDL100 LED
Flash when data are transmitted (Tx/Rx mode)
In case of turning ON
display
displaydisplay
LED display
denotes EZBee L100 is joined in the
network, and ready to communicate with
other EZBees.
In case of flashing denotes EZBee L100 is not joined in the
network.
EZBee series Manual / Ver. 1.0
23
6. AT
AT Command
Command
AT AT
CommandCommand
The EZBee formats support various AT commands for controlling the
modem. Customers can c onfigure the desired characteristics of a
specific network using the rich AT commands
6.1 Reference table for
6.1 Reference table for AT
6.1 Reference table for 6.1 Reference table for
AT Commands
Commands
AT AT
CommandsCommands
AT
command
D
B
Z
NZ
V
S
+SPI
+CH
Category
System
System
System
System
System
System
Set
Set Get /Set frequency channel
Change modem mode to
‘BYPASS’ mode
Change modem mode to ‘EBI’
mode
Modem reset
Modem reset with erase
network states
Show modem version
Show modem status
Set/Get RS-232C interface
configuration
Description Parameter Default
<Modem ID>
None
None
None
None
None
?
=<baud>,<flow>
?
=<11~26>
38400/
HW
flow
11
Get/ Set default destination ID
+DST
+E
+EA
+ID
EZBee series Manual / Ver. 1.0
Set
Set
Set Get 64-bit extended address ?
Set Set/Get modem ID ? 23
for binary mode
=<Modem ID>
Serial echo on/off
?
0
0 / 1 1
24
=<Modem ID>
+PID
+GID
+AS
+PMJ
+SA?
+IO
+IOD
+ADC?
+RA
&MSG
&PS
Set Get/Set PAN ID 0~16383 4911
Set Get/Set Group ID 1~255 1
Set Get/Set Network auto start/Join 0/1 0
System Permit join ?/=<0/1> 1
System Show 16-bit short address None
System Access GPIO ?/=<Value>
System Access GPIO direction ?/=<Value>
System Query ADC value <ch1>,<ch2>
System Permit remote access ?/=<0/1> 1
Network Send Message
Network Start/Join PAN manually None
6.2
6.2 Notification message
6.26.2
Notification message
Notification messageNotification message
Notification message is a message sent from a modem
asynchronously. It is generated when the status of a modem or data is
transmitted.
message Parameter Description
$MSG
$SND
$RESET
$NWK
<ID>,<SADDR>,<LinkQuality>
,<Message>
<transID>,<Result>
None
COORD
ROUTER,<SADDR>
Generated upon receiving data from a
modem having <ID> number.
Shows the sending result
Generated at modem reset
Shows a modem is configured as a
EZBee Coordinator in the PAN.
Shows a modem is joined at PAN as a
EZBee Router, and the short address of
the modem is <SADDR>
EZBee series Manual / Ver. 1.0
25
6.3
6.3 Result message
Result message
6.3 6.3
Result messageResult message
Every modem of EZBee formats returns a resulting message after
executing the AT c ommand as following:
Message Description
OK
ERROR
FAIL
NO_MEM
Denotes execution of AT command is success
Means an undefined AT command or un-allowed parameter is inputted
Display an internal error is generated during execution of AT command
Shows shortage of memory space for execution of AT command
EZBee series Manual / Ver. 1.0
26
7777 Description of
Description of AT
Description of Description of
7.1
7.1 Serial communication interface
7.17.1
EZBee formats support a standard serial communication port (RS-
232C). The basic setting parameters for a serial communication of the
Serial communication interface
Serial communication interfaceSerial communication interface
7.1.1
7.1.1 Serial port setting
7.1.17.1.1
Serial port setting
Serial port settingSerial port setting
AT commands
commands
AT AT
commandscommands
EZBee are shown as followings.
parameters
Baud rate 38400
Data 8-bit
Parity None
Stop bit 1-bit
Flow control H/W flow control ON
The setting parameters of the EZBee can be changed using the
following AT commands.
Command
Parameter Result Description
Check current values of setting
AT+SPI?
AT+SPI=
EZBee series Manual / Ver. 1.0
none <baud >,<flow >
parameters
Change values of Baudrate and
<baud>,<flow> OK or ERROR
Flow control
27
0 or 1
The possible values for each parameter are summarized as:
Parameter
value description
2400, 9600, 19200, 38400,
baud
Baudrate possible to use
57600, 115200
0
No Hardware follow control
flow
1
Use hardware follow control
When a very high baudrate is set, the data transmitted can be lost
because the I/ O buffer size of EZBee is 128 byte each. According, it is
recommended to use a hardware follow control. If it is difficult to use a
hardware follow control, the low baudrate such as under 9600 is
recommended strongly.
7.1.2
7.1.2 Echo mode setting
7.1.27.1.2
Echo mode setting
Echo mode settingEcho mode setting
The option for an echo according to the AT commands inputted are
selectable as shown as:
Command
AT+E0
AT+E1
AT+E?
Parameter Result Description
None
None
None
OK
OK
Cancel echo mode
Activate Echo mode
Check current echo option
EZBee series Manual / Ver. 1.0
28
11 ~ 26
OK
ERROR
7.2
7.2 EZBee
7.27.2
In order to communicate using the EZBees, each EZBees should be
joined in PAN (personal area network). All EZBees in a specific PAN
should have an identical channel ID and PAN ID. If the channel IDs are
identical but different PAN IDs, then the EZBee belongs to other PAN.
Further, if the PAN IDs are identical but different channel IDs, then the
EZBee also belongs to other network. Only one coordinator is allowed in
a specific PAN.
EZBee Modem setting
EZBee EZBee
Modem setting
Modem settingModem setting
7.2.1
7.2.1 Channel setting
7.2.17.2.1
Total 16 channels are ready to use in the EZBee formats. All EZBees
in a certain PAN should be set to use an identical communication channel
number.
Followings are the AT commands for setting a channel number or
checking the channel number assigned.
Comman
d
AT+CH
Channel setting
Channel settingChannel setting
Parameter Result Description
?
=<channel>
or
Shows a current channel assigned
Set a channel.
If the EZBee is already joined in PAN using AT&PS command, it should
be rebooted after setting a channel for the effectiveness of channel setting.
Furthermore, if the channel of a Coordinator is changed, then all channels
EZBee series Manual / Ver. 1.0
29
of routers should be changed as that of coordinator.
When you select a channel number, check the overlapping with
other wireless devices in the vicinity of the EZBee to avoid interferenc e
between c hannels.
The frequenc y of each channel is assigned as following.
Channel Frequency Channel Frequency
11 2405 MHz 19 2445 MHz
12 2410 MHz 20 2450 MHz
13 2415 MHz 21 2455 MHz
14 2420 MHz 22 2460 MHz
15 2425 MHz 23 2465 MHz
16 2430 MHz 24 2470 MHz
17 2435 MHz 25 2475 MHz
18 2440 MHz 26 2480 MHz
7.2.2
7.2.2 PAN ID
7.2.27.2.2
PAN ID setting
PAN ID PAN ID
setting
settingsetting
All EZBees in a specific PAN should have an identical PAN ID.
Acc ordingly, a different PAN can be built by different PAN ID
.
Followings are the AT commands for setting a PAN ID or checking the
PAN ID assigned.
Comman
Parameter Result Description
d
AT+PID?
none <PAN ID> Shows a current PAN ID
assigned
OK
AT+PID=
EZBee series Manual / Ver. 1.0
0~16383
ERROR
ERROR
ERRORERROR
Set PAN ID
30
OK
ERROR
address
If the EZBee is already joined in PAN using AT&PS command, it should
be rebooted after setting a PAN ID for the effectiveness of PAN ID setting.
7.2.3
7.2.3 Modem
7.2.37.2.3
Modem ID setting
ModemModem
ID setting
ID settingID setting
Each modem embedded in EZBee formats has the own 64bit address,
called as an extended address, and it is used to identify a specific modem
among various modems in PAN. However, the extended address is
difficult to use due to its big size. The short- address is mostly used in
real practical communication. Because the short- address is assigned
dynamically by a coordinator when a modem is joined in PAN, users can
not know the short- address before joining in PAN.
Followings are the AT commands for setting a new modem ID or
checking the modem ID assigned.
Command Parameter
AT+ID?
None
AT+ID= 0~253
AT+ID@
<SADDR>?
Result Description
0~253
Check the own modem ID assigned
Set a modem ID
OK
Check a modem ID having a short-
<SADDR> within same PAN
All modem in the network should have a different own modem ID.
Espec ially, a modem ID 0 represents a EZBee coordinator. After
establishing a PAN by assigning a coordinator, other modems should be
tried to join in the PAN.
EZBee series Manual / Ver. 1.0
31
$ID@
If the characteristic s of a coordinator is c hanged or the other modem
is assigned as a coordinator in PAN already established, all modems in a
PAN should be reset to erase network states using ‘ ATNZ
ATNZ’ and rebooted.
ATNZATNZ
In case of the ID command for a remote modem ‘$ID@’, <SADDR>
means a short- address and display as ASCII- HEX format. When the ID
command for a remote modem is conducted successfully, the following
return message is returned.
Message Description
<SADDR>=<ID> Shows a short-address <SADDR> and <ID>
7.2.4
7.2.4 Group
7.2.47.2.4
Group ID
GroupGroup
ID setting
ID ID
setting
settingsetting
The EZBee formats support a group communication in a PAN. A
group includes several modems and data can be transmitted to a specified
group in a PAN.
For group transmission, following AT c ommands are utilized.
Command Parameter
AT+GID?
None
Result Description
0~255
Check a group ID of a modem
OK
AT+GID= 0~255
AT+GID@<DstID>?
ERROR
None OK
Set a group ID of a modem.
Check a group ID of a remote
modem
AT+GID@<DstID>=
0~255 OK
Set a group ID of a remote
modem
For setting a group ID of a remote modem, the remote modem should
be set the ‘value for remote acc ess’ as 1. Please refer AT+RA command.
EZBee series Manual / Ver. 1.0
32
$GID@
When the group ID command for a remote modem is conducted
succ essfully, the following return message is returned.
Message Description
<DstID>=<GroupID> Group ID < GroupID> setting
in a remote modem <DstID>
7.2.5
7.2.5 Receiver ID setting for Bypass mode
7.2.57.2.5
Receiver ID setting for Bypass mode
Receiver ID setting for Bypass modeReceiver ID setting for Bypass mode
The EZBee formats supports the bypass mode communication which
all data are collected by a specified modem as if all modem in a network is
wired to a specified modem.
The receiver modem should be assigned before starting the bypass
The EZBee formats support 3 different communication mode including
ASCII mode, Bypass mode and EBI mode for data transmission.
7.3.1
7.3.1 Data transmission in
7.3.17.3.1
Data transmission in ASCII
Data transmission in Data transmission in
ASCII mode
ASCII ASCII
mode
modemode
In ASCII mode, all data are transmitted as ASCII HEX format to a
pointed modem.
Command
Parameter Result Description
<Message> is transmitted to
<Modem ID>, <Message>
modem ID <Modem ID>
<Message> is transmitted to a
modem having a short-
address <SADDR>
<Message> is transmitted to
modems having a group ID
<GroupID>
AT&MSG=
S<SADDR>,<Message>
G<GroupID>,<Message>
<transID>/
ERROR/
FAIL/
NO_MEM/
(Multi-Cast function)
<Message> is transmitted to
BROAD,<Message>
modems joined in the PAN
(Broadcast function).
After transmission, following event message is returned.
Message
Message Parameter
MessageMessage
$SND=
$SND= <transID>,,,,<result>
$SND=$SND=
EZBee series Manual / Ver. 1.0
Parameter Description
ParameterParameter
Show Transaction ID and transmission result
Description
DescriptionDescription
35
In here, <transID> means the transaction ID which is generated by a
modem automatic ally after finishing the transmission, thereby every
transmission generates different transaction IDs.
<result> shows the result of data transmission. If transmission is
succ eeded, it shows as 1, if failed, number except 1.
Besides, if a modem is not joined in the PAN yet, or the format of
transmission message is wrong, following error messages may be returned.
Error Message
Error Message::::
Error MessageError Message
Result Description
ERROR
FAIL
NO_MEM
NWK_STOP
Indicate a wrong message format or command
Fail data transmission
Indicate the shortage of internal modem memory
Show the PAN is not stated or modem is not joined in PAN yet
On the other hand, the pointed modem which is received a message
generates a following event message.
Message
<Modem ID>,<SADDR>,<link
$MSG@
Parameter Description
Show data receiving from a
quality>=<Message>
modem <Modem ID>
The transmitted message should be converted as ASCII HEX format.
The length of the message should be less 127 charac ters including AT
command.
Following diagram shows the example of data transmission in ASCII
EZBee series Manual / Ver. 1.0
36
mode.
A modem 1 sends a message (0x13F7E53) to a modem 2. The
modem 2 received data from a sender having the ID=1, the short-
address=0x0001. The receiving sensitivity is 134 and the received
message is 0x13F7E536.
While, a modem 2 sends the message(0x55AA7038) to a modem 1.
The received data by a modem 1 is shown as 0x55AA7038 with a receiving
sensitivity 120.
7.3.2
7.3.2 Data transmission in
7.3.27.3.2
Data transmission in Bypass
Data transmission inData transmission in
Bypass mode
Bypass Bypass
mode
modemode
In Bypass mode, all data inputted from a serial port can be transmitted
without any modification to a pointed modem. Accordingly, the Bypass
mode is suitable for transmitting all data to one spec ified modem in a PAN.
Followings are AT commands related to the Bypass mode
communication.
EZBee series Manual / Ver. 1.0
37
OK/ERROR
FA
Command
ATD
AT+DST
+++ None OK
Parameter Result Description
<space><DstID>
? <DstID>
=<DstID>
/
IL/NO_MEM
/NWK_STOP
OK /ERROR
Convert from ASCII mode to
Bypass mode
Read a receiver ID of the Bypass
mode
Set a receiver ID of the Bypass
mode
Convert from Bypass mode to
ASCII mode
In Bypass mode, all data are transmitted to the assigned receiving
modem. Accordingly the ASCII or EBI mode is more suitable than the
Bypass mode when a receiving modem is changed frequently or data are
transmitted to group or broadcasted all modem joined in the network.
ATD command can omit the <DstID> parameter. In this case, data
are transmitted to a modem ID which was set by ‘AT+DST’ or previous ATD
command.
Following diagram shows the example of data transmission in Bypass
mode.
EZBee series Manual / Ver. 1.0
38
It is not necessary the receiver and sender have been set as same
communication mode. The communication mode is selected according to
the operating environment.
If a sender is set as Bypass mode and a receiver as ASCII mode, and
the sender sends a long message, the receiver can receive the message
as divided length of messages due to the size of internal buffer or
transmission delay.
For converting from the Bypass to ASCII mode, a string “ +++” should
be typed at least 300 [ msec] later af ter transmitting the final data. A
mode converting is succ eeded if no characters are inputted during 300
[ msec ] after inputting the string “ +++ ” . If any characters are inputted
within 300 [ msec] , it is considered as the transmitting data.
EZBee series Manual / Ver. 1.0
39
OK/ERROR
N
7.4
7.4 Reading a
7.47.4
A 16 bit short- address assigned during the process of joining in the
PAN can be obtained by utilizing following AT commands. A short-
address is mainly used in practical communication instead of an extended
address.
Reading a Short
Reading a Reading a
Short---- address
ShortShort
address
addressaddress
Command Parameter
AT+SA?
AT+SA@
If the short- address returned from a modem shows 0xFFFE, then it
means the short address is not assigned because the PAN is not started or
a modem is not joined in the PAN yet.
In case of a remote modem, it returns a following message when a
message transmission is succeeded.
Message
$SA@
None <short address> Read a short-address assigned
<DstID>?
Parameter Description
<DstID>=<SADDR>
Result Description
/
Check a short-address having a remote
WK_STOP
Show a short-address <SADDR> of a remote
modem <DstID>
modem ID <DstID>
7.5
7.5 Reading an e
7.57.5
Using following commands, the IEEE 64bit extended address of a
specific modem is readable.
EZBee series Manual / Ver. 1.0
Reading an extended address
Reading an eReading an e
xtended address
xtended addressxtended address
40
OK/ERROR
NWK
Command
AT+EA?
AT+EA@
In case of a remote modem, it returns a following message when a
message transmission is succeeded.
Message Parameter Description
$EA@
Parameter Result Description
Read an extended address of a
None <extended address>
current modem.
/
<DstID>?
_STOP
Show an extended address <EADDR> of a remote
<DstID>=<EADDR>
modem <DstID>.
Read an extended address of a
remote modem having <DstID>
7.6
7.6 Resetting a Modem
7.67.6
The c ommand for modem resetting is shown as following.
Command
Command Parameter
CommandCommand
ATZ
ATZ None $RESET
ATZATZ
Resetting a Modem
Resetting a Modem Resetting a Modem
Parameter Result
ParameterParameter
Result Description
ResultResult
$RESET
$RESET$RESET
Description
DescriptionDescription
Software reset for a modem
7.7
7.7 Resetting a Network
7.77.7
In case of changing network parameters or joining again in the PAN,
the network status should be reset using following AT command.
Command Paramete
ATNZ
Resetting a Network
Resetting a NetworkResetting a Network
Result Description
r
None
$RESET
Reset the network
EZBee series Manual / Ver. 1.0
41
7.8
7.8 Reading a modem version
7.87.8
Reading a modem version
Reading a modem versionReading a modem version
It is checked the firmware version of a modem using following AT
command.
Command
Command Parameter
CommandCommand
ATV
ATV None
ATVATV
7.9
7.9 Reading a modem status
7.97.9
Parameter
ParameterParameter
Reading a modem status
Reading a modem statusReading a modem status
Result
Result Description
ResultResult
EZB300FV1.0
EZB300FV1.0 EZBEE300 FFD version 1.0
EZB300FV1.0EZB300FV1.0
EZB300RV1.0
EZB300RV1.0 EZBEE300 RFD version 1.0
EZB300RV1.0EZB300RV1.0
Description
DescriptionDescription
It is checked the current status of a modem using following AT
command.
Command
Command
CommandCommand
ATS
ATS None
ATSATS
Parameter
Parameter
ParameterParameter
7.10
7.10 GPIO
7.107.10
GPIO control and setting
GPIO GPIO
Result
Result Description
ResultResult
$NWK=STOP
$NWK=STOP
$NWK=STOP$NWK=STOP
$NWK=COORD
$NWK=COORD
$NWK=COORD$NWK=COORD
$NWK=ROUTER
$NWK=ROUTER,,,,<SADDR>
$NWK=ROUTER$NWK=ROUTER
control and setting
control and settingcontrol and setting
Description
DescriptionDescription
Non- establishing a PAN or not
join in the PAN
PAN is started and a modem set
as a coordinator in the PAN
A modem is joined in the PAN as
a Router, and a short- address is
assigned as <SADDR>
The EZBee formats support the functionality to read GPIO and ADC of
remote modems. It can read 8 GPIO ports and 2 ADC channels having 10
bit resolution.
EZBee series Manual / Ver. 1.0
42
7.10.1
7.10.1 GPIO
7.10.17.10.1
GPIO direction setting
GPIO GPIO
direction setting
direction settingdirection setting
The GPIO direction of a loc al or remote modem c an be set by utilizing
following AT commands.
Command
AT+IOD?
AT+IOD=
Parameter Result Description
None <direction value>
<value> <direction value>
Read the GPIO direction of a
local modem
Set the GPIO direction of a
local modem
<DstID>?
Read the GPIO direction of a
remote modem.
AT+IOD@
<DstID>=<value>
OK
Set the GPIO direction of a
remote modem
The format of GPIO is shown as following.
7(MSB) 6 5 4 3 2 1 0(LSB)
PORT7 PORT6 PORT5 PORT4 PORT3 PORT2 PORT1 PORT0
Effective value (00~FF)
If the bit value of a port is 1, then the port acts as the output port. If
the bit value of a port is 0, then the port acts as the input port.
In order to set the GPIO input/ output mode of a remote modem, the
value for acc essing to a remote modem should be set as 1. Please refer
to a command ‘ AT+RA’.
When the command for a remote modem is accomplished suc cessfully,
a following event message is returned.
Message Parameter Description
$IOD@
EZBee series Manual / Ver. 1.0
<DstID>=<value>
Return the GPIO input/output mode value of a
remote modem <DstID>
43
7.10.2
7.10.2 GPIO
7.10.27.10.2
GPIO control
GPIO GPIO
control
controlcontrol
For control or monitor GPIO of a local or remote modem, following AT
commands are utilized.
Command
AT+IO?
AT+IO=
AT+IO@
AT+IO@
Parameter Result Description
None <value>
<value> <value>
<DstID>?
<DstID>=<value>
OK
OK
Read the GPIO status value of a local
modem
Set the GPIO status value of a local
modem
Read the GPIO status value of a
remote modem
Set the GPIO status value of a remote
modem
The format of GPIO is shown as following.
7(MSB)
6 5 4 3 2 1 0(LSB)
PORT7 PORT6 PORT5 PORT4 PORT3 PORT2 PORT1 PORT0
Effective value (00~FF)
When the bit value of each port is 1, it means the port voltage level
(status) is high. When the bit value is 0, the port voltage is low. It is
possible to set the bit of each port when the port is assigned as an output
port.
When the command for a remote modem is accomplished suc cessfully,
a following event message is returned.
Message Parameter Description
$IO@
EZBee series Manual / Ver. 1.0
<DstID>=<value>
Return the GPIO status value of a remote modem
<DstID>
44
7.10.3
7.10.3 ADC
7.10.37.10.3
ADC reading
reading
ADC ADC
readingreading
The status value of a local or remote modem c an be checked by
following AT commands.
Command Parameter Result Description
AT+ADC?
AT+ADC@
None < CH1>,<CH2>
<DstID>?
OK
Read the ADC status value of a
local modem
Read the ADC status value of a
remote modem
The ADCs in EZBee modem are 2 channels having 10 bit resolution,
and operated based on 3.3V reference voltage.
The status value of the ADC is expressed as ASCII HEX format. For
example, if 1.25V and 2.5V are inputted onto channel 1 and channel 2,
respec tively, the ADC status values are expressed as 060F and 0C1E.
When the command for a remote modem is accomplished suc cessfully,
a following event message is returned.
.
Message Parameter
$ADC@
<DstID>=<CH1>,<CH2>
Description
Return ADC status value of a remote modem
<DstID>
7.11
7.11 Remote control
7.117.11
Remote control allowance setting
Remote controlRemote control
allowance setting
allowance settingallowance setting
In the EZBee formats, the allowance is selectable whether it make a
remote modem control the GPIO or c hange parameters of a local modem
in the PAN.
EZBee series Manual / Ver. 1.0
45
PAN
Command Parameter
AT+RA?
None 1 / 0 Check the current allowance assigned
1
AT+RA=
0
7.12
7.12 PAN
7.127.12
The
allowance for joining in PAN is selectable. The EZBee formats can