# Xbee S2C direct GPIO control issue

**URL:** <https://forums.digi.com/t/xbee-s2c-direct-gpio-control-issue/23242>\
**Category:** ZNet 2.5\
**Tags:** s2c, direct, gpio, xbee\
**Created:** [September 28, 2022, 10:54am UTC](https://forums.digi.com/t/xbee-s2c-direct-gpio-control-issue/23242 "2022-09-28T10:54:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![IOTON](https://avatars.discourse-cdn.com/v4/letter/i/ea666f/32.png) [@IOTON](https://forums.digi.com/u/IOTON)\
**Post date:** [September 28, 2022, 10:54am UTC](https://forums.digi.com/t/xbee-s2c-direct-gpio-control-issue/23242/1 "2022-09-28T10:54:12Z")

</div>

I have a problem with direct control GPIO.

I have a coordinator(TX) and router(RX). Both modules Xbee S2C (firmware version 4061)

After click button on TX side I got the next frames on RX side-

7E 00 12 92 00 13 A2 00 40 B2 B9 4E 00 00 01 01 00 04 00 00 00 B9  
7E 00 12 92 00 13 A2 00 40 B2 B9 4E 00 00 01 01 00 04 00 00 04 B5

But the LED, connected to DIO2 (pin 31) doesn’t react.

I tried to control this output via remote AT command(frame type 17), and all works fine.

7E 00 12 92 00 13 A2 00 40 B2 B9 4E 00 00 01 01 00 04 00 00 04 B5 (LED ON)  
7E 00 12 92 00 13 A2 00 40 B2 B9 4E 00 00 01 01 00 04 00 00 04 B5 (LED OFF)

I can’t understand what’s wrong this the direct control.

---

<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:** [September 28, 2022, 1:19pm UTC](https://forums.digi.com/t/xbee-s2c-direct-gpio-control-issue/23242/2 "2022-09-28T13:19:59Z")

</div>

That is correct. The Mesh based firmware version does not support direct DIO line passing. You need to use the 802.15.4 version of the firmware for that.

On the Mesh based version of the code, you need to use remote AT commands to change the status of a line on a remote radio.

---

<div class="post-metadata">

**Author:** ![IOTON](https://avatars.discourse-cdn.com/v4/letter/i/ea666f/32.png) [@IOTON](https://forums.digi.com/u/IOTON)\
**Post date:** [September 29, 2022, 8:30am UTC](https://forums.digi.com/t/xbee-s2c-direct-gpio-control-issue/23242/3 "2022-09-29T08:30:33Z")

</div>

Is it possible to install 802.15.4 version of the firmware on XBee PRO S2C (XBP24CZ7PIS-004-revH)?

---

<div class="post-metadata">

**Author:** ![binitafelicity](https://avatars.discourse-cdn.com/v4/letter/b/8491ac/32.png) [@binitafelicity](https://forums.digi.com/u/binitafelicity)\
**Post date:** [October 3, 2022, 8:41am UTC](https://forums.digi.com/t/xbee-s2c-direct-gpio-control-issue/23242/4 "2022-10-03T08:41:51Z")

</div>

Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community. All categories · Digi Remote Manager (390); Python Out-of-box integration with Digi Remote Manager enables remote connectivity, configuration and management of Digi XBee networks.A collection of portable ANSI C code for communicating with Digi International’s XBee wireless radio modules in API mode. … Python library to interact with Digi …Avnet Americas is an authorized distributor of Digi
