Hello,
I don’t understand why API mode doesn’t work.
First of all, I’ve got this frame:
7E 00 10 17 01 00 00 00 00 00 00 FF FF FF FE 02 44 35 30 41
or
7E 00 10 17 01 00 00 00 00 00 00 FF FF FF FE 02 44 35 31 40
This just switch off and on the led nº 5 (I’ve done this in order to test the API mode, I think the frame is OK).
I’ve set the following firmware:
Modem XBEE: XBP24.
Function set: XBEE PRO 802.15.4.
Version: 10Cd.
And I’ve checked (in PC settings tab) on the “enable api” button. Well, I’ve tried to update the firmware with this button checked and also unchecked (and after updated, I’ve checked it again of course). That’s to say, I’ve tried both possibilities but at the end I always have the “enable API” button checked on.
In the modem configurating tab, I’ve configured Api enabled (1).
Sometimes, if I try the “read button” nothing appears. And other times, the read button doesn’t work properly (it fails).
So, if I’m not mistaken, xbee will discard everything it receives unless it receives 7E (start delimiter).
I can use “assemble packet” in the terminal tab to write my frame and send it. Theoretically, if everything is OK, it will work, but nothing happens (The log just says …D50A), the led is still switched off (or on, depending on how I’ve configured it before in the modem configuration). So, api mode is not working.
If I enter “+++” it returns OK and I think in Api mode it shouldn’t be this way.
Please, some help? Why can’t I use Api mode properly???
Thank you a lot !!!
Yours sincerely,
Samy
EDIT: I’ve sent a ticket to support, Whenever I receive reply I’ll post it here. I think it may be faster.
Message was edited by: Samy
Message was edited by: Samy