# Xbee S2C Issues

**URL:** <https://forums.digi.com/t/xbee-s2c-issues/23278>\
**Category:** XBee & XBee Gateway\
**Tags:** arduino-xbee, xbee-api-mode, s2c, api, xbee\
**Created:** [November 7, 2022, 10:06am UTC](https://forums.digi.com/t/xbee-s2c-issues/23278 "2022-11-07T10:06:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![berkayapali](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@berkayapali](https://forums.digi.com/u/berkayapali)\
**Post date:** [November 7, 2022, 10:06am UTC](https://forums.digi.com/t/xbee-s2c-issues/23278/1 "2022-11-07T10:06:58Z")

</div>

Hello all,  
I have Xbee S2C and I am having an issue with these xbees. I am trying to run these xbees on arduino in API mode but I can not. The point is that the arduino code is the code that I could run in arduino six month ago but now it does not work anymore. Is there anyone who knows what the problem could be?  
Thanks

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [November 9, 2022, 12:56pm UTC](https://forums.digi.com/t/xbee-s2c-issues/23278/2 "2022-11-09T12:56:52Z")

</div>

What is the full part number for the XBee modules you are working with?

---

<div class="post-metadata">

**Author:** ![berkayapali](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@berkayapali](https://forums.digi.com/u/berkayapali)\
**Post date:** [November 10, 2022, 5:05pm UTC](https://forums.digi.com/t/xbee-s2c-issues/23278/3 "2022-11-10T17:05:56Z")

</div>

Hello,  
XBP24C if you ask that. And here is the code that I have worked with. As I said it was working 5 month ago, I really dont know what was happend. Thanks for your help again.  
#include

XBee xbee = XBee();

uint8\_t payload[] = {0,0};

// SH + SL Address of receiving XBee  
XBeeAddress64 addr64 = XBeeAddress64(0x0013A200, 0x418DAC91);  
ZBTxRequest zbTx = ZBTxRequest(addr64, payload, sizeof(payload));  
ZBTxStatusResponse txStatus = ZBTxStatusResponse();

void setup() {  
Serial.begin(9600);  
xbee.setSerial(Serial);  
}

void loop() {  
xbee.send(zbTx);  
delay(1000);  
}

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [November 11, 2022, 7:11am UTC](https://forums.digi.com/t/xbee-s2c-issues/23278/4 "2022-11-11T07:11:32Z")

</div>

XBP24C is not the full part number. The full part number is on the white label on the shield side of the XBee. It will be something like XBP24CZ7SIT-004.

---

<div class="post-metadata">

**Author:** ![berkayapali](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@berkayapali](https://forums.digi.com/u/berkayapali)\
**Post date:** [November 11, 2022, 10:30am UTC](https://forums.digi.com/t/xbee-s2c-issues/23278/5 "2022-11-11T10:30:58Z")

</div>

Oh, okey sorry for that. The full part number is XBP24CZ7UIT-004.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [November 11, 2022, 10:37am UTC](https://forums.digi.com/t/xbee-s2c-issues/23278/6 "2022-11-11T10:37:20Z")

</div>

I would tend to think you don’t have the AP and AO commands set correct. Generally Arduino code wants API mode with Escaped characters.
