Commit Graph

12 Commits

Author SHA1 Message Date
Olivier
dd9dff77ed Minor optimizations & code harmonization (#708) 2016-12-28 22:47:41 +01:00
Patrick Fallberg
8e1ef13804 Repo restyled using astyle (#683)
The rules are in .tools/astyle/config/style.cfg
and can also be reviewed at
https://www.mysensors.org/view/260#coding-guidelines-core-library
2016-12-07 23:44:29 +01:00
Olivier
6ad18b641e Fixed missing RF24_NOP refactoring (#635) 2016-11-06 10:55:32 +01:00
Olivier
6636a97562 Harmonize RF24 definitions (#629) 2016-11-05 09:53:12 +01:00
Thomas Mørch
54776a4520 Added {} to control structures for clarity (#600) 2016-10-16 12:46:42 +02:00
Olivier
80659ddb00 HAL for digitalRead/Write() and pinMode() (#607) 2016-10-16 10:12:24 +02:00
Marcelo Aquino
fab2112f9b Use mysensors built-in nrf24 library for RPi 2016-09-14 23:26:12 -03:00
tekka007
ce2e2006c6 Minor updates 2016-08-14 12:28:09 +02:00
tekka007
9dcb06cdc5 Reorganize RX message buffering checks
- fix doxygen warning
2016-08-13 13:07:16 +02:00
Embedded Innovation
99973a346e Add nRF24 receive message buffering (#538)
* Add critical section support

Allows defining a code block which is executed as a critical section.
Supports AVR, ESP8266 & SAMD.

* Add receive message buffering

When MY_RF24_IRQ_PIN is defined (and connected), a buffer will be used
to retrieve & store messages received by nRF24 as fast as possible.
This reduces the chance of losing messages due to a busy
microcontroller.
nRF24 SPI rx message transfer is running from interrupt context when
MY_RF24_IRQ_PIN is defined. If this transfer takes too long, serial
characters received will get lost. Therefore serial rx is enabled during
SPI transfer of nRF messages.

Limitations: Only AVR/SAMD & nRF24L01+ combinations can buffer rx
messages.
nRF24L01+ IRQ pin should be connected to AVR.
Tested on W5100- & Serial-gateway.

SAMD has not been tested yet!

* Fix Doxygen warnings

* Fix more Doxygen warnings
2016-08-02 22:20:25 +02:00
tekka007
26f20b0e3b Fix compatibility issue with nRF clones, update documentation 2016-08-01 14:10:47 +02:00
Thomas Mørch
ba6bb915c2 Reorganizing library structure, prep for 2.0.0 2016-07-09 21:17:37 +02:00