Skip to content

Commit

Permalink
wifi_provisioning : Increased 1 byte of BLE advertising device name t…
Browse files Browse the repository at this point in the history
…o store '\0', at the end, to ensure we adhere to the max name length as per spec.
  • Loading branch information
IshaESP committed Sep 27, 2022
1 parent c321739 commit ba8fc01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/protocomm/include/transports/protocomm_ble.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba8fc01

Please sign in to comment.