Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Ether
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by Ether

    • Failed to report version in skecth

      Hello,

      When I'm using ack in sendSketchInfo, the gateway never see version string, whereas with no ack (as default) there's no problem.

      Here code of presentation
      void presentation()
      {
      sendSketchInfo("sketchABC", "v1.0",[true|false]);
      present(CHILD_DOOR_ID, S_DOOR, "garageDoor", true);
      }

      Result on gateway with ack=false:
      0;255;3;0;9;TSP:MSG:READ 123-123-0 s=255,c=3,t=11,pt=0,l=9,sg=0:sketchABC
      123;255;3;0;11;sketchABC
      0;255;3;0;9;TSP:MSG:READ 123-123-0 s=255,c=3,t=12,pt=0,l=4,sg=0:v1.0
      123;255;3;0;12;v1.0
      0;255;3;0;9;TSP:MSG:READ 123-123-0 s=234,c=0,t=0,pt=0,l=10,sg=0:garageDoor
      0;255;3;0;9;TSP:MSG:ACK msg
      0;255;3;0;9;TSP:MSG:SEND 0-0-123-123 s=234,c=0,t=0,pt=0,l=10,sg=0,ft=0,st=ok:garageDoor
      123;234;0;0;0;garageDoor

      Result on sensor with ack= false
      TSP:MSG:SEND 123-123-0-0 s=255,c=3,t=11,pt=0,l=9,sg=0,ft=0,st=ok:sketchABC
      !TSP:MSG:SEND 123-123-0-0 s=255,c=3,t=12,pt=0,l=4,sg=0,ft=0,st=fail:v1.0
      TSP:MSG:SEND 123-123-0-0 s=234,c=0,t=0,pt=0,l=10,sg=0,ft=1,st=ok:garageDoor
      Request registration...
      !TSP:MSG:SEND 123-123-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=fail:2
      TSP:MSG:READ 0-0-123 s=234,c=0,t=0,pt=0,l=10,sg=0:garageDoor
      TSP:MSG:READ 0-0-123 s=255,c=3,t=27,pt=1,l=1,sg=0:1
      Node registration=1

      Result on gateway with ack=true:
      0;255;3;0;9;TSP:MSG:READ 123-123-0 s=255,c=3,t=11,pt=0,l=9,sg=0:sketchABC
      0;255;3;0;9;TSP:MSG:ACK msg
      0;255;3;0;9;!TSP:MSG:SEND 0-0-123-123 s=255,c=3,t=11,pt=0,l=9,sg=0,ft=0,st=fail:sketchABC
      123;255;3;0;11;sketchABC
      0;255;3;0;9;TSP:MSG:READ 123-123-0 s=234,c=0,t=0,pt=0,l=10,sg=0:garageDoor
      0;255;3;0;9;TSP:MSG:ACK msg
      0;255;3;0;9;TSP:MSG:SEND 0-0-123-123 s=234,c=0,t=0,pt=0,l=10,sg=0,ft=0,st=ok:garageDoor
      123;234;0;0;0;garageDoor

      Result on sensor with ack=true
      TSP:MSG:SEND 123-123-0-0 s=255,c=3,t=11,pt=0,l=9,sg=0,ft=0,st=ok:sketchABC
      !TSP:MSG:SEND 123-123-0-0 s=255,c=3,t=12,pt=0,l=4,sg=0,ft=0,st=fail:v1.0
      TSP:MSG:SEND 123-123-0-0 s=234,c=0,t=0,pt=0,l=10,sg=0,ft=1,st=ok:garageDoor
      Request registration...
      !TSP:MSG:SEND 123-123-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=fail:2
      TSP:MSG:READ 0-0-123 s=234,c=0,t=0,pt=0,l=10,sg=0:garageDoor
      TSP:MSG:READ 0-0-123 s=255,c=3,t=27,pt=1,l=1,sg=0:1
      Node registration=1

      Any idea?

      Note : May I have to do something special with ack (in presentation and send too)?

      posted in Bug Reports
      Ether
      Ether