I am working long nrf52840 and trying to implement long range in my project. There were examples in SDK 15.2.0 but i couldn't find any example or post which is related to SDK 15.3.0. I tried my own modification like changing the advertising layer from 1 Mbps to CODED in ble_adverstisement.c file(15.3.0) but after i made the changes my device keep resetting. I did not make any other changes in sdk_config and main. file
p_advertising->adv_params.secondary_phy = BLE_GAP_PHY_CODED;
This demo is mainly to show the long range connection and send the long MTU up to 244 bytes.
i have tried your code but when program is at
err_code = ble_nus_data_send(&m_nus, data_array, &length, m_conn_handle);
or can you please kindly do some modification such that peripheral will transmit continuously and central will receive the data?