How to use manufacturer specific cluster in nxp zigbee?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use manufacturer specific cluster in nxp zigbee?

Jump to solution
1,208 Views
sChameleoNz
Contributor III

I'm using the MCUXpress IDE and SDK_2_6_3_JN5189DK6.

I created a ZC project with importing the zigbee_coordinator_bm.

And, I added some clusters include own manufacturer specific cluster.

I want to accept packet from this manufacturer specific cluster.

I think I need to register my cluster using vZCL_RegisterCheckForManufCodeCallBack function.

Is it right?

Then, where can I find the example code?

I couldn't find it in the SDK and JN_AN_1247.

I'd appreciate it if you would help me from this.

Labels (2)
0 Kudos
Reply
1 Solution
1,200 Views
nxf56274
NXP Employee
NXP Employee

Hi,

You can refer this link.

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

2 Replies
1,201 Views
nxf56274
NXP Employee
NXP Employee

Hi,

You can refer this link.

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

1,191 Views
sChameleoNz
Contributor III

I've already done it, except the Zigbee Configuration Editor.

After I done it, I can receive packet from the manufacturer specific cluster.

 

if (u8Error != 0)
{
  // send response if possible/required
  // Trac 6 - don't send default response from a default response.
  if (sZCL_HeaderParams.u8CommandIdentifier != E_ZCL_DEFAULT_RESPONSE ||
    sZCL_HeaderParams.eFrameType != eFRAME_TYPE_COMMAND_ACTS_ACCROSS_ENTIRE_PROFILE)
  {
    sZCL_CallBackEvent.eEventType = E_ZCL_CBET_ERROR;
    sZCL_CallBackEvent.eZCL_Status = E_ZCL_ERR_EP_UNKNOWN;
    sZCL_CallBackEvent.u8EndPoint = pZPSevent->uEvent.sApsDataIndEvent.u8DstEndpoint;
    vZCL_PassEventToUser(&sZCL_CallBackEvent);
    eZCL_SendDefaultResponse(pZPSevent, u8Error);
  }
  // free buffer and return
  PDUM_eAPduFreeAPduInstance(pZPSevent->uEvent.sApsDataIndEvent.hAPduInst);
  return;
}

 

Previously, I got this error.

0 Kudos
Reply