NRF24 Channel and Datarate in the MyTransportNRF24-constructor
-
Hi,
I am missing the possibility to select a different channel without editing MyConfig.h. This comes in handy when I want to test some features in a test-system without impairing the main system.
In Library version 1.4 it was possible in the begin-statement of MySensors.h.
With the new architecture I think the MyTransportNRF24-constructor would be a good place for this. The new constructor would look like:MyTransportNRF24(uint8_t ce, uint8_t cs, uint8_t paLevel, uint8_t channel, rf24_datarate_e datarate);
I made pull-request on github because I think this is a good idee.
-
I need this feature. Where is your branch?
-
It was merged a long time ago in the development branch.
Add
#define MY_RF24_CHANNEL 76
in sketch
1 out of 3
Suggested Topics
-
Controlling Blinds.com RF Dooya Motors with Arduino and Vera
My Project • 24 Mar 2014, 13:27 • petewill 12 Aug 2023, 16:39 -
ESPnow as transport layer
Feature Requests • 11 days ago • MasMat 11 days ago -
wireless gateway
Feature Requests • 8 Jun 2023, 14:05 • Thomaswortman 8 Jun 2023, 14:05 -
ESP32 with builtin Ethernet as Gateway - f.e. WT32-ETH01
Feature Requests • 15 Mar 2023, 15:01 • gryzli133 15 Mar 2023, 21:25 -
ota-configuration
Feature Requests • 8 Mar 2023, 09:28 • pbw 8 Mar 2023, 09:28 -
"ZHNetwork" a esp-now based mesh network for ESP8266/ESP32 hardware
Feature Requests • 17 Mar 2023, 07:25 • graffiti 17 Mar 2023, 07:25