8000 Update README.md · Vinggui/nRF24-Contiki@2dbc324 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2dbc324

Browse files
committed
Update README.md
1 parent 088e560 commit 2dbc324

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

README.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,28 @@
1-
# nRF24-Contiki
2-
This repository is destinied to provide a start for operating radios model nRF24L01+ inside Contiki os (http://www.contiki-os.org/index.html).
1+
# nRF24 driver for Contiki-OS running on 328p
2+
This repository is destined to provide a start for operating radios model nRF24L01+ inside Contiki-OS (http://www.contiki-os.org/index.html).
3+
These files are actually the full plataform for working with Contiki runing on Atmega328p, either using external crystal 8-16MHz or internal RC clock at 4-8MHz. They were ported to "C" from the last updated repository of RF24 library (https://github.com/tmrh20/RF24), but haven't still being fully used by me. So I hope this may be of use for someone, and I accept suggestions and fixes, of corse.
4+
5+
#How to use it
6+
1- Download the Arduino IDE inside the VM of contiki (http://arduino.cc/en/Main/Software);
7+
2-
8+
3- Insert this folder inside your Contiki-os folder (~contiki-2.7/plataform/);
9+
4- Go to some Example (or use the "myFirstMSG-nRF24" example uploaded here)
10+
11+
#Documentation
12+
Now just search for the funcions you may want to use and program in your Contiki. This driver does not yet have a documentation and better examples to be searched for, but as it is very similar to the original one (RF24-TMRh20 of arduino), you may just search for these informations at http://tmrh20.github.io/RF24/index.html.
13+
A few modification on functions were made, that are:
14+
- void nRF24_whatHappened(bool *tx_ok,bool *tx_fail,bool *rx_ready)
15+
Receives * instead of & for its parameter;
16+
- int nRF24_testRPD(void)
17+
Return int instead of bool;
18+
-int nRF24_powerUP(void) and int nRF24_powerDown(void)
19+
Return int instead of void;
20+
21+
#How to flash the Contiki
22+
23+
#Conclusion
24+
This is yet an initial work ported from TMRh20. I will post more updates and fixes soon.
25+
Using this radio inside Contiki-OS will need more work around the drivers, so this is yet a start for someone wishing to use them, as i did.
26+
27+
#Ackwoledgement
28+
Thanks to THMh20 and Maniacbug for providing such an expetacular library for this radio.

0 commit comments

Comments
 (0)
0