Hello again everyone.
For some time now, I've been able to send RF packets from one XBee to another using API - 1 and the Transmit Request frame. I am using XBee Series 2 modules anyway. For example, I send a packet containing the message "Hello" from the Router, it would always appear on the coordinator.
To make things detailed here, these are the configuration settings which I modified:
A. Router
- PAN ID = 1234
- Scan Channels = FFFF
- JV Channel Verification = Enabled [1]
- Destination Address High = 0013A200
- Destination Address Low = 0
- Node Identifier = ROUTER1
- API Enable 1
Hello again everyone.
For some time now, I've been able to send RF packets from one XBee to another using API - 1 and the Transmit Request frame. I am using XBee Series 2 modules anyway. For example, I send a packet containing the message "Hello" from the Router, it would always appear on the coordinator.
To make things detailed here, these are the configuration settings:
- Device Configuration - everything not included/specified was default:
A. Router - XB24-ZB, ZigBee Router API and Firmware Version of 23A7
- PAN ID = 1234
- Scan Channels = FFFF
- JV Channel Verification = Enabled [1]
- Destination Address High = 0013A200
- Destination Address Low = 0
- My Address - 354 (automatically given by coordinator upon power up)
- Node Identifier = ROUTER1
- API Enable 1
B. Coordinator - XB24-ZB, ZigBee Coordinator API and Firmware Version of 21A7
- PAN ID = 1234
- Scan Channels = FFFF
- Destination Address High = 0013A200
- Destination Address Low = FFFF
- My Address = 0
- Node Identifier = COORDINATOR1
- API Enable 1
- Transmit Request Frame (which I placed on the ROUTER1) and everything else is default:
- 64-bit Destination Address: 00 13 A2 00 41 04 08 A7
- 16-bit Destination Address: FFFE or 0000
- Data: "Hello"
Given the following, I was able to establish communication between the devices. I am also able to establish multipoint communication between three devices (two routers and 1 coordinator) using the same method I used for above. My problem kicks in when I start using it with the Arduino.
I am using Andrew Rapp's xbee-arduino library here. I'm trying to use the code from the examples folder for coordinator here, and the code for the transmitter/router here.
I tried using the basic code for Tx and modified the SL address for the coordinator.
Default: "XBeeAddress64 addr64 = XBeeAddress64(0x0013a200, 0x403e0f30);"
My modification: "XBeeAddress64 addr64 = XBeeAddress64(0x0013a200, 0x410408a7);"
Nothing still happens.
I tried the code from here and saw it was kind of similar to the Tx of Andrew Rapp's library example. And to no avail. Again.
I'm really, really sorry for the long post. Does anyone know what to do about this?
I'm going to need it for our project. >_<
A. Router - XB24-ZB, ZigBee Router API and Firmware Version of 23A7
- Destination Address High = 0013A200
- Destination Address Low = 0
B. Coordinator - XB24-ZB, ZigBee Coordinator API and Firmware Version of 21A7
- Destination Address High = 0013A200
- Destination Address Low = FFFF
- Transmit Request Frame (which I placed on the ROUTER1) and everything else is default:
- 64-bit Destination Address: 00 13 A2 00 41 04 08 A7
I don't understand where the 0x410408A7 came from. I don't understand why you are using 0 or FFFF as an address of either device, since those are the talk to anybody/listen to anybody addresses.