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. Development
  3. MY_SIGNING_SIMPLE_PASSWD

MY_SIGNING_SIMPLE_PASSWD

Scheduled Pinned Locked Moved Development
20 Posts 2 Posters 2.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.
  • L Offline
    L Offline
    LuFi
    wrote on last edited by
    #3

    @Anticimex
    First a small explaniation:
    I'am using an Arduino Nano as an Serial Gateway and an Pro Mini 8Mhz 3.3v as Node.
    The Nodes using the latest (dev) MysBootloader.

    I updated to the latest Git today. (The last copy was around 2 weeks old). And some new Problems occur.

    First of all, if the sketch uses more than 40% of Flash size, it will be not possible to enable MY_DEBUG.

    For testing i only uncomment te following line from MyConfig.h:
    //#define MY_SIGNING_SIMPLE_PASSWD "MyInsecurePassword"

    After this i flashed the Gateway with the sample serial gateway Code and my node with some cleanups and my sources.

    Gateway DEBUG:

    0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGAS-X,VER=2.2.0-beta
    0;255;3;0;9;27 !SGN:PER:TAMPERED
    0;255;3;0;9;67 SGN:INI:BND OK
    0;255;3;0;9;69 TSM:INIT
    0;255;3;0;9;71 TSF:WUR:MS=0
    0;255;3;0;9;80 TSM:INIT:TSP OK
    0;255;3;0;9;220397651 TSM:INIT:GW MODE
    0;255;3;0;9;587730215 TSM:READY:ID=0,PAR=0,DIS=0
    0;255;3;0;9;7698180 MCO:REG:NOT NEEDED
    0;255;3;0;14;Gateway startup complete.
    0;255;0;0;18;2.2.0-beta
    0;255;3;0;9;470288900 MCO:BGN:STP
    0;255;3;0;9;470288908 MCO:BGN:INIT OK,TSP=1
    0;255;3;0;9;470288913 TSM:READY:NWD REQ
    0;255;3;0;9;943272247 SGN:SGN:NREQ=255
    0;255;3;0;9;24117412 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    0;255;3;0;9;841822260 TSM:READY:NWD REQ
    0;255;3;0;9;842151476 SGN:SGN:NREQ=255
    0;255;3;0;9;27217422 TSF:MSG:SEND,0-0-265-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    

    GATEWAY while NODE goes online:

    0;255;3;0;9;841883507 TSF:MSG:READ,102-102-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;1030958138 TSF:MSG:BC
    0;255;3;0;9;1196641597 TSF:MSG:FPAR REQ,ID=102
    0;255;3;0;9;1178224471 TSF:PNG:SEND,TO=0
    0;255;3;0;9;1396328274 TSF:CKU:OK
    0;255;3;0;9;1430995773 TSF:MSG:GWL OK
    0;255;3;0;9;1196641915 SGN:SKP:MSG CMD=3,TYPE=8
    0;255;3;0;9;1196641922 TSF:MSG:SEND,0-0-102-102,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    0;255;3;0;9;1196                                                                                                       TSM:READY:NWD REQ
    0;255;3;0;9;825832008 SGN:SGN:NREQ=255
    0;255;3;0;9;24117412 TSF:MSG:SEND,3.0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    0;255;30-2<5-255;0;9;841822260 TSM:READY:NWD REQ
    0;255;3;0;9;842151477 SGN:SGN:NREQ=255
    0;255;3;0;9;24117412 TSF:MSG:SEND,3.0-265-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    0;255;3;0;9;841823834 TSF:MSG:READ,8-175-167/t=123,c=3,t=23,pt=4,l=11,sg=0:1929015540
    0;255;3;0;9;842087802 TSF:MSG:REL MSG
    0;255;3;0;9;1196641597 SGN:SGN:8!=0 NUS
    0;255;3;0;9;1196641650 !TSF:MSG:SEND,8-0-144-167,s=122,c=3,t=23,pt=4,l=11,sg=0,ft=0,st=NACK:1929015540
    0;255;3;0;9;1196641660 TSM:READY:NWD REQ
    0;255;3;0;9;825636406 SGN:SGN:NREQ=255
    0;255;3;0;9;24117412 TSF:MSG:SEND,3.0-265-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    0;255;3;0;9;⸮G RECV,HP TSM:READY:NWD REQ
    0;255;3;0;9;842151476 SGN:SGN:NREQ=255
    0;255;3;0;9;24117412 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    0;255;3;0;9;841824088 TSF:MSG:READ,237-90-229-s=73,c=6,t=170,pt=6,l=25,sg=1:243C493A88BC436FBA00000000000000000000000000000000000A004D
    0;255;3;0;9;926774071 TSF:MSG:REL MSG
    0;255;3;0;9;1196641597 SGN:SGN:237!=0 NUS
    0;255;3;0;9;1196641650 !TSF:MSG:SEND,237-0-18-226,s=72,c=6,t=170,pt=6,l=29,sg=1,ft=0,st=NACK:243C493A88BC436FKD000300000000000000000000000000
    0;255;3;0;5;0
    0;255;3;0;9;808464461 TSM:READY:NWD REQ
    0;255;3;0;9;875836982 SGN:SGN:NREQ=255
    0;255;3;0;9;24117412 TSF:MSG:SEND,3.0-265-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    0;255;3;0;9                                                                                                            TSM:READY:NWD REQ
    0;255;3;0;9;841822280 SGN:SGN:NREQ=255
    0;255;3;0;9;24117412 TSF:MSG:SEND,3.0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    0;255;3;0;9;841824075 TSF:MSG:READ,225-4-204,s=31,c=3,t=141,pt=4,l=10,sg=1:-624252800
    0;255;6<0;9<825441657 !TSF:MSG:PVER,1=2
    0;25
    

    NODE Log:

    0 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
    49 !SGN:PER:TAMPERED
    79 SGN:INI:BND OK
    81 TSM:INIT
    81 TSF:WUR:MS=0
    90 TSM:INIT:TSP OK
    92 TSF:SID:OK,ID=102
    96 TSM:FPAR
    96 SGN:SKP:MSG CMD=3,TYPE=7
    141 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    954 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    960 SGN:SKP:MSG CMD=3,TYPE=8
    962 TSF:MSG:FPAR OK,ID=0,D=1
    2150 TSM:FPAR:OK
    2150 TSM:ID
    2152 TSM:ID:OK
    2154 TSM:UPL
    2156 SGN:SKP:MSG CMD=3,TYPE=24
    2162 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    2172 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
    2179 SGN:SKP:MSG CMD=3,TYPE=25
    2181 TSF:MSG:PONG RECV,HP=1
    2185 TSM:UPL:OK
    2187 TSM:READY:ID=102,PAR=0,DIS=1
    2189 !SGN:SGN:STATE
    2191 !TSF:MSG:SIGN FAIL
    2195 SGN:PRE:SGN REQ
    2197 SGN:PRE:WHI NREQ
    2199 SGN:SKP:MSG CMD=3,TYPE=15
    2205 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=1,st=OK:0101
    2213 SGN:PRE:XMT,TO=0
    2215 SGN:PRE:WAIT GW
    2220 TSF:MSG:READ,0-0-102,s=255,c=3,t=15,pt=6,l=2,sg=0:0101
    2228 SGN:SKP:MSG CMD=3,TYPE=15
    2230 SGN:PRE:SGN REQ,FROM=0
    2234 !SGN:SGN:STATE
    2236 !TSF:MSG:SIGN FAIL
    2238 !SGN:SGN:STATE
    2240 !TSF:MSG:SIGN FAIL
    4243 !SGN:SGN:STATE
    4245 !TSF:MSG:SIGN FAIL
    4247 !SGN:SGN:STATE
    4249 !TSF:MSG:SIGN FAIL
    4251 !SGN:SGN:STATE
    4253 !TSF:MSG:SIGN FAIL
    4255 !SGN:SGN:STATE
    4257 !TSF:MSG:SIGN FAIL
    4261 !SGN:SGN:STATE
    4263 !TSF:MSG:SIGN FAIL
    4265 !SGN:SGN:STATE
    4268 !TSF:MSG:SIGN FAIL
    4270 MCO:REG:REQ
    4272 SGN:SKP:MSG CMD=3,TYPE=26
    4278 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=8,st=OK:2
    6287 SGN:SKP:MSG CMD=3,TYPE=26
    6293 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
    8302 SGN:SKP:MSG CMD=3,TYPE=26
    8308 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
    10317 SGN:SKP:MSG CMD=3,TYPE=26
    10323 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
    12333 MCO:BGN:STP
    12388 MCO:BGN:INIT OK,TSP=1
    

    The node ends up into an Bootloop.
    And some node Messages causes an Gateway Reboot.

    Another Point i recognized was that i were no longer able to see the Bootloader requests in my Backend (FHEM) log.

    What i'am doing wrong ?

    Best Regards

    LuFi

    AnticimexA 1 Reply Last reply
    0
    • L LuFi

      @Anticimex
      First a small explaniation:
      I'am using an Arduino Nano as an Serial Gateway and an Pro Mini 8Mhz 3.3v as Node.
      The Nodes using the latest (dev) MysBootloader.

      I updated to the latest Git today. (The last copy was around 2 weeks old). And some new Problems occur.

      First of all, if the sketch uses more than 40% of Flash size, it will be not possible to enable MY_DEBUG.

      For testing i only uncomment te following line from MyConfig.h:
      //#define MY_SIGNING_SIMPLE_PASSWD "MyInsecurePassword"

      After this i flashed the Gateway with the sample serial gateway Code and my node with some cleanups and my sources.

      Gateway DEBUG:

      0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGAS-X,VER=2.2.0-beta
      0;255;3;0;9;27 !SGN:PER:TAMPERED
      0;255;3;0;9;67 SGN:INI:BND OK
      0;255;3;0;9;69 TSM:INIT
      0;255;3;0;9;71 TSF:WUR:MS=0
      0;255;3;0;9;80 TSM:INIT:TSP OK
      0;255;3;0;9;220397651 TSM:INIT:GW MODE
      0;255;3;0;9;587730215 TSM:READY:ID=0,PAR=0,DIS=0
      0;255;3;0;9;7698180 MCO:REG:NOT NEEDED
      0;255;3;0;14;Gateway startup complete.
      0;255;0;0;18;2.2.0-beta
      0;255;3;0;9;470288900 MCO:BGN:STP
      0;255;3;0;9;470288908 MCO:BGN:INIT OK,TSP=1
      0;255;3;0;9;470288913 TSM:READY:NWD REQ
      0;255;3;0;9;943272247 SGN:SGN:NREQ=255
      0;255;3;0;9;24117412 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      0;255;3;0;9;841822260 TSM:READY:NWD REQ
      0;255;3;0;9;842151476 SGN:SGN:NREQ=255
      0;255;3;0;9;27217422 TSF:MSG:SEND,0-0-265-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      

      GATEWAY while NODE goes online:

      0;255;3;0;9;841883507 TSF:MSG:READ,102-102-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;1030958138 TSF:MSG:BC
      0;255;3;0;9;1196641597 TSF:MSG:FPAR REQ,ID=102
      0;255;3;0;9;1178224471 TSF:PNG:SEND,TO=0
      0;255;3;0;9;1396328274 TSF:CKU:OK
      0;255;3;0;9;1430995773 TSF:MSG:GWL OK
      0;255;3;0;9;1196641915 SGN:SKP:MSG CMD=3,TYPE=8
      0;255;3;0;9;1196641922 TSF:MSG:SEND,0-0-102-102,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
      0;255;3;0;9;1196                                                                                                       TSM:READY:NWD REQ
      0;255;3;0;9;825832008 SGN:SGN:NREQ=255
      0;255;3;0;9;24117412 TSF:MSG:SEND,3.0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      0;255;30-2<5-255;0;9;841822260 TSM:READY:NWD REQ
      0;255;3;0;9;842151477 SGN:SGN:NREQ=255
      0;255;3;0;9;24117412 TSF:MSG:SEND,3.0-265-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      0;255;3;0;9;841823834 TSF:MSG:READ,8-175-167/t=123,c=3,t=23,pt=4,l=11,sg=0:1929015540
      0;255;3;0;9;842087802 TSF:MSG:REL MSG
      0;255;3;0;9;1196641597 SGN:SGN:8!=0 NUS
      0;255;3;0;9;1196641650 !TSF:MSG:SEND,8-0-144-167,s=122,c=3,t=23,pt=4,l=11,sg=0,ft=0,st=NACK:1929015540
      0;255;3;0;9;1196641660 TSM:READY:NWD REQ
      0;255;3;0;9;825636406 SGN:SGN:NREQ=255
      0;255;3;0;9;24117412 TSF:MSG:SEND,3.0-265-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      0;255;3;0;9;⸮G RECV,HP TSM:READY:NWD REQ
      0;255;3;0;9;842151476 SGN:SGN:NREQ=255
      0;255;3;0;9;24117412 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      0;255;3;0;9;841824088 TSF:MSG:READ,237-90-229-s=73,c=6,t=170,pt=6,l=25,sg=1:243C493A88BC436FBA00000000000000000000000000000000000A004D
      0;255;3;0;9;926774071 TSF:MSG:REL MSG
      0;255;3;0;9;1196641597 SGN:SGN:237!=0 NUS
      0;255;3;0;9;1196641650 !TSF:MSG:SEND,237-0-18-226,s=72,c=6,t=170,pt=6,l=29,sg=1,ft=0,st=NACK:243C493A88BC436FKD000300000000000000000000000000
      0;255;3;0;5;0
      0;255;3;0;9;808464461 TSM:READY:NWD REQ
      0;255;3;0;9;875836982 SGN:SGN:NREQ=255
      0;255;3;0;9;24117412 TSF:MSG:SEND,3.0-265-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      0;255;3;0;9                                                                                                            TSM:READY:NWD REQ
      0;255;3;0;9;841822280 SGN:SGN:NREQ=255
      0;255;3;0;9;24117412 TSF:MSG:SEND,3.0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      0;255;3;0;9;841824075 TSF:MSG:READ,225-4-204,s=31,c=3,t=141,pt=4,l=10,sg=1:-624252800
      0;255;6<0;9<825441657 !TSF:MSG:PVER,1=2
      0;25
      

      NODE Log:

      0 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
      49 !SGN:PER:TAMPERED
      79 SGN:INI:BND OK
      81 TSM:INIT
      81 TSF:WUR:MS=0
      90 TSM:INIT:TSP OK
      92 TSF:SID:OK,ID=102
      96 TSM:FPAR
      96 SGN:SKP:MSG CMD=3,TYPE=7
      141 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      954 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      960 SGN:SKP:MSG CMD=3,TYPE=8
      962 TSF:MSG:FPAR OK,ID=0,D=1
      2150 TSM:FPAR:OK
      2150 TSM:ID
      2152 TSM:ID:OK
      2154 TSM:UPL
      2156 SGN:SKP:MSG CMD=3,TYPE=24
      2162 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
      2172 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
      2179 SGN:SKP:MSG CMD=3,TYPE=25
      2181 TSF:MSG:PONG RECV,HP=1
      2185 TSM:UPL:OK
      2187 TSM:READY:ID=102,PAR=0,DIS=1
      2189 !SGN:SGN:STATE
      2191 !TSF:MSG:SIGN FAIL
      2195 SGN:PRE:SGN REQ
      2197 SGN:PRE:WHI NREQ
      2199 SGN:SKP:MSG CMD=3,TYPE=15
      2205 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=1,st=OK:0101
      2213 SGN:PRE:XMT,TO=0
      2215 SGN:PRE:WAIT GW
      2220 TSF:MSG:READ,0-0-102,s=255,c=3,t=15,pt=6,l=2,sg=0:0101
      2228 SGN:SKP:MSG CMD=3,TYPE=15
      2230 SGN:PRE:SGN REQ,FROM=0
      2234 !SGN:SGN:STATE
      2236 !TSF:MSG:SIGN FAIL
      2238 !SGN:SGN:STATE
      2240 !TSF:MSG:SIGN FAIL
      4243 !SGN:SGN:STATE
      4245 !TSF:MSG:SIGN FAIL
      4247 !SGN:SGN:STATE
      4249 !TSF:MSG:SIGN FAIL
      4251 !SGN:SGN:STATE
      4253 !TSF:MSG:SIGN FAIL
      4255 !SGN:SGN:STATE
      4257 !TSF:MSG:SIGN FAIL
      4261 !SGN:SGN:STATE
      4263 !TSF:MSG:SIGN FAIL
      4265 !SGN:SGN:STATE
      4268 !TSF:MSG:SIGN FAIL
      4270 MCO:REG:REQ
      4272 SGN:SKP:MSG CMD=3,TYPE=26
      4278 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=8,st=OK:2
      6287 SGN:SKP:MSG CMD=3,TYPE=26
      6293 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
      8302 SGN:SKP:MSG CMD=3,TYPE=26
      8308 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
      10317 SGN:SKP:MSG CMD=3,TYPE=26
      10323 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
      12333 MCO:BGN:STP
      12388 MCO:BGN:INIT OK,TSP=1
      

      The node ends up into an Bootloop.
      And some node Messages causes an Gateway Reboot.

      Another Point i recognized was that i were no longer able to see the Bootloader requests in my Backend (FHEM) log.

      What i'am doing wrong ?

      Best Regards

      LuFi

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

      @LuFi on beta track signing personalization has been updated to track corruptions. You need to redo personalization in order to get the checksum stored correctly. The log reports that personalization had been tampered.
      Tips for reducing memory footprint on development branch is available here.

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

      L 1 Reply Last reply
      0
      • AnticimexA Anticimex

        @LuFi on beta track signing personalization has been updated to track corruptions. You need to redo personalization in order to get the checksum stored correctly. The log reports that personalization had been tampered.
        Tips for reducing memory footprint on development branch is available here.

        L Offline
        L Offline
        LuFi
        wrote on last edited by
        #5

        @Anticimex said in MY_SIGNING_SIMPLE_PASSWD:

        You need to redo personalization in order to get the checksum stored correctly.

        Is it enough to use an empty gateway sketch with the following line to accomplish this?

        #define RESET_EEPROM_PERSONALIZATION
        AnticimexA 1 Reply Last reply
        0
        • L LuFi

          @Anticimex said in MY_SIGNING_SIMPLE_PASSWD:

          You need to redo personalization in order to get the checksum stored correctly.

          Is it enough to use an empty gateway sketch with the following line to accomplish this?

          #define RESET_EEPROM_PERSONALIZATION
          AnticimexA Offline
          AnticimexA Offline
          Anticimex
          Contest Winner
          wrote on last edited by Anticimex
          #6

          @LuFi No, because

          1. That flag is specific to the personalizer sketch
          2. That flag will erase any personalization and replace with 0xFF as documented in the description of the define.
            EDIT: by doing this in the personalizer sketch and executing that, it should then pass as using the simple flag does not require personalization data. You probably was using personalization data at some point.

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

          1 Reply Last reply
          0
          • L Offline
            L Offline
            LuFi
            wrote on last edited by
            #7

            ok, i tried that and the "TAMPERED" message is gone.

            But it does not work ......

            I never received a message from the serial gateway. So i added a short print to the Setup() function and now i see a reboot every time i send a message to the gateway.

            Into the Node log i can see some cryptic characters.

            Could this be a Memory problem ?

            Flash: 20338 Bytes (66%)
            SRAM: 1664 Bytes (81%)

            Or are the 328p Arduino are not really usable for this ?

            Are there any Hardware recommendations for Signing / Encryption ?

            Gateway:

            0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGAS-X,VER=2.2.0-beta
            0;255;3;0;9;60 TSM:INIT
            0;255;3;0;9;62 TSF:WUR:MS=0
            0;255;3;0;9;71 TSM:INIT:TSP OK
            0;255;3;0;9;74 TSM:INIT:GW MODE
            0;255;3;0;9;77 TSM:READY:ID=0,PAR=0,DIS=0
            0;255;3;0;9;80 MCO:REG:NOT NEEDED
            0;255;3;0;14;Gateway startup complete.
            0;255;0;0;18;2.2.0-beta
            0;255;3;0;9;86 MCO:BGN:STP
            SETUP()
            0;255;3;0;9;92 MCO:BGN:INIT OK,TSP=1
            0;255;3;0;9;12518 TSF:MSG:SEND,0-57-54-0,s=101,c=7,t=104,pt=2,l=0,sg=0,ft=0,st=OK:30068
            0;255;3;0;9;1 MCO:BGN:INIT GW,CP=RNNGAS-X,VER=2.2.0-beta
            0;255;3;0;9;66 TSM:INIT
            0;255;3;0;9;68 TSF:WUR:MS=0
            0;255;3;0;9;77 TSM:INIT:TSP OK
            0;255;3;0;9;80 TSM:INIT:GW MODE
            0;255;3;0;9;83 TSM:READY:ID=0,PAR=0,DIS=0
            0;255;3;0;9;87 MCO:REG:NOT NEEDED
            0;255;3;0;14;Gateway startup complete.
            0;255;0;0;18;2.2.0-beta
            0;255;3;0;9;91 MCO:BGN:STP
            SETUP()
            0;255;3;0;9;98 MCO:BGN:INIT OK,TSP=1
            0;255;3;0;9;2097 0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGAS-X,VER=2.2.0-beta
            0;255;3;0;9;59 TSM:INIT
            0;255;3;0;9;61 TSF:WUR:MS=0
            0;255;3;0;9;69 TSM:INIT:TSP OK
            0;255;3;0;9;72 TSM:INIT:GW MODE
            0;255;3;0;9;75 TSM:READY:ID=0,PAR=0,DIS=0
            0;255;3;0;9;78 MCO:REG:NOT NEEDED
            0;255;3;0;14;Gateway startup complete.
            0;255;0;0;18;2.2.0-beta
            0;255;3;0;9;83 MCO:BGN:STP
            SETUP()
            0;255;3;0;9;90 MCO:BGN:INIT OK,TSP=1
            

            Node:

            0 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
            83 TSM:INIT
            86 TSF:WUR:MS=0
            94 TSM:INIT:TSP OK
            96 TSF:SID:OK,ID=102
            98 TSM:FPAR
            141 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            876 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
            882 TSF:MSG:FPAR OK,ID=0,D=1
            2150 TSM:FPAR:OK
            2150 TSM:ID
            2152 TSM:ID:OK
            2154 TSM:UPL
            2158 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
            2168 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
            2174 TSF:MSG:PONG RECV,HP=1
            2179 TSM:UPL:OK
            2181 TSM:READY:ID=102,PAR=0,DIS=1
            2183 TSM:READY:ID=102,PAR=0,DIS=1
            2220 TSM:INIT
            2220 TSF:WUR:MS=0
            2228 TSM:INIT:TSP OK
            2232 TSF:SID:OK,ID=102
            2234 TSM:FPAR
            2277 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OM:
            1074660236 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
            1074660242 TSF:MSG:FPAR OK,ID=0,D=1
            1074661412 TSM:FPAR:OK
            1074661414 TSM:ID
            1074661416 TSM:ID:OK
            1074661418 TSM:UPL
            1074661424 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
            77014330 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
            77014338 TSF:MSG:PONG RECV,HP=1
            77014340 TSM:UPL:OK
            77014344 TSM:READY:ID=102,PAR=0,DIS=1
            9373611 TSF:MSG:READ,143-0-7,s=95,c=7,t=171,pt=5,l=0,sg=1:
            2 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
            94 TSM:INIT
            96 TSF:WUR:MS=0
            104 TSM:INIT:TSP OK
            106 TSF:SID:OK,ID=102
            108 TSM:FPAR
            151 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            163 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
            169 TSF:MSG:FPAR OK,ID=0,D=1
            2160 TSM:FPAR:OK
            2160 TSM:ID
            2162 TSM:ID:OK
            2164 TSM:UPL
            2207 !TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
            4216 TSM:UPL
            4222 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=OK:1
            4233 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
            4239 TSF:MSG:PONG RECV,HP=1
            4241 TSM:UPL:OK
            4243 TSM:READY:ID=102,PAR=0,DIS=1
            2 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
            81 TSM:INIT
            81 TSF:WUR:MS=0
            90 TSM:INIT:TSP OK
            92 TSF:SID:OK,ID=102
            96 TSM:FPAR
            137 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            311 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
            317 TSF:MSG:FPAR OK,ID=0,D=1
            2146 TSM:FPAR:OK
            2146 TSM:ID
            2148 TSM:ID:OK
            2150 TSM:UPL
            2154 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
            2164 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
            2170 TSF:MSG:PONG RECV,HP=1
            2174 TSM:UPL:OK
            2177 TSM:READY:ID=102,PAR=0,DIS=1
            ⸮⸮55⸮ 2 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
            83 TSM:INIT
            83 TSF:WUR:MS=0
            92 TSM:INIT:TSP OK
            94 TSF:SID:OK,ID=102
            98 TSM:FPAR
            139 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            2148 !TSM:FPAR:NO REPLY
            2150 TSM:FPAR
            2193 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            3135 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
            3141 TSF:MSG:FPAR OK,ID=0,D=1
            4202 TSM:FPAR:OK
            4202 TSM:ID
            4204 TSM:ID:OK
            4206 TSM:UPL
            4249 !TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
            4259 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
            4265 TSF:MSG:PONG RECV,HP=1
            4268 TSM:UPL:OK
            4270 TSM:READY:ID=102,PAR=0,DIS=1
            2 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
            83 TSM:INIT
            83 TSF:WUR:MS=0
            92 TSM:INIT:TSP OK
            94 TSF:SID:OK,ID=102
            96 TSM:FPAR
            139 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            243 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
            249 TSF:MSG:FPAR OK,ID=0,D=1
            2148 TSM:FPAR:OK
            2148 TSM:ID
            2150 TSM:ID:OK
            2152 TSM:UPL
            2156 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
            2166 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
            2172 TSF:MSG:PONG RECV,HP=1
            2177 TSM:UPL:OK
            2179 TSM:READY:ID=102,PAR=0,DIS=1
            2 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
            83 TSM:INIT
            83 TSF:WUR:MS=0
            92 TSM:INIT:TSP OK
            94 TSF:SID:OK,ID=102
            96 TSM:FPAR
            139 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            2148 !TSM:FPAR:NO REPLY
            2150 TSM:FPAR
            2193 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            2453 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
            2459 TSF:MSG:FPAR OK,ID=0,D=1
            4202 TSM:FPAR:OK
            4202 TSM:ID
            4204 TSM:ID:OK
            4206 TSM:UPL
            4210 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
            4220 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
            4227 TSF:MSG:PONG RECV,HP=1
            4231 TSM:UPL:OK
            4233 TSM:READY:ID=102,PAR=0,DIS=1
            2 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
            81 TSM:INIT
            83 TSF:WUR:MS=0
            92 TSM:INIT:TSP OK
            94 TSF:SID:OK,ID=102
            96 TSM:FPAR
            139 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            540 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
            546 TSF:MSG:FPAR OK,ID=0,D=1
            2148 TSM:FPAR:OK
            2148 TSM:ID
            2150 TSM:ID:OK
            2152 TSM:UPL
            2195 !TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
            2205 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
            2211 TSF:MSG:PONG RECV,HP=1
            2213 TSM:UPL:OK
            2215 TSM:READY:ID=102,PAR=0,DIS=1
            
            AnticimexA 1 Reply Last reply
            0
            • L LuFi

              ok, i tried that and the "TAMPERED" message is gone.

              But it does not work ......

              I never received a message from the serial gateway. So i added a short print to the Setup() function and now i see a reboot every time i send a message to the gateway.

              Into the Node log i can see some cryptic characters.

              Could this be a Memory problem ?

              Flash: 20338 Bytes (66%)
              SRAM: 1664 Bytes (81%)

              Or are the 328p Arduino are not really usable for this ?

              Are there any Hardware recommendations for Signing / Encryption ?

              Gateway:

              0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGAS-X,VER=2.2.0-beta
              0;255;3;0;9;60 TSM:INIT
              0;255;3;0;9;62 TSF:WUR:MS=0
              0;255;3;0;9;71 TSM:INIT:TSP OK
              0;255;3;0;9;74 TSM:INIT:GW MODE
              0;255;3;0;9;77 TSM:READY:ID=0,PAR=0,DIS=0
              0;255;3;0;9;80 MCO:REG:NOT NEEDED
              0;255;3;0;14;Gateway startup complete.
              0;255;0;0;18;2.2.0-beta
              0;255;3;0;9;86 MCO:BGN:STP
              SETUP()
              0;255;3;0;9;92 MCO:BGN:INIT OK,TSP=1
              0;255;3;0;9;12518 TSF:MSG:SEND,0-57-54-0,s=101,c=7,t=104,pt=2,l=0,sg=0,ft=0,st=OK:30068
              0;255;3;0;9;1 MCO:BGN:INIT GW,CP=RNNGAS-X,VER=2.2.0-beta
              0;255;3;0;9;66 TSM:INIT
              0;255;3;0;9;68 TSF:WUR:MS=0
              0;255;3;0;9;77 TSM:INIT:TSP OK
              0;255;3;0;9;80 TSM:INIT:GW MODE
              0;255;3;0;9;83 TSM:READY:ID=0,PAR=0,DIS=0
              0;255;3;0;9;87 MCO:REG:NOT NEEDED
              0;255;3;0;14;Gateway startup complete.
              0;255;0;0;18;2.2.0-beta
              0;255;3;0;9;91 MCO:BGN:STP
              SETUP()
              0;255;3;0;9;98 MCO:BGN:INIT OK,TSP=1
              0;255;3;0;9;2097 0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGAS-X,VER=2.2.0-beta
              0;255;3;0;9;59 TSM:INIT
              0;255;3;0;9;61 TSF:WUR:MS=0
              0;255;3;0;9;69 TSM:INIT:TSP OK
              0;255;3;0;9;72 TSM:INIT:GW MODE
              0;255;3;0;9;75 TSM:READY:ID=0,PAR=0,DIS=0
              0;255;3;0;9;78 MCO:REG:NOT NEEDED
              0;255;3;0;14;Gateway startup complete.
              0;255;0;0;18;2.2.0-beta
              0;255;3;0;9;83 MCO:BGN:STP
              SETUP()
              0;255;3;0;9;90 MCO:BGN:INIT OK,TSP=1
              

              Node:

              0 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
              83 TSM:INIT
              86 TSF:WUR:MS=0
              94 TSM:INIT:TSP OK
              96 TSF:SID:OK,ID=102
              98 TSM:FPAR
              141 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              876 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
              882 TSF:MSG:FPAR OK,ID=0,D=1
              2150 TSM:FPAR:OK
              2150 TSM:ID
              2152 TSM:ID:OK
              2154 TSM:UPL
              2158 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
              2168 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
              2174 TSF:MSG:PONG RECV,HP=1
              2179 TSM:UPL:OK
              2181 TSM:READY:ID=102,PAR=0,DIS=1
              2183 TSM:READY:ID=102,PAR=0,DIS=1
              2220 TSM:INIT
              2220 TSF:WUR:MS=0
              2228 TSM:INIT:TSP OK
              2232 TSF:SID:OK,ID=102
              2234 TSM:FPAR
              2277 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OM:
              1074660236 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
              1074660242 TSF:MSG:FPAR OK,ID=0,D=1
              1074661412 TSM:FPAR:OK
              1074661414 TSM:ID
              1074661416 TSM:ID:OK
              1074661418 TSM:UPL
              1074661424 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
              77014330 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
              77014338 TSF:MSG:PONG RECV,HP=1
              77014340 TSM:UPL:OK
              77014344 TSM:READY:ID=102,PAR=0,DIS=1
              9373611 TSF:MSG:READ,143-0-7,s=95,c=7,t=171,pt=5,l=0,sg=1:
              2 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
              94 TSM:INIT
              96 TSF:WUR:MS=0
              104 TSM:INIT:TSP OK
              106 TSF:SID:OK,ID=102
              108 TSM:FPAR
              151 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              163 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
              169 TSF:MSG:FPAR OK,ID=0,D=1
              2160 TSM:FPAR:OK
              2160 TSM:ID
              2162 TSM:ID:OK
              2164 TSM:UPL
              2207 !TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
              4216 TSM:UPL
              4222 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=OK:1
              4233 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
              4239 TSF:MSG:PONG RECV,HP=1
              4241 TSM:UPL:OK
              4243 TSM:READY:ID=102,PAR=0,DIS=1
              2 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
              81 TSM:INIT
              81 TSF:WUR:MS=0
              90 TSM:INIT:TSP OK
              92 TSF:SID:OK,ID=102
              96 TSM:FPAR
              137 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              311 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
              317 TSF:MSG:FPAR OK,ID=0,D=1
              2146 TSM:FPAR:OK
              2146 TSM:ID
              2148 TSM:ID:OK
              2150 TSM:UPL
              2154 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
              2164 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
              2170 TSF:MSG:PONG RECV,HP=1
              2174 TSM:UPL:OK
              2177 TSM:READY:ID=102,PAR=0,DIS=1
              ⸮⸮55⸮ 2 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
              83 TSM:INIT
              83 TSF:WUR:MS=0
              92 TSM:INIT:TSP OK
              94 TSF:SID:OK,ID=102
              98 TSM:FPAR
              139 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              2148 !TSM:FPAR:NO REPLY
              2150 TSM:FPAR
              2193 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              3135 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
              3141 TSF:MSG:FPAR OK,ID=0,D=1
              4202 TSM:FPAR:OK
              4202 TSM:ID
              4204 TSM:ID:OK
              4206 TSM:UPL
              4249 !TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
              4259 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
              4265 TSF:MSG:PONG RECV,HP=1
              4268 TSM:UPL:OK
              4270 TSM:READY:ID=102,PAR=0,DIS=1
              2 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
              83 TSM:INIT
              83 TSF:WUR:MS=0
              92 TSM:INIT:TSP OK
              94 TSF:SID:OK,ID=102
              96 TSM:FPAR
              139 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              243 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
              249 TSF:MSG:FPAR OK,ID=0,D=1
              2148 TSM:FPAR:OK
              2148 TSM:ID
              2150 TSM:ID:OK
              2152 TSM:UPL
              2156 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
              2166 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
              2172 TSF:MSG:PONG RECV,HP=1
              2177 TSM:UPL:OK
              2179 TSM:READY:ID=102,PAR=0,DIS=1
              2 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
              83 TSM:INIT
              83 TSF:WUR:MS=0
              92 TSM:INIT:TSP OK
              94 TSF:SID:OK,ID=102
              96 TSM:FPAR
              139 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              2148 !TSM:FPAR:NO REPLY
              2150 TSM:FPAR
              2193 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              2453 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
              2459 TSF:MSG:FPAR OK,ID=0,D=1
              4202 TSM:FPAR:OK
              4202 TSM:ID
              4204 TSM:ID:OK
              4206 TSM:UPL
              4210 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
              4220 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
              4227 TSF:MSG:PONG RECV,HP=1
              4231 TSM:UPL:OK
              4233 TSM:READY:ID=102,PAR=0,DIS=1
              2 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
              81 TSM:INIT
              83 TSF:WUR:MS=0
              92 TSM:INIT:TSP OK
              94 TSF:SID:OK,ID=102
              96 TSM:FPAR
              139 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              540 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
              546 TSF:MSG:FPAR OK,ID=0,D=1
              2148 TSM:FPAR:OK
              2148 TSM:ID
              2150 TSM:ID:OK
              2152 TSM:UPL
              2195 !TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
              2205 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
              2211 TSF:MSG:PONG RECV,HP=1
              2213 TSM:UPL:OK
              2215 TSM:READY:ID=102,PAR=0,DIS=1
              
              AnticimexA Offline
              AnticimexA Offline
              Anticimex
              Contest Winner
              wrote on last edited by
              #8

              @LuFi not that I know of. I use atmga328p myself and it works fine.
              If you read the signing documentation, you'll see that there is a hw chip available for signing; the atsha204a. For encryption, there is the rfm69.

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

              1 Reply Last reply
              1
              • L Offline
                L Offline
                LuFi
                wrote on last edited by
                #9

                Yes, i did read that documentation.

                So for encryption you prefer the atsha204a (hardware encryption) in combination with the rfm69 (433/868/915) Mhz radio ?

                Typically, the encryption should work via the NRF2401 (2.4 Ghz) module though?
                And you have already used it?

                I am always ready to look for the error first with me ;-)

                P.S.:+1: Many thx for your Support

                Regards

                LuFi

                AnticimexA 1 Reply Last reply
                0
                • L LuFi

                  Yes, i did read that documentation.

                  So for encryption you prefer the atsha204a (hardware encryption) in combination with the rfm69 (433/868/915) Mhz radio ?

                  Typically, the encryption should work via the NRF2401 (2.4 Ghz) module though?
                  And you have already used it?

                  I am always ready to look for the error first with me ;-)

                  P.S.:+1: Many thx for your Support

                  Regards

                  LuFi

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

                  @LuFi no, atsha204a is for signing. Nrf24 has no hw encryption support. Rfm69 has. I use nrf24 with software encryption for my tests. And if you use the simple password option, you get software based signing and software based encryption on all hw (except rfm69 based nodes).

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

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    LuFi
                    wrote on last edited by
                    #11

                    All right, thank you. I'll look what I do wrong.

                    AnticimexA 1 Reply Last reply
                    0
                    • L LuFi

                      All right, thank you. I'll look what I do wrong.

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

                      @LuFi there is constant action on the development branch. It could be that something grew over a critical threshold for atmga328p based gateways with the simple signing option enabled. You could try to sift through log using git bisect if you have an older known good version. Signing and personalization has not been touched for some time. I have not tested any signing features since my last signing commit. You could start with 59337b19fe2280e3d375a5e70156c75379d18196

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

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        LuFi
                        wrote on last edited by
                        #13

                        You are fully right, i tested again with the Version from 7 of June.
                        And now i'am able to see messages on node and Gateway.
                        Also was it be possible to enable MY_DEBUG.

                        How i need to register the node now ?

                        Gateway:

                        0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGAS-X,VER=2.2.0-beta
                        0;255;3;0;9;32 TSM:INIT
                        0;255;3;0;9;34 TSF:WUR:MS=0
                        0;255;3;0;9;44 TSM:INIT:TSP OK
                        0;255;3;0;9;47 TSM:INIT:GW MODE
                        0;255;3;0;9;49 TSM:READY:ID=0,PAR=0,DIS=0
                        0;255;3;0;9;53 MCO:REG:NOT NEEDED
                        0;255;3;0;14;Gateway startup complete.
                        0;255;0;0;18;2.2.0-beta
                        0;255;3;0;9;57 MCO:BGN:STP
                        0;255;3;0;9;64 MCO:BGN:INIT OK,TSP=1
                        0;255;3;0;9;7947 TSF:MSG:READ,100-69-67,s=243,c=6,t=27,pt=5,l=25,sg=0:205739666
                        0;255;3;0;9;7954 !TSF:MSG:PVER,0=2
                        0;255;3;0;9;7958 TSF:MSG:READ,156-86-188,s=209,c=3,t=10,pt=2,l=19,sg=0:896
                        0;255;3;0;9;7964 !TSF:MSG:PVER,3=2
                        0;255;3;0;9;8240 TSF:MSG:READ,84-13-13,s=195,c=6,t=239,pt=0,l=24,sg=1:⸮⸮⸮⸮|x`
                        0;255;3;0;9;8247 !TSF:MSG:PVER,0=2
                        0;255;3;0;9;8251 TSF:MSG:READ,108-183-170,s=192,c=4,t=37,pt=3,l=15,sg=1:44342
                        0;255;3;0;9;8258 !TSF:MSG:PVER,1=2
                        0;255;3;0;9;24365 TSF:MSG:READ,68-108-243,s=208,c=0,t=182,pt=6,l=18,sg=1:0468A782773E75481B000000000000000000
                        0;255;3;0;9;24374 TSF:MSG:REL MSG
                        0;255;3;0;9;24378 !TSF:RTE:243 UNKNOWN
                        0;255;3;0;9;24430 !TSF:MSG:SEND,68-0-243-243,s=208,c=0,t=182,pt=6,l=18,sg=1,ft=0,st=NACK:0468A782773E75481B000000000000000000
                        0;255;3;0;9;24442 TSF:MSG:READ,12-221-80,s=37,c=1,t=70,pt=0,l=14,sg=1:⸮⸮⸮⸮⸮⸮⸮⸮
                        0;255;3;0;9;24450 !TSF:MSG:PVER,1=2
                        0;255;3;0;9;24677 TSF:MSG:READ,27-236-160,s=96,c=4,t=229,pt=4,l=25,sg=0:1384774534
                        0;255;3;0;9;24685 !TSF:MSG:PVER,3=2
                        0;255;3;0;9;24689 TSF:MSG:READ,242-199-50,s=75,c=5,t=246,pt=2,l=25,sg=0:421
                        0;255;3;0;9;24695 TSF:MSG:REL MSG
                        0;255;3;0;9;24699 !TSF:RTE:50 UNKNOWN
                        0;255;3;0;9;24752 !TSF:MSG:SEND,242-0-50-50,s=75,c=5,t=246,pt=2,l=31,sg=0,ft=0,st=NACK:421
                        

                        Node:

                        0 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
                        34 TSM:INIT
                        36 TSF:WUR:MS=0
                        45 TSM:INIT:TSP OK
                        47 TSF:SID:OK,ID=102
                        49 TSM:FPAR
                        92 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                        489 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
                        495 TSF:MSG:FPAR OK,ID=0,D=1
                        2101 TSM:FPAR:OK
                        2101 TSM:ID
                        2103 TSM:ID:OK
                        2105 TSM:UPL
                        2109 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
                        2119 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
                        2125 TSF:MSG:PONG RECV,HP=1
                        2129 TSM:UPL:OK
                        2131 TSM:READY:ID=102,PAR=0,DIS=1
                        2134 MCO:BGN:STP
                        6148 !MCO:SND:NODE NOT REG
                        6150 !MCO:SND:NODE NOT REG
                        6299 !MCO:SND:NODE NOT REG
                        6307 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=16,pt=0,l=0,sg=0,ft=0,st=OK:
                        6338 TSF:MSG:READ,0-0-102,s=255,c=3,t=17,pt=6,l=25,sg=0:<NONCE>
                        6533 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=0,pt=1,l=1,sg=1,ft=0,st=OK:27
                        6541 !MCO:SND:NODE NOT REG
                        10547 !MCO:SND:NODE NOT REG
                        10549 !MCO:SND:NODE NOT REG
                        10553 MCO:BGN:INIT OK,TSP=1
                        10708 !MCO:SND:NODE NOT REG
                        14721 MCO:SLP:MS=1000,SMS=0,I1=0,M1=1,I2=255,M2=255
                        14727 TSF:TDI:TSL
                        14729 MCO:SLP:WUP=-1
                        14731 TSF:TRI:TSB
                        14733 !MCO:SND:NODE NOT REG
                        14737 MCO:SLP:MS=600000,SMS=1,I1=1,M1=1,I2=0,M2=1
                        14747 TSF:M⸮G:SEND,102-102-0-0,s=255,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=OK:
                        14770 TSF:MSG:READ,0-0-102,s=255,c=3,t=17,pt=6,l=25,sg=1:<NONCE>
                        14968 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=32,pt=5,l=4,sg=1,ft=0,st=OK:500
                        15480 TSF:TDI:TSL
                        

                        Regards

                        LuFi

                        AnticimexA 1 Reply Last reply
                        0
                        • L LuFi

                          You are fully right, i tested again with the Version from 7 of June.
                          And now i'am able to see messages on node and Gateway.
                          Also was it be possible to enable MY_DEBUG.

                          How i need to register the node now ?

                          Gateway:

                          0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGAS-X,VER=2.2.0-beta
                          0;255;3;0;9;32 TSM:INIT
                          0;255;3;0;9;34 TSF:WUR:MS=0
                          0;255;3;0;9;44 TSM:INIT:TSP OK
                          0;255;3;0;9;47 TSM:INIT:GW MODE
                          0;255;3;0;9;49 TSM:READY:ID=0,PAR=0,DIS=0
                          0;255;3;0;9;53 MCO:REG:NOT NEEDED
                          0;255;3;0;14;Gateway startup complete.
                          0;255;0;0;18;2.2.0-beta
                          0;255;3;0;9;57 MCO:BGN:STP
                          0;255;3;0;9;64 MCO:BGN:INIT OK,TSP=1
                          0;255;3;0;9;7947 TSF:MSG:READ,100-69-67,s=243,c=6,t=27,pt=5,l=25,sg=0:205739666
                          0;255;3;0;9;7954 !TSF:MSG:PVER,0=2
                          0;255;3;0;9;7958 TSF:MSG:READ,156-86-188,s=209,c=3,t=10,pt=2,l=19,sg=0:896
                          0;255;3;0;9;7964 !TSF:MSG:PVER,3=2
                          0;255;3;0;9;8240 TSF:MSG:READ,84-13-13,s=195,c=6,t=239,pt=0,l=24,sg=1:⸮⸮⸮⸮|x`
                          0;255;3;0;9;8247 !TSF:MSG:PVER,0=2
                          0;255;3;0;9;8251 TSF:MSG:READ,108-183-170,s=192,c=4,t=37,pt=3,l=15,sg=1:44342
                          0;255;3;0;9;8258 !TSF:MSG:PVER,1=2
                          0;255;3;0;9;24365 TSF:MSG:READ,68-108-243,s=208,c=0,t=182,pt=6,l=18,sg=1:0468A782773E75481B000000000000000000
                          0;255;3;0;9;24374 TSF:MSG:REL MSG
                          0;255;3;0;9;24378 !TSF:RTE:243 UNKNOWN
                          0;255;3;0;9;24430 !TSF:MSG:SEND,68-0-243-243,s=208,c=0,t=182,pt=6,l=18,sg=1,ft=0,st=NACK:0468A782773E75481B000000000000000000
                          0;255;3;0;9;24442 TSF:MSG:READ,12-221-80,s=37,c=1,t=70,pt=0,l=14,sg=1:⸮⸮⸮⸮⸮⸮⸮⸮
                          0;255;3;0;9;24450 !TSF:MSG:PVER,1=2
                          0;255;3;0;9;24677 TSF:MSG:READ,27-236-160,s=96,c=4,t=229,pt=4,l=25,sg=0:1384774534
                          0;255;3;0;9;24685 !TSF:MSG:PVER,3=2
                          0;255;3;0;9;24689 TSF:MSG:READ,242-199-50,s=75,c=5,t=246,pt=2,l=25,sg=0:421
                          0;255;3;0;9;24695 TSF:MSG:REL MSG
                          0;255;3;0;9;24699 !TSF:RTE:50 UNKNOWN
                          0;255;3;0;9;24752 !TSF:MSG:SEND,242-0-50-50,s=75,c=5,t=246,pt=2,l=31,sg=0,ft=0,st=NACK:421
                          

                          Node:

                          0 MCO:BGN:INIT NODE,CP=RNONAS-X,VER=2.2.0-beta
                          34 TSM:INIT
                          36 TSF:WUR:MS=0
                          45 TSM:INIT:TSP OK
                          47 TSF:SID:OK,ID=102
                          49 TSM:FPAR
                          92 TSF:MSG:SEND,102-102-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                          489 TSF:MSG:READ,0-0-102,s=255,c=3,t=8,pt=1,l=1,sg=0:0
                          495 TSF:MSG:FPAR OK,ID=0,D=1
                          2101 TSM:FPAR:OK
                          2101 TSM:ID
                          2103 TSM:ID:OK
                          2105 TSM:UPL
                          2109 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
                          2119 TSF:MSG:READ,0-0-102,s=255,c=3,t=25,pt=1,l=1,sg=0:1
                          2125 TSF:MSG:PONG RECV,HP=1
                          2129 TSM:UPL:OK
                          2131 TSM:READY:ID=102,PAR=0,DIS=1
                          2134 MCO:BGN:STP
                          6148 !MCO:SND:NODE NOT REG
                          6150 !MCO:SND:NODE NOT REG
                          6299 !MCO:SND:NODE NOT REG
                          6307 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=16,pt=0,l=0,sg=0,ft=0,st=OK:
                          6338 TSF:MSG:READ,0-0-102,s=255,c=3,t=17,pt=6,l=25,sg=0:<NONCE>
                          6533 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=0,pt=1,l=1,sg=1,ft=0,st=OK:27
                          6541 !MCO:SND:NODE NOT REG
                          10547 !MCO:SND:NODE NOT REG
                          10549 !MCO:SND:NODE NOT REG
                          10553 MCO:BGN:INIT OK,TSP=1
                          10708 !MCO:SND:NODE NOT REG
                          14721 MCO:SLP:MS=1000,SMS=0,I1=0,M1=1,I2=255,M2=255
                          14727 TSF:TDI:TSL
                          14729 MCO:SLP:WUP=-1
                          14731 TSF:TRI:TSB
                          14733 !MCO:SND:NODE NOT REG
                          14737 MCO:SLP:MS=600000,SMS=1,I1=1,M1=1,I2=0,M2=1
                          14747 TSF:M⸮G:SEND,102-102-0-0,s=255,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=OK:
                          14770 TSF:MSG:READ,0-0-102,s=255,c=3,t=17,pt=6,l=25,sg=1:<NONCE>
                          14968 TSF:MSG:SEND,102-102-0-0,s=255,c=3,t=32,pt=5,l=4,sg=1,ft=0,st=OK:500
                          15480 TSF:TDI:TSL
                          

                          Regards

                          LuFi

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

                          @LuFi you get a lot of NACKs. Have you checked your radio power supply etc? Many threads on the forum about radio issues. It is not a signing issue.

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

                          1 Reply Last reply
                          0
                          • L Offline
                            L Offline
                            LuFi
                            wrote on last edited by
                            #15

                            Both are PA Radios with Antenna, and on both i added an 47uf Capacitor.

                            What i do not understand is the Node not registerd Messge.

                            LuFi

                            AnticimexA 1 Reply Last reply
                            0
                            • L LuFi

                              Both are PA Radios with Antenna, and on both i added an 47uf Capacitor.

                              What i do not understand is the Node not registerd Messge.

                              LuFi

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

                              @LuFi I am not an expert on those messages, I suggest you use the log parser on the homepage as I said earlier.
                              That said, I suspect they are there because your GW cannot get any messages through to the node, all SEND:s are NACKed. And it also looks like node and GW disasgree on protocol versions, at least that is what I think !TSF:MSG:PVER,1=2 means.

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

                              1 Reply Last reply
                              0
                              • L Offline
                                L Offline
                                LuFi
                                wrote on last edited by
                                #17

                                Oh, yes. But this happens since i first updated the gateway while the node was sending Data based on latest dev Version.

                                After that i updated the Node.

                                AnticimexA 1 Reply Last reply
                                0
                                • L LuFi

                                  Oh, yes. But this happens since i first updated the gateway while the node was sending Data based on latest dev Version.

                                  After that i updated the Node.

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

                                  @LuFi it is well known that sending full sized payloads (as you do when signing is enabled) puts a strain on the radio that nrf24 radios have trouble handling.
                                  It could also be some bug on development branch present in the commit you use which has been fixed in a later commit. I also see that there are indications that your gw is configured as a repeater. I don't know if that has anything to do with it. I don't think it is supported to have a gw as a repeater. It at least makes no sense. But I could be wrong about that.
                                  You could try the latest but without debugging and see if anything comes through that way, with and without signing.

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

                                  1 Reply Last reply
                                  0
                                  • L Offline
                                    L Offline
                                    LuFi
                                    wrote on last edited by
                                    #19

                                    I used the default Gateway sample Code.
                                    I will change this.

                                    Many thx for Support !

                                    Regards

                                    LuFi

                                    AnticimexA 1 Reply Last reply
                                    0
                                    • L LuFi

                                      I used the default Gateway sample Code.
                                      I will change this.

                                      Many thx for Support !

                                      Regards

                                      LuFi

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

                                      @LuFi you are welcome. Hope it works out.

                                      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


                                      11

                                      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