添加STAwifi模式以及修改灯状态

This commit is contained in:
OPTOC
2025-08-28 16:04:01 +08:00
parent 2ab5a97ac3
commit 56c1716726
8 changed files with 230 additions and 54 deletions

View File

@@ -511,7 +511,7 @@ static void gatts_profile_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_
size_t len = os_pipe_fifo_fill(&port_data->pipe_obj, p_data->write.value, p_data->write.len);
if (len < p_data->write.len)
{
SYS_LOG_WRN("Pipeline cache exceeded %d bytes", p_data->write.len - len);
SYS_LOG_WRN("read Pipeline cache exceeded %d bytes", p_data->write.len - len);
}
}
else
@@ -559,7 +559,7 @@ static void gatts_profile_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_
size_t len = os_pipe_fifo_fill(&port_data->pipe_obj, fifo->data, fifo->len);
if (len < p_data->write.len)
{
SYS_LOG_WRN("Pipeline cache exceeded %d bytes", p_data->write.len - len);
SYS_LOG_WRN("write Pipeline cache exceeded %d bytes", p_data->write.len - len);
}
os_fifo_free(fifo);