Edgehog Device SDK ESP32 v0.8.1
ESP32 device SDK for the Edgehog platform
|
Edgehog device network interface API. More...
#include "edgehog_device.h"
Go to the source code of this file.
Enumerations | |
enum | edgehog_netif_technology_type { NETWORK_INTERFACE_TECHNOLOGY_INVALID = 0 , NETWORK_INTERFACE_TECHNOLOGY_ETHERNET , NETWORK_INTERFACE_TECHNOLOGY_BLUETOOTH , NETWORK_INTERFACE_TECHNOLOGY_CELLULAR , NETWORK_INTERFACE_TECHNOLOGY_WIFI } |
Edgehog network interface technology type codes. | |
Functions | |
void | edgehog_netif_properties_publish (edgehog_device_handle_t edgehog_device, const char *iface_name, const char *mac_address, edgehog_netif_technology_type technology_type) |
Publish Network interface properties. | |
Variables | |
const astarte_interface_t | netif_interface |
Edgehog device network interface API.
void edgehog_netif_properties_publish | ( | edgehog_device_handle_t | edgehog_device, |
const char * | iface_name, | ||
const char * | mac_address, | ||
edgehog_netif_technology_type | technology_type ) |
Publish Network interface properties.
This function publishes network interface properties to Astarte
edgehog_device | A valid Edgehog device handle. |
iface_name | The network interface name |
mac_address | The network interface mac address |
technology_type | The network interface technology type |