On Fri, Oct 28, 2016 at 08:53:30AM +0000, ??? wrote:
> All,
>
>
> When received specific Payload, IoTivity payloadparse can not convert
> OCRepPayload.
Hi, is this issue reported ?
> As you can see below Iotivity Log, "groups[0]" attribute have NULL
> payload..
>
> I guess that Converting cbor to OCRepPayload logic is issue and in
> "Convert byte to Json", red lettering is a problem.
>
>
>
> Received Data
>
> Convert byte to Json
>
> BF 66 67 72 6F 75 70 73 81 BF 63 67 69 64 78 24
> 35 30 66 31 38 32 33 37 2D 39 62 31 65 2D 34 66
> 31 64 2D 38 38 30 65 2D 38 33 39 66 37 33 31 33
> 31 65 39 33 65 67 6E 61 6D 65 64 68 6F 6D 65 65
> 6F 77 6E 65 72 6A 6E 78 36 7A 30 78 73 70 38 30
> 67 6D 61 73 74 65 72 73 80 67 6D 65 6D 62 65 72
> 73 80 69 73 75 62 47 72 6F 75 70 73 80 67 64 65
> 76 69 63 65 73 80 68 6C 61 74 69 74 75 64 65 F6
> 69 6C 6F 6E 67 69 74 75 64 65 F6 66 72 61 64 69
> 75 73 F6 6F 62 61 63 6B 67 72 6F 75 6E 64 49 6D
> 61 67 65 F6 64 67 61 63 6C F6 6A 63 72 65 61 74
> 65 54 69 6D 65 1B 00 00 01 58 09 67 52 20 6A 75
> 70 64 61 74 65 54 69 6D 65 1B 00 00 01 58 09 67
> 52 20 69 72 65 73 6F 75 72 63 65 73 81 BF 64 68
> 72 65 66 78 34 2F 6F 69 63 2F 70 73 2F 63 68 61
> 6E 6E 65 6C 2F 35 30 66 31 38 32 33 37 2D 39 62
> 31 65 2D 34 66 31 64 2D 38 38 30 65 2D 38 33 39
> 66 37 33 31 33 31 65 39 33 62 72 74 75 78 2E 63
> 6F 6D 2E 73 61 6D 73 75 6E 67 2E 63 68 61 6E 6E
> 65 6C 62 69 66 6F 6F 69 63 2E 69 66 2E 62 61 73
> 65 6C 69 6E 65 FF FF FF
>
> {
> "groups": [
> {
> "gid": "50f18237-9b1e-4f1d-880e-839f73131e93",
> "gname": "home",
> "owner": "nx6z0xsp80",
> "masters": [],
I am asking because I suspect an issue more or less related to cbor,
on branch 1.2-rel (and master maybe), while it's is OK in 1.1-rel.
I observerd the problem on arduino platform, linux is OK but did not
investigate too much,
It could be unrelated but I suggest to compare to 1.1.1 release, and post a bug.
Thanks