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);
    }
}
Ejemplo n.º 3
0
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-----------------------------------------");
}