void OwnershipTransferCB(void* ctx, int nOfRes, OCProvisionResult_t *arr, bool hasError) { if(!hasError) { gOwnershipState = 1; PrintfResult("Ownership transfer", ctx, nOfRes, arr, hasError); } }
void ProvisionCrlCB(void* ctx, int nOfRes, OCProvisionResult_t *arr, bool hasError) { if(!hasError) { gOwnershipState = 1; PrintfResult("Provision CRL", ctx, nOfRes, arr, hasError); } }
void ProvisionPairwiseCB(void* ctx, int nOfRes, OCProvisionResult_t *arr, bool hasError) { if(!hasError) { gOwnershipState = 1; PrintfResult("Provision Pairwise Credential", ctx, nOfRes, arr, hasError); } }
void ProvisionCertCB(void* ctx, int nOfRes, OCProvisionResult_t *arr, bool hasError) { if(!hasError) { gOwnershipState = 1; PrintfResult("Provision Credential", ctx, nOfRes, arr, hasError); } else printf("Cert provisioning error\n-----------------------------------------"); }