Hi,
I am having problems with the ble_advertising_int() function. It returns a return code of 12 (NRF_ERROR_DATA_SIZE) which is returned by ble_advertising_init() -> ble_advdata_encode() -> name_encode()
This only happens when I use two standard services and one custom service:
static ble_uuid_t m_adv_uuids[] = // universally unique service ids
{
{BLE_UUID_DEVICE_INFORMATION_SERVICE, BLE_UUID_TYPE_BLE },
{BLE_UUID_BATTERY_SERVICE, BLE_UUID_TYPE_BLE },
{BLE_UUID_CUSTOM_SERVICE, BLE_UUID_TYPE_VENDOR_BEGIN },
};
When I remove the custom services everything works fine, also when I have only the custom service.
So how can I use standard and custom services in advertising together?
Kind Regards,