<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Question) How to Send Payload from ZED to ZC?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69469/question-how-to-send-payload-from-zed-to-zc</link><description>Hello, I&amp;#39;m testing an example of a zigby light bulb with a nrf52840 (pca 10056) board. 
 Here, when I press &amp;quot;BUTNERT 1&amp;quot; on ZED, I want to send the [ON/OFF] status of the current light bulb to ZC. 
 I was told to use a Here at the next link, so I put it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Dec 2020 15:02:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69469/question-how-to-send-payload-from-zed-to-zc" /><item><title>RE: Question) How to Send Payload from ZED to ZC?</title><link>https://devzone.nordicsemi.com/thread/285676?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 15:02:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e137496e-f53a-4907-b5fb-b72cd49da8e0</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry for the late reply.&lt;/p&gt;
&lt;p&gt;The short address (Nwk Addr) of the ZC will be 0x0000. You can test this out yourself with the CLI agent sample if you want to. After setting the devices role as ZC with &amp;quot;bdb role zc&amp;quot; and starting the network with &amp;quot;bdb start&amp;quot;, you can check the devices short address with &amp;quot;zdo short&amp;quot;. You can get IEEE address using the short address with&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group___z_b___n_w_k___a_d_d_r.html?cp=7_3_5_1_8_5_10#ga2386cee89d4a775d2eae4cc9262cedfd"&gt;zb_address_ieee_by_short&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question) How to Send Payload from ZED to ZC?</title><link>https://devzone.nordicsemi.com/thread/284965?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 09:07:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5035c1b6-4022-426a-8ebe-96122ef9b3b5</guid><dc:creator>LeeJooSang</dc:creator><description>&lt;p&gt;At ZC (Zigby Light Coordinator sdk), &lt;br /&gt;The long address of ZC can be found by using &lt;strong&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group__zb__general__get.html#ga4a3476c6ee5bd51ef9a78e1529e1035e"&gt;zb_get_long_address&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;However, the function &lt;strong&gt;zb_get_short_address&amp;nbsp;&lt;/strong&gt;, which returns short-address, is missing and an error appears.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;However, I want to get the short or long address of ZC from ZED.&lt;/p&gt;
&lt;p&gt;Is there a way?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question) How to Send Payload from ZED to ZC?</title><link>https://devzone.nordicsemi.com/thread/284910?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 02:28:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:256988b9-7925-4249-b7c4-8f7227c69ba4</guid><dc:creator>Henry_Chou</dc:creator><description>&lt;p&gt;Short address defined to 0xffff means the broadcast message.Anyone can access the message.If you want to send the unique ZC, you have to fill the address of long or short address of coordinator.&lt;/p&gt;
&lt;p&gt;By the way, zigbee can assign the PANID and channel to define the group.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question) How to Send Payload from ZED to ZC?</title><link>https://devzone.nordicsemi.com/thread/284908?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 02:11:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fd34e19-2eea-49ab-8ed5-41a11c0b4f5e</guid><dc:creator>LeeJooSang</dc:creator><description>&lt;p&gt;The ZC was set up as follows:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/* receive test */

static zb_void_t zcl_receive(zb_bufid_t  *bufid)
{
    NRF_LOG_INFO(&amp;quot;zcl test&amp;quot;);
}
/* receive test */




int main(void)
{
    zb_ret_t       zb_err_code;
    zb_ieee_addr_t ieee_addr;
    
    timers_init();
    log_init();
    leds_buttons_init();
    
    ZB_SET_TRACE_LEVEL(ZIGBEE_TRACE_LEVEL);
    ZB_SET_TRACE_MASK(ZIGBEE_TRACE_MASK);
    ZB_SET_TRAF_DUMP_OFF();

    /* Initialize Zigbee stack. */
    ZB_INIT(&amp;quot;zc&amp;quot;);

    /* Set device address to the value read from FICR registers. */
    zb_osif_get_ieee_eui64(ieee_addr);
    zb_set_long_address(ieee_addr);

    /* Set channels on which the coordinator will try to create a new network. */
    zb_set_network_coordinator_role(IEEE_CHANNEL_MASK);
    zb_set_max_children(MAX_CHILDREN);
    
     /* zigbee receive test */
    ZB_ZCL_REGISTER_DEVICE_CB(zcl_receive);
    
    zigbee_erase_persistent_storage(ERASE_PERSISTENT_CONFIG);
    
    zb_err_code = zboss_start_no_autostart();
    ZB_ERROR_CHECK(zb_err_code);
    
    while(1)
    {
        zboss_main_loop_iteration();
        UNUSED_RETURN_VALUE(NRF_LOG_PROCESS());
    }
}

&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>