diff --git a/components/protocomm/src/transports/protocomm_ble.c b/components/protocomm/src/transports/protocomm_ble.c index 90f18cc7c0..5af270353c 100644 --- a/components/protocomm/src/transports/protocomm_ble.c +++ b/components/protocomm/src/transports/protocomm_ble.c @@ -484,7 +484,7 @@ static void protocomm_ble_cleanup(void) esp_err_t protocomm_ble_start(protocomm_t *pc, const protocomm_ble_config_t *config) { - if (!pc || !config || !config->device_name || !config->nu_lookup) { + if (!pc || !config || !config->nu_lookup) { return ESP_ERR_INVALID_ARG; } diff --git a/components/protocomm/src/transports/protocomm_nimble.c b/components/protocomm/src/transports/protocomm_nimble.c index 806b8775ad..ab2b80f35d 100644 --- a/components/protocomm/src/transports/protocomm_nimble.c +++ b/components/protocomm/src/transports/protocomm_nimble.c @@ -844,7 +844,7 @@ static void free_gatt_ble_misc_memory(simple_ble_cfg_t *ble_config) esp_err_t protocomm_ble_start(protocomm_t *pc, const protocomm_ble_config_t *config) { - if (!pc || !config || !config->device_name || !config->nu_lookup) { + if (!pc || !config || !config->nu_lookup) { return ESP_ERR_INVALID_ARG; }