Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Node does not receive messages from GW with SIMPLE_PASSWD

Node does not receive messages from GW with SIMPLE_PASSWD

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 2 Posters 1.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B BoresExpress

    @anticimex said in Node does not receive messages from GW with SIMPLE_PASSWD:

    @boresexpress as discussed in other threads, if you use the simple password flag, you must not use other signing flags like MY_SIGNING_SOFT. It is implicit with the simple password flag.

    I've included this flag because according to MySigning.cpp MY_SIGNING_SOFT or MY_SIGNING_ATSHA204 must be defined for signing to work (macros like signerBackendGetNone are defined to function names only if of one of the flags above are defined).
    It's really not clear from documentation that _SOFT is automatically defined with _SIMPLE_PASSWD.

    AnticimexA Offline
    AnticimexA Offline
    Anticimex
    Contest Winner
    wrote on last edited by
    #5

    @boresexpress then there is room for improvement on that topic. But nevertheless, simple password will enable soft signing. Could be that it only complains if you attempt to use it with atsha204 signing.

    Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

    1 Reply Last reply
    0
    • AnticimexA Anticimex

      @boresexpress also, could you please check that you are not close to limits on memory use?

      B Offline
      B Offline
      BoresExpress
      wrote on last edited by
      #6

      @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.

      AnticimexA 1 Reply Last reply
      0
      • B BoresExpress

        @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.

        AnticimexA Offline
        AnticimexA Offline
        Anticimex
        Contest Winner
        wrote on last edited by
        #7

        @boresexpress you are welcome. Unfortunately we are reaching limits on atmega328p with security and mysensors.

        Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

        B 1 Reply Last reply
        0
        • AnticimexA Anticimex

          @boresexpress you are welcome. Unfortunately we are reaching limits on atmega328p with security and mysensors.

          B Offline
          B Offline
          BoresExpress
          wrote on last edited by
          #8

          @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.

          AnticimexA 2 Replies Last reply
          0
          • B BoresExpress

            @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.

            AnticimexA Offline
            AnticimexA Offline
            Anticimex
            Contest Winner
            wrote on last edited by
            #9

            @boresexpress true, but debugging is kind of nice to have.

            Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

            1 Reply Last reply
            0
            • B BoresExpress

              @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.

              AnticimexA Offline
              AnticimexA Offline
              Anticimex
              Contest Winner
              wrote on last edited by
              #10

              @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.

              Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

              B 1 Reply Last reply
              0
              • AnticimexA Anticimex

                @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.

                B Offline
                B Offline
                BoresExpress
                wrote on last edited by BoresExpress
                #11

                @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.

                AnticimexA 1 Reply Last reply
                0
                • B BoresExpress

                  @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.

                  AnticimexA Offline
                  AnticimexA Offline
                  Anticimex
                  Contest Winner
                  wrote on last edited by
                  #12

                  @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 :)

                  Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                  B 1 Reply Last reply
                  0
                  • AnticimexA Anticimex

                    @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 :)

                    B Offline
                    B Offline
                    BoresExpress
                    wrote on last edited by
                    #13

                    @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! :)

                    AnticimexA 1 Reply Last reply
                    0
                    • B BoresExpress

                      @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! :)

                      AnticimexA Offline
                      AnticimexA Offline
                      Anticimex
                      Contest Winner
                      wrote on last edited by
                      #14

                      @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).

                      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                      B 1 Reply Last reply
                      0
                      • AnticimexA Anticimex

                        @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).

                        B Offline
                        B Offline
                        BoresExpress
                        wrote on last edited by
                        #15

                        @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.

                        AnticimexA 1 Reply Last reply
                        0
                        • B BoresExpress

                          @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.

                          AnticimexA Offline
                          AnticimexA Offline
                          Anticimex
                          Contest Winner
                          wrote on last edited by
                          #16

                          @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 :)

                          Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          22

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.1k

                          Posts


                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • MySensors
                          • OpenHardware.io
                          • Categories
                          • Recent
                          • Tags
                          • Popular