mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0', at the end, to ensure we adhere to the max name length as per spec.
This commit is contained in:
@@ -52,7 +52,7 @@ typedef struct protocomm_ble_config {
|
|||||||
/**
|
/**
|
||||||
* BLE device name being broadcast at the time of provisioning
|
* BLE device name being broadcast at the time of provisioning
|
||||||
*/
|
*/
|
||||||
char device_name[MAX_BLE_DEVNAME_LEN];
|
char device_name[MAX_BLE_DEVNAME_LEN + 1];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 128 bit UUID of the provisioning service
|
* 128 bit UUID of the provisioning service
|
||||||
|
Reference in New Issue
Block a user