Setup:
Module: nRF51822.
SDK version:nRF5_SDK_11.0.0_89a8197.
Example: ble_app_uart.
Softdevice: S130.
I use ble_nus_string_send on the BLE_GAP_EVT_ADV_REPORT in on_ble_evt tring to scan for
beacon and found that it only outputs strings less than 20 bytes. Dig a little further, I found it's
because of
if (length > BLE_NUS_MAX_DATA_LEN)
{
return NRF_ERROR_INVALID_PARAM;
}
in ble_nus.c while BLE_NUS_MAX_DATA_LEN is defined as (GATT_MTU_SIZE_DEFAULT - 3) and
GATT_MTU_SIZE_DEFAULT is defined to be 23.
My question is how to modify so I can scan for beacon whose data length is about 30? Or it's just
not supported in S130 to scan for beacons this way?