<?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>Zigbee device with custom profile</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79359/zigbee-device-with-custom-profile</link><description>Hi, 
 I am trying to receive packets from a device with Zigbee custom profile. Through sniffer, I can see that the device joins the network and sends packets on it but I cannot see them on nordic. 
 I was trying to use zb_af_set_data_indication(data_indication</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Sep 2021 09:13:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79359/zigbee-device-with-custom-profile" /><item><title>RE: Zigbee device with custom profile</title><link>https://devzone.nordicsemi.com/thread/329357?ContentTypeID=1</link><pubDate>Tue, 14 Sep 2021 09:13:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c44e729-83b1-44c2-8431-f796099400bf</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Laura,&lt;/p&gt;
&lt;p&gt;I am happy to hear that you solved the issue, and thank you for sharing your solution!&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: Zigbee device with custom profile</title><link>https://devzone.nordicsemi.com/thread/329276?ContentTypeID=1</link><pubDate>Mon, 13 Sep 2021 15:41:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a28e022-dbd2-429e-8473-6ed7901e2355</guid><dc:creator>Laura M</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve solved the issue: by adding&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;zb_disable_nwk_security();
zb_nwk_set_ieee_policy(ZB_FALSE);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;before zb_set_long_address(ieee_addr) i&amp;#39;m able to receive packets.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Laura&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee device with custom profile</title><link>https://devzone.nordicsemi.com/thread/329154?ContentTypeID=1</link><pubDate>Mon, 13 Sep 2021 08:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c94bdee-cc7f-4dcc-adc2-33cd4afa7f34</guid><dc:creator>Laura M</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;These are the packets:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Custom-device.pdf"&gt;devzone.nordicsemi.com/.../Custom-device.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The packets sent by this custom device are not encrypted.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using Nordic as a coordinator and I defined there 2 endpoints (ep 1 and ep 0xb) with profile 0xc0fb each of them containing only the corresponding cluster (3 and 0xb respectively).&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Laura&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee device with custom profile</title><link>https://devzone.nordicsemi.com/thread/329143?ContentTypeID=1</link><pubDate>Mon, 13 Sep 2021 07:32:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0032a71b-3ee8-4a5f-a347-d9c54af85e2a</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Laura,&lt;/p&gt;
&lt;p&gt;Could you please provide a sniffer log? Our developers would like to see what the custom profile packets look like.&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: Zigbee device with custom profile</title><link>https://devzone.nordicsemi.com/thread/329040?ContentTypeID=1</link><pubDate>Fri, 10 Sep 2021 13:06:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5210038-21cb-435a-a02a-dae18511c417</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Laura,&lt;/p&gt;
&lt;p&gt;Thank you for providing additional information.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you registered an endpoint handler of your device with&amp;nbsp;ZB_AF_SET_ENDPOINT_HANDLER? If so, this could cause an issue such as this. Most endpoints created for our examples have HA profile set by default, and commands targeted to this endpoint with some custom profile will not be received. You can try to change the existing endpoint to use custom profile id or create a separate endpoint with custom profile id. Another possibility is to use&amp;nbsp;the wildcard profile id for your custom profile id.&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: Zigbee device with custom profile</title><link>https://devzone.nordicsemi.com/thread/328657?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 15:17:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7f9f328-ec8d-4235-aeb5-55c8a0019323</guid><dc:creator>Laura M</dc:creator><description>&lt;p&gt;For me can be useful also a callback that shows all packets sent on the network. Do you have a function like this?&lt;/p&gt;
&lt;p&gt;Since I believe that the callback registered through&amp;nbsp;&lt;span&gt;zb_af_set_data_indication() applies a filter that does not allow me to receive packets from this device.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Laura&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee device with custom profile</title><link>https://devzone.nordicsemi.com/thread/328626?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 13:24:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89d17965-3bf8-4314-974a-59cc213c57ea</guid><dc:creator>Laura M</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;I register the callback just before&amp;nbsp;zboss_start_no_autostart(). This is the callback:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static zb_uint8_t data_indication(zb_uint8_t bufid)
{
  zb_uint8_t aps_payload_size = 0;
  zb_uint8_t *aps_payload_ptr = zb_aps_get_aps_payload(bufid, &amp;amp;aps_payload_size);
  zb_apsde_data_indication_t *ind = ZB_BUF_GET_PARAM(bufid, zb_apsde_data_indication_t);
  CDB_PRINT(APP_ZB_DB_PRINT1, &amp;quot;data_indication;Saddr;%04x;cluster;%04x;profile;%04x;size;%d\r\n&amp;quot;, \
            ind-&amp;gt;src_addr, \
            ind-&amp;gt;clusterid, \
            ind-&amp;gt;profileid, \
            aps_payload_size);

  for (zb_uint8_t i = 0; i &amp;lt; aps_payload_size; ++i)
  {
    CDB_PRINT(APP_ZB_DB_PRINT1, &amp;quot;aps_payload[%hd] == 0x%hx\r\n&amp;quot;, i, aps_payload_ptr[i]);
  }
  return ZB_FALSE;
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand the reason of this question since, as I wrote, I can see data_indication prints for other devices which have only HA profile. Anyway, I hope this can help you.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Laura&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee device with custom profile</title><link>https://devzone.nordicsemi.com/thread/328616?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 13:03:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2807f6a6-28d7-4871-97d7-35676e9f5210</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Laura,&lt;/p&gt;
&lt;p&gt;When in your code are you registering your callback with&amp;nbsp;zb_af_set_data_indication(data_indication)? Can you share your implementation of data_indication()?&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: Zigbee device with custom profile</title><link>https://devzone.nordicsemi.com/thread/328428?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 14:01:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f62da7d-b554-45fe-912c-134086276155</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Laura,&lt;/p&gt;
&lt;p&gt;Registering the callback&amp;nbsp;zb_af_set_data_indication(data_indication) before zboss_start should make your device receive packets from&amp;nbsp;devices with custom profiles.&amp;nbsp;I will ask our developers if they know of a reason for why this is not happening.&amp;nbsp;&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></channel></rss>