What to do with ZPS_NWK_ENUM_FRAME_IS_BUFFERED ?

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

What to do with ZPS_NWK_ENUM_FRAME_IS_BUFFERED ?

956 Views
zigbee1
Contributor III

When sending a unicast message, time to time I'm getting an error code: 0xd4 ( Unicast frame does not have a route available but it is buffered for automatic resend.),

However I do not see any resend done by the ZigBee stack, as if I resend the message it usaly go through - and in between I got a NEW_ROUTE_DISCOVER event)

So it looks like 0xd4 express the fact that something has been implemented on the Zigbee stack level to avoid doing what is expected when receiving 0xd1 as specify in the documentation:

Note: If a message is unicast to a destination for which a route has not already been established, the message will not be sent and a route discovery will be performed instead. If this is the case, the unicast function will return ZPS_NWK_ENUM_ROUTE_ERROR. The application must then wait for the stack event ZPS_EVENT_NWK_ROUTE_DISCOVERY_CONFIRM (success or failure) before attempting to re-send the message by calling the same unicast function again.

Reference: JN-UG-3113 Revision 1.5

Using JN516x

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

893 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Patrick,

I hope you are doing great.

Could you please provide more details about your application? or How is your implementation?

Are you trying to send some unicast to an end device?

Did you capture the packets in the air? What is the AN that you are working on?

Regards

Mario

0 Kudos
Reply

893 Views
zigbee1
Contributor III

The application I'm developing doesn't really matter,

But in short : I'm sending message/command from the controller to an End Device ( Main powered) - (like switching On or Off a Bulb) 

I would like to understand what is expected to be done with such status. And especially is that true that the Stack is trying to resend the message as mentioned in the Status code description.

0 Kudos
Reply

893 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Patrick,

What is the AN that you took as a reference? Is JN-AN-1189?

But in short : I'm sending message/command from the controller to an End Device ( Main powered) - (like switching On or Off a Bulb)

Is This controller your coordinator?

What is the API that you are using?

Did you capture the packets in the air?

Regards,

Mario

0 Kudos
Reply