RFBee firmware updating

Just to clarify, I am attempting to read from the register on the CC1101.

Thanks again

Hello!

Im having a hard time compiling and installing firmwares for the RFBee’s.

my first intention was to modify the firmware and add code for a 32x16 led matrix, however after the problems with compiling the firmware Im aiming at just reinstalling 1.1 on the RFBee and using a separate Arduino leonardo to drive the led matrix.

which firmware is the one that the RFBee’s are shipped with?

there are several linked from the wiki (http://www.seeedstudio.com/wiki/index.php?title=RFbee_V1.1_-_Wireless_Arduino_compatible_node )

I managed to install the file refeered to as “RFbee firmware for Arduino 1.0(new)” http://www.seeedstudio.com/wiki/File:RFBee20121224.zip
but the problem with this firmware is that it doesnt seem to have the +++ command mode?
nothing happens when I enter +++.

is there a clean 1.1 available that is working in 1.03?
br
Stefan

Seems like the problem might have been that I was using linux. Running windows XP I was able to compile the github hosted code on both 0019 and 0020.
http://code.google.com/p/rfbee/downloads/detail?name=RFBee_v1_1.zip&can=2&q=

Hi - I also had problems compiling the new RFBee Arduino 1.0 files on Linux. To resolve this, I opened all the files in a good text editor (Sublime Text editor) and saved all the files with Unix line endings. Then, I changed line 26 of RFBeeCore.h from this:
#include “RFBEEGlobals.h”

to:

#include “RFBeeGlobals.h”

Then on my Linux system the example sketch compiled happily :slight_smile:

Regarding the use of AT commands, it seems in the new Arduino firmware for Arduino 1.0, the approach is to set the various configuration parameters and modes directly in the code. As a developer I think I like this approach, although there is no documentation other than the example sketch to get you going. Anyway, looking at the code in RFBeeConfig.cpp allowed me to change a couple of simple things - for example I wanted to set the destination and source address of my RFBees so I did that by hacking RFBeeConfig.cpp (lines 37 and 38) like this:

EEPROM.write(CONFIG_DEST_ADDR,2);
EEPROM.write(CONFIG_MY_ADDR,1);
Maybe there is a better way, and I’m sure the library will improve over time. Thanks to the author for their fantastic work by the way…