Edgehog Device SDK ESP32
ESP32 device SDK for the Edgehog platform
edgehog_network_interface.h File Reference

Edgehog device network interface API. More...

#include "edgehog_device.h"
Include dependency graph for edgehog_network_interface.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. More...
 

Variables

const astarte_interface_t netif_interface
 

Detailed Description

Edgehog device network interface API.

Function Documentation

◆ edgehog_netif_properties_publish()

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

Parameters
edgehog_deviceA valid Edgehog device handle.
iface_nameThe network interface name
mac_addressThe network interface mac address
technology_typeThe network interface technology type