Hi,
I'm using nRF52840 and S140 based on the ble_app_hrs_rscs_relay example. I get a error code 4 when I add DFU service refer to the experimental_ble_app_buttonless_dfu .
I have tried to increase the attribute table size as follow:
ble_cfg_t ble_cfg; memset(&ble_cfg, 0x00, sizeof(ble_cfg)); ble_cfg.gatts_cfg.attr_tab_size.attr_tab_size = 8000; err_code = sd_ble_cfg_set(BLE_GATTS_CFG_ATTR_TAB_SIZE, &ble_cfg, ram_start); APP_ERROR_CHECK(err_code);
Then I also have adjusted the IRAM1 start address and size settings. I have tried set the attr_tab_size to 6000 8000 and 10000, but the problem still cann't be solved and it still return 0x04 error.
Could anyone give me some advice? Thanks