function wp_mail() {} {"id":2841,"date":"2013-10-17T14:41:00","date_gmt":"2013-10-17T19:41:00","guid":{"rendered":"http:\/\/www.serialporttool.com\/sptblog\/?p=2841"},"modified":"2013-10-17T14:58:05","modified_gmt":"2013-10-17T19:58:05","slug":"send-remote-at-command-in-api-mode-with-zigbee-operator","status":"publish","type":"post","link":"https:\/\/www.serialporttool.com\/sptblog\/?p=2841","title":{"rendered":"Send Remote AT Command in API Mode with ZigBee Operator"},"content":{"rendered":"

ZigBee Operator<\/a> is a professional tool to learn, research, develop and test Digi\u2019s ZigBee\/XBee module. It implements both API encoder and decoder for Digi\u2019s XBee & ZigBee Mesh and 802.15.4. Both AT and API commands are supported.<\/p>\n

It\u2019s so easy to send AT commands in API mode with ZigBee Operator comparing with X-CTU software. You don\u2019t need input the long command packet and calculate the checksum. You only input the short command text and parameter according to the XBee Command Reference Tables. ZigBee Operator makes it so easy to configure, develop or test for XBee, ZigBee, 802.15.4 modules.<\/p>\n

Download ZigBee Operator<\/strong><\/u><\/em><\/font><\/a><\/p>\n

Here are the sample steps for how to send Remote AT command for DIO4 Configuration:<\/p>\n

1. Download and install ZigBee Operator.<\/p>\n

2. Connect two XBee 802.15.4 modules with your computer by ZigBee to Serial Port adapters.<\/p>\n

\"XBee<\/a>     \"XBee<\/a><\/p>\n

3. Run two ZigBee Operator applications, open the COM Port connected with above two XBee modules separately, and select the right baud rate for them. Here Module 1 is connected with COM 7, and Module 2 is connected with COM 8.<\/p>\n

\"ZigBee<\/a>   \"ZigBee<\/a><\/p>\n

4. On both of ZigBee Operator (M1 and M2), click \u201cAT Terminal<\/strong>\u201d button to show Terminal Window<\/strong>. Type the AT Commands to make sure it\u2019s in API mode.<\/p>\n

\"ZigBee<\/a><\/p>\n

5.  Click \u201cDevice Properties<\/strong>\u201d icon on ZigBee Operator-M2 to show Device Properties<\/strong> dialog. You can read the address of Module 2 directly. The address of Module 1 can also be read like this on ZigBee Operator (M1). Here, we will use Module 2 to remote control Module 1, the destination address already be selected from the Device Data Base form on Device Properties dialog below.<\/p>\n

\"ZigBee<\/a> <\/p>\n\n\n\n\n\n
Module 1 address: <\/td>\nModule 2 address: <\/td>\n<\/tr>\n
SH = 0013A200<\/td>\nSH = 0013A200<\/td>\n<\/tr>\n
SL = 4033DD15<\/td>\nSL = 4092F15C<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

6.  On ZigBee Operator \u2013 M1, click \u201c802.15.4<\/strong>\u201d button  to show Quick Send \u2013 XBee & XBee \u2013PRO 802.15.4<\/strong> panel, and select AT Command<\/strong> for command type.<\/p>\n

\"ZigBee<\/p>\n

7. On ZigBee Operator \u2013 M2, click \u201c802.15.4<\/strong>\u201d button  to show Quick Send \u2013 XBee & XBee \u2013PRO 802.15.4<\/strong> panel, and select  Remote AT Command<\/strong> for command type. Click Edit<\/strong> button to input or select address of remote XBee module (M1).<\/p>\n

\"ZigBee<\/p>\n

8. \u201cD4<\/strong>\u201d is the AT Command for DIO4 Configuration.  On ZigBee Operator \u2013 M1, input D4<\/strong> for the command and click Send<\/strong> button. You will see all Send and Receive information in Log Data<\/strong> panel.  Here, the current DIO4 parameter of Module 1 is 5, that means DIO 4 digital output is high. At this moment, the LED5 on the adapter of Module 1 is off.<\/p>\n

\"ZigBee<\/a><\/p>\n

\"LED5<\/a><\/p>\n

9. On ZigBee Operator \u2013 M2,  input D4<\/strong> command with parameter 4<\/strong> to set DIO4 digital output of Module 1 to low remotely. <\/p>\n

\"ZigBee<\/a><\/p>\n

The Remote AT Command is sent successfully. However, the LED5 on adapter of Module 1 has no any change.  After sending AC<\/strong> command you will see the LED5 is on now.<\/p>\n

\"ZigBee<\/a><\/p>\n

\"LED5<\/a><\/p>\n

10. On ZigBee Operator \u2013 M1, send the D4<\/strong> command again to make sure the current parameter of DIO4 has been changed to 4 remotely.<\/p>\n

\"ZigBee<\/a><\/p>\n

Following above steps, you can send other remote AT commands in API mode with ZigBee Operator.<\/p>\n

Back to ZigBee Operator homepage<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

ZigBee Operator is a professional tool to learn, research, develop and test Digi\u2019s ZigBee\/XBee module. It implements both API encoder and decoder for Digi\u2019s XBee & ZigBee Mesh and 802.15.4. Both AT and API commands are supported. It\u2019s so easy […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[246,118,117,248,249,247,113,114],"class_list":["post-2841","post","type-post","status-publish","format-standard","hentry","category-zigbee","tag-802-15-4","tag-api-mode","tag-at-command","tag-module","tag-remote-at-command","tag-xbee","tag-zigbee-2","tag-zigbee-operator"],"_links":{"self":[{"href":"https:\/\/www.serialporttool.com\/sptblog\/index.php?rest_route=\/wp\/v2\/posts\/2841","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serialporttool.com\/sptblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.serialporttool.com\/sptblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.serialporttool.com\/sptblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serialporttool.com\/sptblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2841"}],"version-history":[{"count":1,"href":"https:\/\/www.serialporttool.com\/sptblog\/index.php?rest_route=\/wp\/v2\/posts\/2841\/revisions"}],"predecessor-version":[{"id":2842,"href":"https:\/\/www.serialporttool.com\/sptblog\/index.php?rest_route=\/wp\/v2\/posts\/2841\/revisions\/2842"}],"wp:attachment":[{"href":"https:\/\/www.serialporttool.com\/sptblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.serialporttool.com\/sptblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.serialporttool.com\/sptblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}