Files
story/firmware/echoear-platform-agent/main/ble_wifi.h
T

10 lines
349 B
C
Raw Normal View History

#pragma once
#include <stdbool.h>
#include "esp_err.h"
// Called by startup before the binding worker is created, then by that worker
// only. Preparing reserves Wi-Fi memory but does not start/associate the radio.
esp_err_t ble_wifi_prepare(void);
esp_err_t ble_wifi_connect(const char *ssid, const char *password);
bool ble_wifi_connected(void);