irq pin for nrf24l01
-
Hi all,
I wonder what is the story with the irq pin. In the MyConfig.h there is a MY_RX_MESSAGE_BUFFER_FEATURE option which states that for nrf MY_RF24_IRQ_PIN must be defined and as I understand the irq pin will be used. if MY_RX_MESSAGE_BUFFER_FEATURE is not defined the irq pin is not used ? On the other hand in the "Connecting Radio" section of the tutorial there is this: "The IRQ is currently not used by the MySensors library so it can be left un-connected" so is it used or not ? and what is the MY_RX_MESSAGE_BUFFER_FEATURE ?
-
anybody hear me ? please help ! :)
-
ok, thanks. What MY_RX_MESSAGE_BUFFER_FEATURE actually do ? what are the cons nad pros in the context of the repeater node ?
-
ok, thanks. What MY_RX_MESSAGE_BUFFER_FEATURE actually do ? what are the cons nad pros in the context of the repeater node ?
@rozpruwacz said in irq pin for nrf24l01:
What MY_RX_MESSAGE_BUFFER_FEATURE actually do?
The nrf24 radios can only buffer 3 incoming messages at most, if more come in they will be lost.
For repeaters and gateway (basically non-sleeping sensors) this feature enables immediate retrieval of incoming messages and buffering in internal ram. For crowded networks, or sensors which send a lot of data at once, this feature reduces packet loss.
Drawbacks are the increased use of ram (amount of messages buffered can be configured) and the nrf irq has to be connected. -
@Yveaux said in irq pin for nrf24l01:
The nrf24 radios can only buffer 3 incoming messages at most, if more come in they will be lost.
For repeaters and gateway (basically non-sleeping sensors) this feature enables immediate retrieval of incoming messages and buffering in internal ram. For crowded networks, or sensors which send a lot of data at once, this feature reduces packet loss.
Drawbacks are the increased use of ram (amount of messages buffered can be configured) and the nrf irq has to be connected.thanks ! so i guess it is better to use that buffer in my repeater node.
-
@hek said in irq pin for nrf24l01:
el free to update th
"NRF24L01+ & ESP8266" section should be also updated ?
-
@Yveaux said in irq pin for nrf24l01:
The nrf24 radios can only buffer 3 incoming messages at most, if more come in they will be lost.
For repeaters and gateway (basically non-sleeping sensors) this feature enables immediate retrieval of incoming messages and buffering in internal ram. For crowded networks, or sensors which send a lot of data at once, this feature reduces packet loss.
Drawbacks are the increased use of ram (amount of messages buffered can be configured) and the nrf irq has to be connected.thanks ! so i guess it is better to use that buffer in my repeater node.
-
understand, but now i'm designing the device which hopefully will run for couple of years, so sooner or later this irq pin wiil be necessary.
-
so if i use an esp8266 as gateway AND i want to use the bufferfeature - to which pin do i have to actually connect the irq on the esp8266? The documentation is not helping me here.
-
@zen85 said in irq pin for nrf24l01:
The documentation is not helping me here.
ESP8266 does not support message queuing, sorry.