Apply device provisiong state during OTM
authorjs126.lee <js126.lee@samsung.com>
Thu, 24 Mar 2016 13:03:27 +0000 (22:03 +0900)
committerRandeep Singh <randeep.s@samsung.com>
Fri, 25 Mar 2016 09:15:19 +0000 (09:15 +0000)
commit59e762d8a6552721d81351b68c47f43050fdafcf
tree7d41e260f99c123d68b9019dc8886288829a09c3
parent9d8a387ccecbcfca33f0ae96ebc97b72258ff5d3
Apply device provisiong state during OTM

Please just review, But don't merge this patch!!

Accoding to Device-Onborading-State, Ready for provisioning step is added during OTM.

1. Ready for OTM : The second bit of is enable, and isop is false.
2. Ready for Provisioning : The second bit of cm is disable, and isop is false.
3. Ready for Normal operation : THe second bit of cm is disable, and isop is true.

- Patch 1: Added Ready for provisioning step.
- Patch 2: Apply Chul's comment

Change-Id: I4a5aeb1b392aa35bf20a3ef960d3d30674ec40a4
Signed-off-by: js126.lee <js126.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6297
Reviewed-by: Chul Lee <chuls.lee@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/provisioning/src/ownershiptransfermanager.c
resource/csdk/security/src/pstatresource.c