Changing parameters in TinyOS via Makefile

Changing the Radio channel
- Radio channel numbers have range between 11 to 26
- Add the following line in the Makefile before the Makerules
CC2420_CHANNEL=x where x = [11 26]
Changing the Radio Transmit power
- Transmit power valid levels are 1 to 31 with power 1 equals to -25dBm and 31 equals to max (0dBm)
- add the following line in the Makefile before the Makerules
CFlags = -DCC2420_DEF_RFPower= x where x = [1 31]

Changing the Active message group ID
Add DEFAULT_LOCAL_GROUP = X to the makefile where X = [0×10 0×50]

Comments

Popular posts from this blog

Exporting Skype Chat/Skype Contacts to csv file using the shell script and sqlite3 (usually already installed on mac)

trim() not supported by IE7 and IE8

Finally, clear explanation of TinyOS 2.x serial packet structure