I have an xBee s6b, and i am trying to change the state of a GPIO pin through the device cloud webservices. All this is to make my own Android app to control de GPIO pins in my xbee remotely fromo anywhere in the world.
You can already do that in the device cloud directly without the need of an Arduino or external processor. You can use the DDO_set_Prem function to change the state of a DIO line on an XBee module that is connected to the Device Cloud.
this function is on the RCI comunication method?
Yes you can do that using an RCI function call.