This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

dm_register returning error 0x800E

Could somebody, please tell me what it means? I couldn't find it in the docs.

uint32_t bleDeviceManagerInit()
{
    uint32_t errorCode;
    dm_init_param_t params;
    dm_application_param_t registerParams = { NULL };
    
    errorHandle(pstorage_init());
    errorHandle(dm_init(&params));
    
    registerParams.sec_param.bond         = SEC_PARAM_BOND;
    registerParams.sec_param.mitm         = SEC_PARAM_MITM;
    registerParams.sec_param.io_caps      = SEC_PARAM_IO_CAPABILITIES;
    registerParams.sec_param.oob          = SEC_PARAM_OOB;
    registerParams.sec_param.min_key_size = SEC_PARAM_MIN_KEY_SIZE;
    registerParams.sec_param.max_key_size = SEC_PARAM_MAX_KEY_SIZE;
    registerParams.service_type           = DM_PROTOCOL_CNTXT_GATT_SRVR_ID;
    
    return dm_register(&applicationHandle, &registerParams);
}

Thank you

Parents Reply Children
No Data
Related