I have to use 240 bytes for my sensor value to send in bluetooth. so i choosed to work on ble_app_att_mtu_throughput i need only pheripheral to work on it . i have to remove central part from it . what has to be done for it
I have to use 240 bytes for my sensor value to send in bluetooth. so i choosed to work on ble_app_att_mtu_throughput i need only pheripheral to work on it . i have to remove central part from it . what has to be done for it
There are some sdk_config.h entries related to central that needs to be disabled (for example NRF_SDH_BLE_CENTRAL_LINK_COUNT) and when you compile the code then there will be errors related to central part. Start fixing those errors and you will come very close to removing central from that example.
There are some sdk_config.h entries related to central that needs to be disabled (for example NRF_SDH_BLE_CENTRAL_LINK_COUNT) and when you compile the code then there will be errors related to central part. Start fixing those errors and you will come very close to removing central from that example.
At first i have commented
NRF_SDH_BLE_CENTRAL_LINK_COUNT 1
Yes, I was wrong to this that we can detect this at compile time.
If you remove call to scan_init() and the definition of scan_init and definition of scan_evt_handler, then there is no central feature in your app.
You can also remove nrf_ble*** files related to central to make sure those are not compiled and linked in,