Has anyone tried to update the github project nrf52-ble-image-transfer-demo to work with SDK 16 / SD V7.0.1?
I copied the main code in the project to ble_app_uart example in SDK 16 and customize it to work with our Android app and I am able to get 108KB/s from Android (Samsung S10) to NRF52 (S140 on 52840).
But I'm not able to get more than 21KB/s from NRF52 to Android. I even added the following to ble_stack_init() (right after nrf_sdh_ble_enable()) but made no difference:
{ ble_cfg_t ble_cfg; ble_cfg.conn_cfg.conn_cfg_tag = APP_BLE_CONN_CFG_TAG; ble_cfg.conn_cfg.params.gatts_conn_cfg.hvn_tx_queue_size = TX_QUEUE_SIZE; err_code = sd_ble_cfg_set(BLE_CONN_CFG_GATTS, &ble_cfg, ram_start); if (NRF_SUCCESS != err_code) { printf("Err: %d\r\n", (int)err_code); } }
What am I missing? (I tried to copy the sdk_config.h but the diff between SDK 15 and SDK 16 is very large and fails to run correctly -- ends up in app_error_save_and_stop().)
Thanks.