|
Modbus Vault v1.0
|
Implementation of the BLE provisioner. More...
#include "ble_provisioner.h"#include "esp_event.h"#include "esp_log.h"#include "esp_netif.h"#include "esp_system.h"#include "esp_wifi.h"#include "nvs_manager.h"#include "sdkconfig.h"#include <network_provisioning/manager.h>#include <network_provisioning/scheme_ble.h>#include <string.h>Functions | |
| static void | provisioning_event_handler (void *arg_ptr, esp_event_base_t event_base, int32_t event_id, void *event_data_ptr) |
| Handle provisioning events. | |
| esp_err_t | ble_provisioner_start (void) |
| Start BLE provisioner. | |
Variables | |
| static const char * | TAG = "BLE_PROV" |
Implementation of the BLE provisioner.
| esp_err_t ble_provisioner_start | ( | void | ) |
Start BLE provisioner.
| ESP_OK | Provision success |
| ESP_FAIL | Provision fail |
| ESP_ERR_INVALID_ARG | Provided invalid argument(s) |
| ESP_ERR_INVALID_STATE | Configuration in invalid state |
| ESP_ERR_NO_MEM | No available memory for resource allocation |
|
static |
Handle provisioning events.
| arg_ptr | Pointer to args |
| event_base | Event base |
| event_id | Event ID |
| event_data_ptr | Pointer to event data |
|
static |
BLE Provisioner TAG name