Hi teams
After I follow this post.
And I modify my source code succeed.
The data was separate by 64 bytes?
How to change or define this "64" bytes in SDK15.2?
Please help me. Thank you.
Hi teams
After I follow this post.
And I modify my source code succeed.
The data was separate by 64 bytes?
How to change or define this "64" bytes in SDK15.2?
Please help me. Thank you.
Hi Amanda
Is this operate equal to directly modify sdk_config.h?
If it's yes. I have already modify sdk_config.h.
But it still separator by 64bytes.
I also added this in my source code.
void conn_evt_len_ext_set(void) { ret_code_t err_code; ble_opt_t opt; memset(&opt, 0x00, sizeof(opt)); opt.common_opt.conn_evt_ext.enable = 1; err_code = sd_ble_opt_set(BLE_COMMON_OPT_CONN_EVT_EXT, &opt); APP_ERROR_CHECK(err_code); }
What do you think about this?
Hi,
Jax said:Is this operate equal to directly modify sdk_config.h?
It set with the NRF_SDH_BLE_GATT_MAX_MTU_SIZE value in the sdk_config.h.
Could you add nrf_ble_gatt_att_mtu_periph_set() into your main.c?
-Amanda H.
It's a same result.
Hi,
Did you use the nrf_ble_gatt_data_length_set() in the project?
At any time, you can call nrf_ble_gatt_eff_mtu_get or nrf_ble_gatt_data_length_get to retrieve the current parameter value for a given connection.
-Amanda H.