I have one XBee S2C (Coordinator) and try either to receive data from another Xbee S2C (Router)or to read the data sent by the coordinator. The xbee.receive() and the xbee.wait_read_frame()respectively do not give any feedback in the Python codes:
Program 1:
#! /usr/bin/python
Import and init an XBee device
from xbee import XBee, ZigBee
import serial
ser = serial.Serial(‘COM4’, 9600)
xbee = XBee(ser)
Therefore I would like to know where to find a documentation (examples and descriptions) and how can I get the right format of the xbee data. Is an S2C-device Xbee or Zigbee in the Python-code? I’m not fully sure about the correct code.
Regards and thank you very much
bergiel