# Which Frame Type should be used?

**URL:** <https://forums.digi.com/t/which-frame-type-should-be-used/3292>\
**Category:** Python\
**Created:** [July 22, 2010, 8:38am UTC](https://forums.digi.com/t/which-frame-type-should-be-used/3292 "2010-07-22T08:38:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zigbee\_man](https://avatars.discourse-cdn.com/v4/letter/z/a88e4f/32.png) [@zigbee\_man](https://forums.digi.com/u/zigbee_man)\
**Post date:** [July 22, 2010, 8:38am UTC](https://forums.digi.com/t/which-frame-type-should-be-used/3292/1 "2010-07-22T08:38:29Z")

</div>

Hello,

I would like to create a custom device which peridoically send a data frame to a Gateway. On this device I use the Xbee ZB module. But I hesitate btw the 0x10 (Zigbee Transmit Request) and 0x11 (Explicit Addressing Zigbee Command Frame) Frame Type. Could anyone tell me which one should I use? And if I use the 0x11 Frame Type, which value should I fill to the Source Endpoint, Destination Endpoint, Cluster ID and Profile ID fields?

Thanks so much!

---

<div class="post-metadata">

**Author:** ![lynnl](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@lynnl](https://forums.digi.com/u/lynnl)\
**Post date:** [July 22, 2010, 2:55pm UTC](https://forums.digi.com/t/which-frame-type-should-be-used/3292/2 "2010-07-22T14:55:38Z")

</div>

The over the air-packet is the SAME for both. The frame 0x10 acts like using 0x11 with forced defaults of endpoints 0xE8, cluster=0x11, and Profile=0xC105.

Long term you’ll have more options using 0x11 - for example you may need to move the endpoints to avoid conflict with a device which CANNOT move endpoints.

See these Wiki pages:  
[http://www.digi.com/wiki/developer/index.php/Differences\_Between\_API\_frame\_0x10\_and\_0x11](http://www.digi.com/wiki/developer/index.php/Differences_Between_API_frame_0x10_and_0x11)  
[http://www.digi.com/wiki/developer/index.php/Understanding\_XBee\_EndPoints](http://www.digi.com/wiki/developer/index.php/Understanding_XBee_EndPoints)

---

<div class="post-metadata">

**Author:** ![zigbee\_man](https://avatars.discourse-cdn.com/v4/letter/z/a88e4f/32.png) [@zigbee\_man](https://forums.digi.com/u/zigbee_man)\
**Post date:** [July 22, 2010, 3:03pm UTC](https://forums.digi.com/t/which-frame-type-should-be-used/3292/3 "2010-07-22T15:03:51Z")

</div>

Hello Lynnl,

I have configured one of my Xbee ZB module as coordinator and I tried to send a 0x11 frame from another Xbee ZB module (which I configure as end device) with the following parameters:

- source endpoint: 0xE8
- dest. endpoint: 0xE8
- Cluster ID: 0x11
- Profile ID: 0xC105

But the coordinator could not receive this frame. I will test it with my CPX4 and hope that it works!

---

<div class="post-metadata">

**Author:** ![lynnl](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@lynnl](https://forums.digi.com/u/lynnl)\
**Post date:** [July 22, 2010, 4:24pm UTC](https://forums.digi.com/t/which-frame-type-should-be-used/3292/4 "2010-07-22T16:24:03Z")

</div>

Check your DH/DL.

The XBee/Coordinator in the gateway sends most packets out the serial port, so it is highly unlikely your choice of those numbers is the problem.

Use telnet into your gateway and turn XBee tracing on (so enter “set trace state=on mask=xbee”) This way you see all packets received regardless of correct Python binding.

---

<div class="post-metadata">

**Author:** ![zigbee\_man](https://avatars.discourse-cdn.com/v4/letter/z/a88e4f/32.png) [@zigbee\_man](https://forums.digi.com/u/zigbee_man)\
**Post date:** [July 22, 2010, 11:02pm UTC](https://forums.digi.com/t/which-frame-type-should-be-used/3292/5 "2010-07-22T23:02:44Z")

</div>

Hi Lynl,

For the Xbee module on the end device, I have set the same with the SH/SL (serial number or extend address) and 0x00s for the Xbee module which functions as coordinator. Tommorow I will monotr the serial port to see what happens. Thanks for your advice!
