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. Hardware
  3. Sensebender Gateway with NRF24 PA and Hardsigning and Encryption

Sensebender Gateway with NRF24 PA and Hardsigning and Encryption

Scheduled Pinned Locked Moved Hardware
24 Posts 5 Posters 5.7k Views 4 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.
  • magpernM magpern

    @Anticimex I'm sorry, my vacation brain just cannot comprehend all these terms (I don't think it would even if I wasn't on vecaction :) My four hour experience with c/c++ surely has its limits).

    Is it safe to say, the GW sketch does not use the ATSHA chip, and the sketch needs some modification for it to start using it?

    In the mean-time, I'll try it out with the default sketch. It looks like the GW and the bender are talking to each other

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

    @Magnus-Pernemark no, I am saying that the sketch use the atsha by default for self testing. It is not using it by default for signing. And the problem is that if you want to use it for signing it has already included some code for self testing that it shouldn't in that case. If you are not able to code c i suggest hanging on some time for someone to fix the problem. I can't do it at the moment since I am on the road. Ping @tbowmo

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

    1 Reply Last reply
    0
    • tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #22

      @Magnus-Pernemark

      You need to enable signing with
      #define MY_SIGNING_ATSHA204

      This will make the sketch break though, as it includes the atsha204 driver already (and the library wants to include it as well)

      To remove the error comment out the following line (it's line 86 in the original source)

      #include <drivers/ATSHA204/ATSHA204.cpp> 
      

      (Reference to the line in github :
      https://github.com/mysensors/MySensors/blob/master/examples/SensebenderGatewaySerial/SensebenderGatewaySerial.ino#L86)

      As an alternative, you can load the standard GatewaySerial sketch.. The only difference to the SensebenderGatewaySerial, is that the later includes test routines used in the factory.

      @Anticimex I don't think that I made a PR for conditionally include the atsha driver, as the error still persists in dev branch..

      AnticimexA 1 Reply Last reply
      0
      • tbowmoT tbowmo

        @Magnus-Pernemark

        You need to enable signing with
        #define MY_SIGNING_ATSHA204

        This will make the sketch break though, as it includes the atsha204 driver already (and the library wants to include it as well)

        To remove the error comment out the following line (it's line 86 in the original source)

        #include <drivers/ATSHA204/ATSHA204.cpp> 
        

        (Reference to the line in github :
        https://github.com/mysensors/MySensors/blob/master/examples/SensebenderGatewaySerial/SensebenderGatewaySerial.ino#L86)

        As an alternative, you can load the standard GatewaySerial sketch.. The only difference to the SensebenderGatewaySerial, is that the later includes test routines used in the factory.

        @Anticimex I don't think that I made a PR for conditionally include the atsha driver, as the error still persists in dev branch..

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

        @tbowmo no, but I remember that another user had the same issue and agreed to file a pr but perhaps he never got around to it. Should just be a matter of adding a ifndef though.

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

        magpernM 1 Reply Last reply
        0
        • AnticimexA Anticimex

          @tbowmo no, but I remember that another user had the same issue and agreed to file a pr but perhaps he never got around to it. Should just be a matter of adding a ifndef though.

          magpernM Offline
          magpernM Offline
          magpern
          wrote on last edited by
          #24

          @Anticimex @tbowmo an #ifndef made it work and sketch compiled.

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


          24

          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