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:
Isha Pardikar 2022-09-26 15:04:57 +05:30
parent 2dd6a166b9
commit a78a36e7b9

View File

@ -52,7 +52,7 @@ typedef struct protocomm_ble_config {
/**
* 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