Home/Support/Support Forum/code for xbee full duplex communicatuon
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

code for xbee full duplex communicatuon

0 votes
Please provide me
asked Dec 7, 2021 in 3rd Party Python and API development in other Languages by fazal New to the Community (0 points)

Please log in or register to answer this question.

2 Answers

0 votes
The Digi XBee is a Half duplex product.
answered Dec 8, 2021 by mvut Veteran of the Digi Community (15,108 points)
0 votes
You can use only SPI protocol in full duplex mode.
https://www.digi.com/resources/documentation/digidocs/embedded/dey/2.4/cc6/yocto_r_apix-spi

https://www.digi.com/resources/documentation/Digidocs/90002126/reference/r_spi_full_duplex.htm?TocPath=Operation%7CSerial%20communications%7CSPI%20operation%7C_____3

As was said by mvut, the deivce is a half duplex device.
So you can only do Half Duplex with MicroPython. Do you want to transmit and receive to and from a TCP/IP server as a TCP/IP client? or the serial port? or Full Duplex SPI?
answered Dec 9, 2021 by Jexx New to the Community (25 points)
...