tools/mesh-cfgclient: Fix model app list parsing 22/234222/1
authorInga Stotland <inga.stotland@intel.com>
Wed, 6 May 2020 21:44:49 +0000 (14:44 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Fri, 22 May 2020 04:23:43 +0000 (09:53 +0530)
commita550a796672958f941eb363871caecf21603b82a
treec0359136dac6479cde4b85567ea9a63d92dda760
parentc799725e393beeab936b1bff73b39dcad7e84b80
tools/mesh-cfgclient: Fix model app list parsing

This fixes parsing of Model AppKey List & Vendor Model Appkey List
messages: taking into account the packt that AppKey indices are parked
two in three octets.

Also, when printing key indices, print in both decimal and hexadecimal
formats.

Change-Id: Iad95817a4f2f0789838f6701045959d7597d00c4
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
tools/mesh-cfgclient.c
tools/mesh/cfgcli.c
tools/mesh/keys.c
tools/mesh/remote.c