Cannot change modem type

Hi All,

Newbee here. I have two Series 1 Xbee modules.

I am using the X-TCU software, attempting to change the modem type to enable API communication.

Firstly, can the Series 1 Xbee units be changed to XB24-ZB?

Can Series 1 be configured to use API?

Why do I keep getting…

[b]"Unable to program module. Incompatible function set selected for current mode " error message[/b]"?

Any help would be great.

I should mention I am using the Sparkfun USB dongle for the xbee unit.

Also units are currently configured to;

Modem: XB24
Function Set: XBEE 802.15.4
Version: 10ED

Hello Kamilan,

I’m afraid you can’t change the XBee Series 1 to XB24-ZB, those firmwares are for Series 2. S1 are for raw 802.15.4 and S2 are for ZigBee.

To enable API in you S1s change the AP parameter in X-CTU Modem Configuration (it’s under “Serial Interfacing”). Set it to 1 for API and to 2 for API with Escaped characters. You can also do it from terminal by entering command mode with “+++” before.

Finally, if you are going to try with API frames, here you will find a useful API frame builder.

Best regards,

Hi Spastor,

Thanks for the information. Configured them this morning. Will test after work.

I see that in the XB24, Function Set, XBEE 802.15.4, under [b]Networking & Security[/b] I can set “Coordinator Enable”.

Does this mean, that if one unit is set to Coordinator, and the other End Device, the end point will only talk to the Coordinator on the same PAN ID?

I hope to use Acknowledge data byte of the API frames such that I do not have to manually do this over serial (error correction and checksum checking). This is still a possibility with Series 1 API frames?

I do apologise for the greeness of these questions. I have read several tutorials and books, and some points are just missed.

Thanks in advance.

Sol

Does this mean, that if one unit is set to Coordinator, and the other End Device, the end point will only talk to the Coordinator on the same PAN ID?

The CE parameter is used to configure the network to Peer-to-Peer or NonBeacon. If both devices are in the same PAN ID, they will be able to communicate with each other. To make a device only talk to one device, use unicast messages instead of broadcasts.

I hope to use Acknowledge data byte of the API frames such that I do not have to manually do this over serial (error correction and checksum checking). This is still a possibility with Series 1 API frames?

Yes, in Series 1 the TX Status API frame is received in the sender’s UART telling if the transmission had any errors or was acknowledged.

Consult Product’s User Manual to learn more about these topics, specially page 17 (for the CE question) and 56 (for the API operation). Regards,