Node does not receive messages from GW with SIMPLE_PASSWD
-
@boresexpress also, could you please check that you are not close to limits on memory use?
@anticimex said in Node does not receive messages from GW with SIMPLE_PASSWD:
@boresexpress also, could you please check that you are not close to limits on memory use?
That's true. On the node I was using 88% of SRAM according to compiler report. After I refactor some code and lower memory usage node starts receiving messages. So, the problem was not in the signing exactly.
Thank you! For me it was hard to figure that out without your help.
-
@anticimex said in Node does not receive messages from GW with SIMPLE_PASSWD:
@boresexpress also, could you please check that you are not close to limits on memory use?
That's true. On the node I was using 88% of SRAM according to compiler report. After I refactor some code and lower memory usage node starts receiving messages. So, the problem was not in the signing exactly.
Thank you! For me it was hard to figure that out without your help.
@boresexpress you are welcome. Unfortunately we are reaching limits on atmega328p with security and mysensors.
-
@boresexpress you are welcome. Unfortunately we are reaching limits on atmega328p with security and mysensors.
@anticimex said in Node does not receive messages from GW with SIMPLE_PASSWD:
@boresexpress you are welcome. Unfortunately we are reaching limits on atmega328p with security and mysensors.
Debugging layer of MySensors is very have actually.
-
@anticimex said in Node does not receive messages from GW with SIMPLE_PASSWD:
@boresexpress you are welcome. Unfortunately we are reaching limits on atmega328p with security and mysensors.
Debugging layer of MySensors is very have actually.
@boresexpress true, but debugging is kind of nice to have.
-
@anticimex said in Node does not receive messages from GW with SIMPLE_PASSWD:
@boresexpress you are welcome. Unfortunately we are reaching limits on atmega328p with security and mysensors.
Debugging layer of MySensors is very have actually.
@boresexpress another thing to consider is that memory is severely affected by the features you include and any 3rd party drivers/libraries used.
That said, "simple security" is pretty much the worst setting one can use with respect to memory use and security features. Using an atsha and RFM69 which has hw accelerated crypto, for instance, gives a smaller memory footprint.
-
@boresexpress another thing to consider is that memory is severely affected by the features you include and any 3rd party drivers/libraries used.
That said, "simple security" is pretty much the worst setting one can use with respect to memory use and security features. Using an atsha and RFM69 which has hw accelerated crypto, for instance, gives a smaller memory footprint.
@anticimex said in Node does not receive messages from GW with SIMPLE_PASSWD:
@boresexpress another thing to consider is that memory is severely affected by the features you include and any 3rd party drivers/libraries used.
That said, "simple security" is pretty much the worst setting one can use with respect to memory use and security features. Using an atsha and RFM69 which has hw accelerated crypto, for instance, gives a smaller memory footprint.
Sounds good. But RFM69 is much more expensive compared to nRF24. :)
ATSHA is OK to have. Will order it to try. -
@anticimex said in Node does not receive messages from GW with SIMPLE_PASSWD:
@boresexpress another thing to consider is that memory is severely affected by the features you include and any 3rd party drivers/libraries used.
That said, "simple security" is pretty much the worst setting one can use with respect to memory use and security features. Using an atsha and RFM69 which has hw accelerated crypto, for instance, gives a smaller memory footprint.
Sounds good. But RFM69 is much more expensive compared to nRF24. :)
ATSHA is OK to have. Will order it to try.@boresexpress not really. But if you accept to use cheap clones and take the hit in debugging and trying to get them to work reliably, then yes, you get more nrf24 for your money than other radios :)
-
@boresexpress not really. But if you accept to use cheap clones and take the hit in debugging and trying to get them to work reliably, then yes, you get more nrf24 for your money than other radios :)
@anticimex said in Node does not receive messages from GW with SIMPLE_PASSWD:
@boresexpress not really. But if you accept to use cheap clones and take the hit in debugging and trying to get them to work reliably, then yes, you get more nrf24 for your money than other radios :)
nRF24 is not so awful as you are saying! :)
-
@anticimex said in Node does not receive messages from GW with SIMPLE_PASSWD:
@boresexpress not really. But if you accept to use cheap clones and take the hit in debugging and trying to get them to work reliably, then yes, you get more nrf24 for your money than other radios :)
nRF24 is not so awful as you are saying! :)
@boresexpress then you are lucky with your clones (or you use genuine). Just take a search here on the forum ;)
99% of all signing issues is due to the nrf24 radio is unable to transmit full size payloads over reasonable distances (bad fakes). -
@boresexpress then you are lucky with your clones (or you use genuine). Just take a search here on the forum ;)
99% of all signing issues is due to the nrf24 radio is unable to transmit full size payloads over reasonable distances (bad fakes).@anticimex said in Node does not receive messages from GW with SIMPLE_PASSWD:
@boresexpress then you are lucky with your clones (or you use genuine). Just take a search here on the forum ;)
99% of all signing issues is due to the nrf24 radio is unable to transmit full size payloads over reasonable distances (bad fakes).I believe, most nRF24 problems are because of poor power. Radio needs 3V3 but 5V Arduinos cannot give enough power on that line for radio to work on maximal transmit power. It leads to random communication error because radio starts up but drops connection on transmit/receive.
I'm using nRF24 with special power adapters like this. They have own 5V->3V3 converters so I connect them directly to power supply, not to Arduino. And they give enough power for radio to work in any transmit mode. -
@anticimex said in Node does not receive messages from GW with SIMPLE_PASSWD:
@boresexpress then you are lucky with your clones (or you use genuine). Just take a search here on the forum ;)
99% of all signing issues is due to the nrf24 radio is unable to transmit full size payloads over reasonable distances (bad fakes).I believe, most nRF24 problems are because of poor power. Radio needs 3V3 but 5V Arduinos cannot give enough power on that line for radio to work on maximal transmit power. It leads to random communication error because radio starts up but drops connection on transmit/receive.
I'm using nRF24 with special power adapters like this. They have own 5V->3V3 converters so I connect them directly to power supply, not to Arduino. And they give enough power for radio to work in any transmit mode.@boresexpress indeed that is a common issue, but it is well known and documented that some clones are inferior and a common source for issues.
But if they work for you, that's just great :)