mg245x-zdk profile simulator user’s guide - radiopulse tools-en/adt0102... · modify zigbee1.1 to...
TRANSCRIPT
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:2/44
www.radiopulse.co.kr
REVISION HISTORY
Version Date Description
VER.1.0 2007.8.31 ▢ First Version Release
VER.1.1 2007.10.4
▢ Section 1.2
Modify ZigBee1.1 to ZigBee 2006.
▢ Add document name in section 1.2
▢ Section 5.3
-Modify [Figure 8] and [Figure 9] in section 5.3.
VER.1.2 2008.11.19 - Modify the contents for ZigBee 2007, PRO
VER.1.3 2009.2.27
▪ Add Software User License Agreement.
▪ Section 3
-Add installation pictures.(3.0)
VER.1.31 2009.6.16 ▪ Section 3
-update to Profile-Simulator V3.01
VER.1.32 2010.1.5 ▪ Section 3
-update to Profile-Simulator V3.02
VER.1.4 2011.1.17
▪ Section 3
- Update to Profile-Simulator V3.10.
▪ Section 5.1
- Add „Port Type„ in Communication
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:3/44
www.radiopulse.co.kr
CONTENTS
1. INTRODUCTION................................................................................................................................... 6
1.1. DEFINITIONS ................................................................................................................................................................... 6
2. PROFILE-SIMULATOR .......................................................................................................................... 7
3. INSTALLATION ..................................................................................................................................... 8
4. PROFILE-SIMULATOR MENU ........................................................................................................... 12
4.1. MENU BAR .................................................................................................................................................................. 12
4.2. TOOL BAR .................................................................................................................................................................... 15
5. START PROFILE-SIMULATOR ........................................................................................................... 16
5.1. CONNECT TO PC ........................................................................................................................................................ 16
5.2. SET NETWORK INFORMATION OF DEVICE ( ZIGBEE 2004, 2006 )............................................................. 18
5.3. FORMAT PAN BY ZIGBEE COORDINATOR ............................................................................................................ 20
5.4. FORMAT PAN BY ZIGBEE ROUTER ........................................................................................................................ 25
5.5. FORMAT PAN BY ZIGBEE END-DEVICE................................................................................................................ 29
5.6. DEVICE MANAGER ..................................................................................................................................................... 32
5.6.1. Node Monitoring in Network Tree Work Space ....................................................................... 32
5.6.2. Node Monitoring by Device Manager............................................................................................ 33
5.6.3. Node Simulation by Device Manager ............................................................................................. 33
5.6.4. Network Simulation .................................................................................................................................. 36
5.6.5. Profile-Simulation ....................................................................................................................................... 39
5.6.5.1. Profile Data Transmission.................................................................................................................. 39
5.6.5.2. Profile Data Reception ........................................................................................................................ 40
5.7. BIND MANAGER ......................................................................................................................................................... 41
5.8. ZSTACK MANAGER ..................................................................................................................................................... 42
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:4/44
www.radiopulse.co.kr
Software User License Agreement
You are licensed to legally use this software program (“the Software”) by RadioPulse Inc. (“RadioPulse”) under this license agreement (“The Agreement”). If you do not agree with any of the terms and conditions in this Agreement, please do not install, copy or use the Software. By using the Software, you are deemed to fully understand and accept the provisions of this Agreement. 1. Intellectual Property All intellectual property rights in the Software, together with all information and documents included in the packaging for the Software (including but not limited to copyrights), are property and confidential information of RadioPulse, and are protected by relevant laws and regulations. 2. License to Use You are authorized to use the Software on one (1) single computer only. You may not use the Software on any other machines other than the single computer which the Software is installed in. 3. Authority to Copy The Software and all documents included with the Software, and copyright thereof, are property of RadioPulse. You are licensed to make one (1) copy of the Software for your personal backup purposes. All other acts of copying are strictly prohibited. You may not sell, lease, dissemble, reverse engineering, copy, translate, adapt or derive the Software, or obtain the source code of the Software by any other means. You may not use the Software for any purposes other than those permitted under this Agreement. 4. Liability You agree to indemnify RadioPulse against all losses, costs, debts, settlement payments or other expenses (including but not limited to attorneys fees) arising from your breach of this Agreement, and you agree to compensate RadioPulse for all of the abovementioned damages. 5. No Warranty Effectiveness of a packaged software in handling information is closely related to its software and hardware environment. The Software is published following careful development and product testing by RadioPulse, but RadioPulse is not able to conduct tests based on all possible combinations of software and hardware environment. Therefore, RadioPulse is unable to promise nor warrant that there will be absolutely no risk of loss or damage of information, or any other kind of loss, during installation and/or execution of the Software. You must be fully aware of your risks in using the Software. RadioPulse will provide you with the Software and support services in respect of the Software to the maximum extent permitted by law. However, RadioPulse does not warrant that the Software and information included in the package of the Software contain no defects or errors. RadioPulse is not liable for any indirect, special or incidental loss arising from the Software, including but not limited to loss of profits, damage to business reputation, cessation of work, hardware malfunction or damage, or any other commercial damage or loss arising from commercial use of the Software. 6. Limitation of Liability and Damages The maximum amount of compensation payable by RadioPulse, in respect of any damage incurred by you for any reason under this Agreement, is limited to the amount you have already paid to RadioPulse in respect of the Software. Under no circumstances will RadioPulse be held liable for the possibility of loss, notwithstanding RadioPulse may be aware of the possibility of such loss. 7. Prohibition against Sublicense You are prohibited to assign the license in respect of the Software granted to you under this Agreement, or to grant a sublicense to another person. 8. Governing Law You agree that the court of Republic of Korea have jurisdiction over them and this Agreement, that Seoul, South Korea, is the appropriate place of any litigation arising hereunder, and that all such
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:5/44
www.radiopulse.co.kr
litigation shall, to the extent possible, be in Seoul, Korea. The language to be used in the arbitral proceedings shall be Korean, and all documents not in Korean submitted by either party must be accompanied by a translation into Korean. 9. Miscellaneous In the event that any provision of this Agreement is found to be invalid at law, such invalidity will not affect the validity of any other provisions, or the legal enforceability of such other provisions.
In the event that the Software cannot be executed under conditions of normal use, due to any
damage to the original disk/s, RadioPulse will replace the disk/s free of charge.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:6/44
www.radiopulse.co.kr
1. INTRODUCTION
This is the user manual for the RadioPulse Profile-Simulator. The Profile-Simulator,
Win32 application tool, is used for testing a Zigbee device such as coordinator, router or
end device.
1.1. Definitions
▢MG245X-ZDK: a ZigBee compliant ZigBee Development Kit of RadioPulse.
▪MG2455-F48: ZigBee and IEEE802.15.4 compliant single chip solution developed
by RadioPulse.(22GPIO, QFN Type)
▪LM2455-EM: ZigBee and IEEE802.15.4 compliant 2.4GHz ZigBee Module for
evaluation with MG2455-F48 chip.
▪MG2450-B72: ZigBee and IEEE802.15.4 compliant single chip solution developed
by RadioPulse.(24GPIO, BGA Type)
▪LM2450-EM: ZigBee and IEEE802.15.4 compliant 2.4GHz ZigBee Module for
evaluation with MG2450-B72 chip.
▢MG245X-EVB: a PC interface board of LM2455-EM. This board makes it possible
to download user programs to LM2455-EM or connect to host programs in PC system.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:7/44
www.radiopulse.co.kr
2. PROFILE-SIMULATOR
Profile-Simulator is used for testing a ZigBee device such as coordinator, router or end
device. In addition, it is used to generate ZigBee standard Primitive function for MAC,
NWK, APS, ZDO and APP layer.
Profile-Simulator can be connected to ZigBee Coordinator, Router and End device and
each function is performed. The major functions are as follows;
① ZigBee Coordinator
- Network Formation
- Register Device
- Register Profile
- Control other device as first controller.
- Request ZDO Primitive functions and response.
- Manage Binding Table
② ZigBee Router and End-Device
- Connect to Network.
- Request device registration to other Coordinator.
- Request profile registration to other Coordinator.
- Control other device as second controller like a remocon.
- Request ZDO Primitive functions and response.
- Recover a device of IEEE address.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:8/44
www.radiopulse.co.kr
3. INSTALLATION
Please double click „Setup.exe‟ in „1. Development Tool Software\Profile_Simulator\‟ in
the CD. For the installation of Profile-Simulator, please refer to the „MG245X-ZDK
Getting Started‟ document. The following shows installation of Profile-Simulator.
Step 1 ▶ When clicking „Setup.exe‟ in Profile-Simulator, the screen for installation is
shown as below.
Step 2 ▶ Press ‘I accept the items of the license agreement’ radio button, ‘Next’ button
for license agreement.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:9/44
www.radiopulse.co.kr
Step 3 ▶ Fill out user name and company name.
Step 4 ▶ Select a folder to install and press „Next‟.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:10/44
www.radiopulse.co.kr
Step 5 ▶ When ready, start installation by pressing „Install‟.
(When error occurs in setting, go to upper menu by „Back‟ button.)
Step 6 ▶ Install Profile-Simulator.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:11/44
www.radiopulse.co.kr
Step 7 ▶ Installation is finished. Press „Finish‟ button.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:12/44
www.radiopulse.co.kr
4. PROFILE-SIMULATOR MENU
4.1. Menu Bar
① View
ToolBar
Main ToolBar: View and hide Tool bar which has communication connection and
disconnection used in Profile-Simulator.
DeviceInfo ToolBar: View and hide Tool bar which shows the information of the
device connected to Profile-Simulator.
StatusBar
View and hide the status of Profile-Simulator. It‟s located at the bottom of the menu.
② Setup
Connection: Connect RS232(Serial) communication.
Disconnection: Disconnect RS232(Serial) communication.
③ Tools
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:13/44
www.radiopulse.co.kr
ZStack Manager: Select ZStack Manager for setting parameter of network.
Device Manager: Select Device Manager for setting parameter of ZigBee node.
Bind Manager: Select Bind Manager for performing binding of network.
( Not available in current version )
ZigBee Device Wizard: Select Network Configuration for network formation.
Network Tree
View Network Tree: View and hide Network Tree window.
Preview Network Tree: View and hide Preview Network Tree window.
Log
UART Log Window: View and hide Output log window which records the
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:14/44
www.radiopulse.co.kr
communication packet of UART or Ethernet and log.
TxZigBeeStack: View and hide log window which records ZigBee packet
transmitted by UART.
RxZigBeeStack: View and hide log window which records ZigBee packet received
from UART.
All Clear Log: Delete log message of total log windows(UART Log Window, Tx Log
Window, Rx Log Window)
.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:15/44
www.radiopulse.co.kr
4.2. Tool Bar
-IEEE Addr: IEEE Address(8Bytes) of device.
-NWK Addr: Network Address(2Bytes) of device.
-PANID: PAN ID on which a device is currently working.
-Channel: RF Channel on which a device is currently working.
-Device Type: Type of device(Coordinator, Router, End Device)
-AddrAlloc: Type of Address Allocation (Distributed Address, Stochastic Address)
Icon Description Icon Description
Connect communication by RS232(Serial)
Run ZStack Manager
Disconnect communication connection.
Run Device Manager
Select ZigBee Protocol Version
Run Bind Manager
Network setting and formation.
Total log (UART Log Window, TxZigBeeStack, RxZigBeeStack ,) Delete message
Ping test (Hardware test).
Set device information.
Store ZigBee network information to Flash memory (System Back up)
About Profile Simulator
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:16/44
www.radiopulse.co.kr
5. START PROFILE-SIMULATOR
5.1. Connect to PC
① Please open Profile-Simulator by clicking Profile-Simulator icon on window.
② As shown in [Figure 1], Profile-Simulator is displayed.
Figure 1. Profile-Simulator initial window
③ After opening Profile-Simulator, a user puts LM2455-EM, which firmware is
downloaded, into MG245X-EVB. After that, connect MG245X-EVB to PC by a USB
cable.
④ Please select ZigBee Protocol version by on toolbar. Currently
MG245X-EVB supports ZigBee 2006 and ZigBeePRO.
⑤ When clicking connection icon( ) to set communication connection,
Communication window in [Figure 2] is displayed. Please select RS232(Serial) in
communication window according to the way connected MG245X-EVB into PC.
When selecting RS232(Serial), COM port, Baud Rate, Data Bit and Parity Bit can
be set.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:17/44
www.radiopulse.co.kr
Figure 2. Communication Window in Profile-Simulator
The following is parameter setting value for connecting Profile-Simulator.
RS232 (Serial)
Connect MG245X-EVB with LM2455-EM to PC by RS232 communication
connection.
Port Type: Select current COM port type on the MG245X-EVB.
- All Serial Port: All COM Port connected to PC.
- USB to Serial Port(CP210X): COM Port in form of CP210X USB chip.
Port: Select the port which MG245X-EVB is currently connected to PC.
Rate: 115,200 bps
Data: 8-bit
Parity: None
Stop: 1-bit
If port setting is wrong or unexpected error is caused, error message below is displayed.
When the error message below is showed, please press „Reset‟ button to initialize
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:18/44
www.radiopulse.co.kr
MG245X-EVB or check ISP Switch(SW3) setting. When ISP Switch(SW3) is set to ‘ISP’
mode, it cannot be connected.
Figure 3. Communication Fail Message
When MG245X-EVB is connected successfully, the message below is showed.
Figure 4. Communication Success Message
Caution: When connecting MG245X-EVB to PC by a USB cable, SW1 switch on
MG245X-EVB should be set to „USB‟ mode. When connecting MG245X-EVB to PC
by a RS-232 cable, SW1 switch on MG245X-EVB should be set to „EXT‟ mode.
NOTE: When RS-232 serial cable is used to connect to PC, external power of 5V, 2A is
needed. When USB cable is used, USB power is used so there‟s no need for extra DC
power device.
5.2. Set Network Information Of Device ( ZigBee 2004, 2006 )
The network information of ZigBee device connected to Profile-Simulator should be set
before operating it as ZigBee PAN Coordinator, ZigBee Router or End Device.
When clicking Set Device Information Icon( ),ZigBee Configuration window in [Figure
5] is displayed. Network information value can be set in [Figure 5]
When clicking OK button after setting network information value, the network information
of ZigBee device connected to Profile-Simulator is set.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:19/44
www.radiopulse.co.kr
Figure 5. ZigBee Configuration Window
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:20/44
www.radiopulse.co.kr
5.3. Format PAN by ZigBee Coordinator
The way to format new network in Profile-Simulator is as follows.
① To make new ZigBee network, click Tools>ZigBee Device Wizard on Menu bar or
icon.
② As shown in [Figure 6], please click „Next‟ button when ZigBee Device Wizard
window is displayed.
Figure 6. ZigBee Device Wizard Window
③ As shown [Figure 7], Network Information setting window is displayed.
1) Distributed Address Allocation ( Lower version than ZigBee 2004 )
Please check defined network information (IEEE Address, Max Children, Max
Depth, Max Router) again. If you want to change value, you can change it. Please
click „Next‟ button.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:21/44
www.radiopulse.co.kr
Figure 7. Network Information Setting Window ( Distributed Address Allocation )
IEEE Address
IEEE Address of connected device.
Max Children
Max number of child node which connected device can have.
Max Depth
Max routing depth of connected device.
Max Router
Max number of node which can be operated as router of max children that
connected device can have.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:22/44
www.radiopulse.co.kr
2) Stochastic Address Allocation ( ZigBeePRO )
In the case using ZigBeePRO, select the Stochastic Address Allocation. Please
click „Next‟ button.
Figure 8. Network Information Setting Window ( Stochastic Address Allocation )
④ As shown in [Figure 9], ZigBee Device Type window is displayed. After selecting
ZigBee Coordinator to format network, click „Next‟ button.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:23/44
www.radiopulse.co.kr
Figure 9. ZigBee Device Type Selection Window
⑤ Please type the setting value to set ZigBee Coordinator and then press „Next‟
button.
Figure 10. Value setting window for ZigBee Coordinator
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:24/44
www.radiopulse.co.kr
When joining as ZigBee Coordinator, necessary Primitive of NWK layer is as follows. For
more detail information, please refer to „[MG245X-ZigBeePRO] API Reference‟
document.
■ Reset Request
■ Network-Formation Request
■ Permit-Joining Request
⑥ In ⑤ above, when clicking „Next‟ button, process is performed to format network.
When ZigBee Coordinator formats network successfully, [Figure 11] is displayed. If
failed, please try again as pressing‟Retry‟ button or press „Back‟ button and then
start again from ⑤ step above. After that, press „Next‟ button.
Figure 11.Join as ZigBee Coordinator successfully
Note: ZigBee Coordinator is only device to format ZigBee Network operating
entire device registration and synchronization.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:25/44
www.radiopulse.co.kr
⑦ Finish ZigBee Device Wizard.
Figure 12. Finish Screen
⑧ Now ZigBee device is ready to operate as PAN Coordinator.
5.4. Format PAN by ZigBee Router
The following is the procedure to join PAN as ZigBee Router after ZigBee Coordinator
formats PAN.
① Try in Section 5.3 by clicking Tools> ZigBee Device Wizard on Menu bar or
icon.
② As shown in [Figure 13], the window for selecting ZigBee Device Type is displayed.
In order to join network as router, click „Next‟ button after selecting ZigBee Router.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:26/44
www.radiopulse.co.kr
Figure 13. ZigBee Device Type Selection Window
③ Please type the setting value to set ZigBee Router and then press „Next‟ button.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:27/44
www.radiopulse.co.kr
Figure 14. Value setting window for ZigBee Router
When joining as ZigBee Router, necessary Primitive of NWK layer is as follows. For more
detail information, please refer to „[MG245X-ZigBeePRO] API Reference‟ document.
■ Reset Request
■ Network-Discovery Request
■ Join Request
■ Permit-Joining Request
■ Start-Router Request
④ In ③ above, when clicking „Next‟ button, process is performed to join network as router.
When ZigBee Router is joined to network successfully, [Figure 15] is displayed. If failed,
please try again as pressing „Retry‟ button or press „Back‟ button and then start again from
③ step above. After that, press „Next‟ button.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:28/44
www.radiopulse.co.kr
Figure 15. Join to Network as ZigBee Router Successfully
⑤ Finish ZigBee Device Wizard.
Figure 16. Finish Screen
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:29/44
www.radiopulse.co.kr
⑥ Now ZigBee device is ready to operate as router.
5.5. Format PAN by ZigBee End-Device
The following is the procedure to join PAN as ZigBee End-Device after ZigBee Coordinator
formats PAN.
① Try in Section 5.3 by clicking Tools> ZigBee Device Wizard on Menu bar or
icon.
② As shown in [Figure17], the window for selecting ZigBee Device Type is displayed. In
order to join network as End-Device, click „Next‟ button after selecting ZigBee End Device.
Figure 17. ZigBee Device Type Selection Window
③ Please type the setting value to set ZigBee End-Device and then press „Next‟ button.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:30/44
www.radiopulse.co.kr
Figure 18. Value setting window for ZigBee End Devce
When joining as ZigBee End-Device, necessary Primitive of NWK layer is as follows. For more
detail information, please refer to „[MG245X-ZigBeePRO] API Reference‟ document.
■ Reset Request
■ Network-Discovery Request
■ Join Request
■ Permit-Joining Request
④ In ③ above, when clicking „Next‟ button, process is performed to join network as End
Device. When ZigBee End-Device is joined to network successfully, [Figure 19] is
displayed. If failed, please try again as pressing „Retry‟ button or press „Back‟ button and
then start again from ③ step above. After that, press „Next‟ button.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:31/44
www.radiopulse.co.kr
Figure 19. Join to Network as ZigBee End-Device Successfully
⑤ Finish ZigBee Device Wizard.
Figure 20. Finish Screen
⑥ Now ZigBee device is ready to operate as End-Device.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:32/44
www.radiopulse.co.kr
5.6. Device Manager
A user can try the following operation by using Device Manager.
□ ZigBee Device Monitoring
□ ZigBee Device Simulation
□ Network Simulation
□ Profile Simulation
The following are icons used in Device Manager.
Icon Description Icon Description
ZigBee Coordinator ZigBee End-Device
ZigBee Router (change
into in future )
ZigBee Endpoint
5.6.1. Node Monitoring in Network Tree Work Space
Figure 21. Network Tree Work Space
□ Normal Device: Display Network(short) Address and IEEE(Extended) Address.
□ Abnormal Device: Display Network(short) Address.
Network Tree Work Space in the left side of Profile-Simulator shows network structure. In
this tree, all network nodes(children of Coordinator) are shown. Each ZigBee device
represents 16bit short address and 64bit extended address.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:33/44
www.radiopulse.co.kr
5.6.2. Node Monitoring by Device Manager
Figure 22. Device Manager Table
When ZigBee Device(Router, End Device) is joined to network, it sends „End Device
Announce‟ of ZigBee device profiles by broadcast. After that, ZigBee coordinator
receives it and then informs the event to Profile-Simulator. Device manager of Profile-
Simulator request „Active End Point request‟ and „Simple Descriptor request‟ by the
device which sends „End Device Announce‟.
For the detailed information of ZigBee device profile, refer to the „[MG245X-ZigBeePRO]
ZDP & ZCL‟ document.
5.6.3. Node Simulation by Device Manager
Device Manager of Profile-Simulator can request the information for node descriptor,
power descriptor, and active endpoint of desire node or start „Leave Request‟.
In addition, corresponding node requests the simple descriptor of each endpoint which
corresponding node has.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:34/44
www.radiopulse.co.kr
Figure 23. Pop up Menu of Device Manager Table
When a user right clicks corresponding node by a mouse on Device Manager or each
endpoint ,which node has, pop-up menu is displayed as shown in [Figure 23].
A user can simulate by selecting corresponding menu on the pop-up menu. The
followings explain the items of menu. For more detailed information for it, refer to the
„[MG245X-ZigBeePRO] ZDP & ZCL‟ document and „[MG245X-ZigBeePRO] API
Reference‟.
■ Request Node Descriptor
It takes ‘Node Descriptor’ to have the information for each node in a device.
■ Request Power Descriptor
It takes ‘Power Descriptor’ to have the power information for each node in a device.
( In the „PROJECT_OPTION.h‟ header file, it is enabled when set
“#define ENABLE_ZDP_POWER_DESC 1 “ )
■ Request Simple Descriptor ( Not available in current version )
It takes ‘Simple Descriptor‟ to have detail information(e.g. profile etc.)for endpoint.
■ Request Active Endpoint
It takes the list of endpoint which is operating currently in a device.
■ Leave Network > Leave Only
Delete the selected node on network.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:35/44
www.radiopulse.co.kr
■ Leave Network > Leave with Children
Delete the selected node and children on network.
[Table 1] shows the result when selected request is performed normally. When clicking it
by mouse, it disappears automatically after few seconds.
Table 1. The result for each request
Request Result
Node Descriptor
Power Descriptor
Simple
Descriptor
N.A.
Active Endpoint
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:36/44
www.radiopulse.co.kr
5.6.4. Network Simulation
Self Control
A user can monitor node in Device Manager Table.
Figure 24. Self Control
A user can request network address or IEEE address of defined ZigBee device in Device
Manager of Profile-Simulator.
- IF you press the Add button, you can select the two request (NWK Addr req, IEEE
Addr Req) as shown in [Figure 25].
Figure 25. Add to Device-Manager
1) NWK Addr Req: If a user knows 64-bit extended address (IEEE address) of ZigBee
device, user can find 16-bit extended address (IEEE address) of ZigBee device.
2) IEEE Addr Req: If a user knows 16-bit network address of ZigBee device, user can
find 64-bit extended address (IEEE address) of ZigBee device.
- After selecting the Device in the Device Manager Table, if you press the Delete button,
it is deleted in network when receives the NLME-LEAVE command.
- After selecting the Device in the Device Manager Table, if you press the Ping button,
you can check the device in network when it is received the IEEE Addr REQ command.
- The Edit, Option button is not available in current version.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:37/44
www.radiopulse.co.kr
Network Preview ( ZigBee 2004, 2006 )
⑦ A user can simulate network structure. Click Tools> Network Tree>Preview Network
Tree.
Figure 26. Network Preview
As shown in [Figure 26],a user can test the path from ZigBee coordinator of desired
network address by typing NwkAddress, the number of MaxChildren, MaxRouters and
MaxDepth and clicking „Preview Device button‟.
The result is shown in [Figure 27].
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:38/44
www.radiopulse.co.kr
Figure 27. Preview Network Tree - Preview Device
In addition, in [Figure 28], a user can test the path from the ZigBee coordinator of the
devices in network by typing the number of MaxChildren, MaxRouters and MaxDepth
and clicking „Preview button‟.
Figure 28. Preview Network Tree - Preview Network
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:39/44
www.radiopulse.co.kr
Note: When there are several devices in corresponding network, memory of window is
used. Therefore, it‟s better to test by Preview Device to check the path of each device.
5.6.5. Profile-Simulation
Profile-Simulator can simulate endpoints of devices in network by Device Manager.
5.6.5.1. Profile Data Transmission
When trying to send profile data as endpoint in the device, a user should set proper
value for the following items.
■ Input Cluster: Cluster ID to simulate among input cluster list which endpoint has.
■ CMD Type: Simulation command type for profile.
■ Attribute ID: Attribute ID used in the input cluster selected above.
■ Data Type: Data type of attribute ID above.
■ Send: Data value(LSB first) to send.
After setting the items above, please click „>‟ button between „Send‟ and „Receive‟.
Profile-Simulator sends it to the endpoint of defined device.
Figure 29. Profile Data Transmission
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:40/44
www.radiopulse.co.kr
5.6.5.2. Profile Data Reception
Data received from the endpoint in the defined device is shown to the Receive item and
RSSI item shows RSSI value of the received packet.
When clicking Receive item, which includes received data, by a mouse, a user can
check corresponding data according to the type of profile in detail.
In addition, a profile programmed by a user can be simulated according to the same
procedure above.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:41/44
www.radiopulse.co.kr
5.7. Bind Manager
When occurring the event for binding among ZigBee devices, the result of corresponding
binding event is sent to ZigBee Coordinator and then binding table is made.
That is, binding table is kept and managed by ZigBee Coordinator
A user can check the binding table in the bind manager of Profile-Simulator
Bind Manager has index value , source address, source endpoint, cluster ID, destination
address, destination endpoint and the status for corresponding entry.
Figure 30. Bind Manager
Note: Currently ZigBee 2006 and PRO do not support it and will support shortly.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:42/44
www.radiopulse.co.kr
5.8. zStack Manager
ZStack Manager can simulate it after generating the functions of ZigBee and
IEEE802.15.4 standard primitive. In other words, it is easy to simulate by selecting
primitive because primitive functions for the each layer, which is MAC, NWK(Network),
SEC(Security), APS(Application Support), ZDP(ZigBee Device Profile) and
APP(Application), are provided.
NOTE: MAC Primitive is NOT supported in MG245X-ZDK.
Therefore, user can generate primitive functions for desired layer and simulate it by this
function.
For more detail information of primitive functions for each layer, refer to ZigBee,
IEEE802.15.4 standard and Stack API Manual.
Figure 31. ZStack Manager
TxLogWindow RxLogWindow
Set Primitive Select Primitive
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:43/44
www.radiopulse.co.kr
☞ Common way to use primitive in ZStack Manager
① Based on primitive, the area of right primitive setting is changed. If there are some
values to input based on the defined primitive, please type the proper value.
② Click 'Request button‟.
③ Check primitive value sent via Profile-Simulator in the ' TxLogWindow‟ on the left
side of the bottom.
④ Check the response of primitive sent via „RxLogWindow‟ on the right side of the
bottom.
ADT0102 MG245X-ZDK Profile Simulator User‟s Guide
V1.4 Page:44/44
www.radiopulse.co.kr
RadioPulse Inc
3rd Fl., Hans B/D II, 111-6 Seongnae-Dong,
Gangdong-Gu, Seoul, Korea, 134-883, Korea
URL: www.radiopulse.co.kr
Tel: +82-2-478-2963~5
Fax: +82-2-478-2967
About RadioPulse Inc.
RadioPulse is a Being Wireless solution provider offering wireless communication & network technologies and developing next generation wireless networking technologies. The new wireless networking solutions envisioned by RadioPulse will enable user to enjoy wireless technologies with easy interface. Founded in April of 2003, the company maintains it headquarters and R&D center in Seoul, Korea. Copyright (c) 2011 RadioPulse. All rights reserved.