This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

sd_ble_uuid_vs_add error

Hello, i am using the Nrf52, i am facing problem on the following line

    #define MESH_SERVICE_BASE_UUID128 0x23, 0xD1, 0xBC, 0xEA, 0x5F, 0x78, 0x23, 0x15, 0xDE,     
                                                               0xEF, 0x12, 0x12, 0x00, 0x00, 0x00, 0x00
    ble_uuid128_t baseUUID128 = { MESH_SERVICE_BASE_UUID128 };
    err = sd_ble_uuid_vs_add(&baseUUID128, &meshService.serviceUuid.type);

sd_ble_uuid_vs_add return the error code 16. the Error code 16 is Bad memory Address.

this problem came from the gap_enable_parameters as i think. if i select the maxoutconnection to 3 then everything is ok but if i select this to 7 then i got this issue. i also would like to share the information about sd_ble_enable

Here is code for ble_enable

u32 __application_ram_start_address = 0x20003F30;

err = sd_ble_enable(&params, &app_ram_base);

using this address i have no error from the ble_enable.

thank you

Related