SierraWireless / octave-orp

Octave Resource Protocol
MIT License
1 stars 4 forks source link

Notification on handler can not be decoded #13

Closed fdur closed 1 year ago

fdur commented 1 year ago

In an handler is added on a resource, receiving a notification on this handler can not be decoded. Example with the /app/cloudInterface/connected/value resource

orp > add handler /app/cloudInterface/connected/value
Sending: '~H00P/app/cloudInterface/connected/value�X~', (44 bytes)
    Type     : Request, handler add
    Data type: 0
    Sequence : 0
    Path     : /app/cloudInterface/connected/value

orp > 
Received: 'h@00', (4 bytes)
    Type     : Response, handler add
    Status   : 0 (OK)
    Sequence : 0

orp > ERRO | src/orpProtocol.c, line: 825 | Failed to decode packet byte 1: 
ERRO | src/orpProtocol.c, line: 1104 | Failed to decode: 11 5 0000 T1668076457.053773,P/app/cloudInterface/connected/value,Dfalse
ERRO | src/orpProtocol.c, line: 1108 | Error near byte 1 
ERRO | src/orpProtocol.c, line: 825 | Failed to decode packet byte 1: 
ERRO | src/orpProtocol.c, line: 1104 | Failed to decode: 11 5 0000 T1668076472.088039,P/app/cloudInterface/connected/value,Dtruee
ERRO | src/orpProtocol.c, line: 1108 | Error near byte 1