10 lines
349 B
C
10 lines
349 B
C
#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);
|