I have two XBee modules: one is the XBP9B-DMSTB002 , and the other is the XBP9B-DMUTB002 . I bypassed both modules and successfully configured them. However, I’m encountering the following issue:
The XBP9B-DMSTB002 module can transmit data, and the other module receives it correctly. But when the XBP9B-DMUTB002 tries to send data, the XBP9B-DMSTB002 is unable to receive it.
I tested this setup over a distance of approximately 600 meters. The configuration parameters and antennas used for both modules are listed below.
*XBP9B-DMUTB002 ’ s config
define XBEE_ATCMD_PARAM_ID “3186”
define XBEE_ATCMD_PARAM_NI “UlganUydu”
define XBEE_ATCMD_PARAM_NT 0x146
define XBEE_ATCMD_PARAM_MT 0x5
define XBEE_ATCMD_PARAM_RR 0xF
define XBEE_ATCMD_PARAM_CE 0x2
define XBEE_ATCMD_PARAM_DH 0x0013A200
define XBEE_ATCMD_PARAM_DL 0x424D71AD
define XBEE_ATCMD_PARAM_AP 0x1
define XBEE_ATCMD_PARAM_AO 0x0
define XBEE_ATCMD_PARAM_TO 0x40
define XBEE_ATCMD_PARAM_HP 0x6
define XBEE_ATCMD_PARAM_BD 0x3
ufl’santenna = ANTX150P118B09153
*XBP9B-DMSTB002 ’ s config
define XBEE_ATCMD_PARAM_ID “3186”
define XBEE_ATCMD_PARAM_NI “UlganGCS”
define XBEE_ATCMD_PARAM_NT 0x146
define XBEE_ATCMD_PARAM_MT 0x5
define XBEE_ATCMD_PARAM_RR 0xF
define XBEE_ATCMD_PARAM_CE 0x1
define XBEE_ATCMD_PARAM_DH 0x0013A200
define XBEE_ATCMD_PARAM_DL 0x426BAE4D
define XBEE_ATCMD_PARAM_AP 0x1
define XBEE_ATCMD_PARAM_AO 0x0
define XBEE_ATCMD_PARAM_TO 0x40
define XBEE_ATCMD_PARAM_HP 0x6
define XBEE_ATCMD_PARAM_BD 0x3
sma antenna = ANT-B8-CW-QW-SMA
mvut
May 19, 2025, 5:25pm
2
Set both modules with the CE and AP to 0. Then try just sending text data between them.
Okey i will try it but we have to use api mode in order to communicate with ground station application which is written by python code. Therefore , how can i communicate with api mode ?
mvut
May 20, 2025, 11:41am
4
Remember, you are only determining if they are able to talk to each other via a range test at the moment. Not in your application.
Okey , i will just set the CE and AP commands to 0 and try the range test. My configs are ,
*XBP9B-DMSTB002 ’ s config
define XBEE_ATCMD_PARAM_ID “3186”
define XBEE_ATCMD_PARAM_NI “UlganGCS”
define XBEE_ATCMD_PARAM_NT 0x146
define XBEE_ATCMD_PARAM_MT 0x5
define XBEE_ATCMD_PARAM_RR 0xF
define XBEE_ATCMD_PARAM_CE 0x0
define XBEE_ATCMD_PARAM_DH 0x0013A200
define XBEE_ATCMD_PARAM_DL 0x426BAE4D
define XBEE_ATCMD_PARAM_AP 0x0
define XBEE_ATCMD_PARAM_AO 0x0
define XBEE_ATCMD_PARAM_TO 0x40
define XBEE_ATCMD_PARAM_HP 0x6
define XBEE_ATCMD_PARAM_BD 0x3
*XBP9B-DMUTB002 ’ s config
define XBEE_ATCMD_PARAM_ID “3186”
define XBEE_ATCMD_PARAM_NI “UlganUydu”
define XBEE_ATCMD_PARAM_NT 0x146
define XBEE_ATCMD_PARAM_MT 0x5
define XBEE_ATCMD_PARAM_RR 0xF
define XBEE_ATCMD_PARAM_CE 0x0
define XBEE_ATCMD_PARAM_DH 0x0013A200
define XBEE_ATCMD_PARAM_DL 0x424D71AD
define XBEE_ATCMD_PARAM_AP 0x0
define XBEE_ATCMD_PARAM_AO 0x0
define XBEE_ATCMD_PARAM_TO 0x40
define XBEE_ATCMD_PARAM_HP 0x6
define XBEE_ATCMD_PARAM_BD 0x3
Hello again,
I have recently tested CE and AP =0 parameters with same experiment, unfortunately nothing have changed.
mvut
May 20, 2025, 4:17pm
7
What happens if you use the range test option in XCTU using the Loop back cluster ID?
We can not use range test option because of bypass mode. We can not get dbm values.
mvut
May 20, 2025, 5:52pm
9
Yes you can use the range test option in XCTU. You just need to tell XCTU that this module is a Programmable module.