Mesh: Apply stabilization fixes in FRWK 08/239508/2
authorAnupam Roy <anupam.r@samsung.com>
Mon, 27 Jul 2020 07:50:06 +0000 (13:20 +0530)
committerAnupam Roy <anupam.r@samsung.com>
Mon, 27 Jul 2020 08:00:07 +0000 (08:00 +0000)
commit9126a2328d676d33dd21c52417ccbffe08b70bf2
tree81b57abec089cadc4df41328b0f80a56c73943b0
parent1eda3f1322ffcf421a9a435cc01db894a60e2e0c
Mesh: Apply stabilization fixes in FRWK

This patch applies few fixes for bugs/issues
found during MESH API testing & stabilziation

Some of the notable changes applied are following-
1. Add missing event handling for Model AppKey Configure command
2. Add exception handling for Key Configuration command
  [Send failure event to app, in case of failure]
3. Fix bug in Saving AppKey in Mesh node structure
  [Instead of AppKey, netkey was used, resulting in error]
4. Bug in fetching ALL AppKey(s) bound to a node
  [Instead of retruning appkeys bound to a Netkey, FRWK
   was returning all appkeys bound to a node, resulting in
   unexpected behavior of the API]
5. Added few DEBUG Prints.

Change-Id: I3b704b2eccd9ea79f59bae5deddf4b50275b365f
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
bt-api/bt-event-handler.c
bt-api/bt-request-sender.c
bt-service/services/bt-service-event-sender.c
bt-service/services/include/bt-service-mesh-nodes.h
bt-service/services/mesh/bt-service-mesh-config-client.c
bt-service/services/mesh/bt-service-mesh-network.c
bt-service/services/mesh/bt-service-mesh-nodes.c
include/bluetooth-api.h