Merge pull request #293 from Montvydas/bugfix-ota-dfu-stuck
Set the default max MTU size within the DFU transport to 23
This commit is contained in:
commit
80c3a8401b
2 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
|
||||
#define BLEGAP_EVENT_LENGTH 6
|
||||
#define BLEGATT_ATT_MTU_MAX 247
|
||||
#define BLEGATT_ATT_MTU_MAX 23
|
||||
enum { BLE_CONN_CFG_HIGH_BANDWIDTH = 1 };
|
||||
|
||||
#define DFU_REV_MAJOR 0x00 /** DFU Major revision number to be exposed. */
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ extern void tusb_hal_nrf_power_event(uint32_t event);
|
|||
|
||||
// These value must be the same with one in dfu_transport_ble.c
|
||||
#define BLEGAP_EVENT_LENGTH 6
|
||||
#define BLEGATT_ATT_MTU_MAX 247
|
||||
#define BLEGATT_ATT_MTU_MAX 23
|
||||
enum { BLE_CONN_CFG_HIGH_BANDWIDTH = 1 };
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
|
|
|
|||
Loading…
Reference in a new issue