XCORE SDK
XCORE Software Development Kit
Macros | Typedefs | Enumerations
iot_network_types.h File Reference

Header file contains the network types shared by both low level networking drivers and upper level applications. More...

Go to the source code of this file.

Macros

#define AWSIOT_NETWORK_TYPE_NONE   0x00000000
 Network types supported by Amazon FreeRTOS.
 
#define AWSIOT_NETWORK_TYPE_WIFI   0x00000001
 
#define AWSIOT_NETWORK_TYPE_BLE   0x00000002
 
#define AWSIOT_NETWORK_TYPE_ETH   0x00000004
 
#define AWSIOT_NETWORK_TYPE_ALL   ( AWSIOT_NETWORK_TYPE_WIFI | AWSIOT_NETWORK_TYPE_BLE | AWSIOT_NETWORK_TYPE_ETH )
 
#define AWSIOT_NETWORK_TYPE_TCP_IP   ( AWSIOT_NETWORK_TYPE_WIFI | AWSIOT_NETWORK_TYPE_ETH )
 

Typedefs

typedef enum AwsIotNetworkState AwsIotNetworkState_t
 Enum types representing states for different networks.
 
typedef void(* IotNetworkStateChangeEventCallback_t) (uint32_t ulNetworkType, AwsIotNetworkState_t xState)
 Callback invoked by a driver to post network state change events.
 

Enumerations

enum  AwsIotNetworkState { eNetworkStateUnknown = 0 , eNetworkStateDisabled , eNetworkStateEnabled }
 Enum types representing states for different networks. More...
 

Detailed Description

Header file contains the network types shared by both low level networking drivers and upper level applications.

Enumeration Type Documentation

◆ AwsIotNetworkState

Enum types representing states for different networks.

Enumerator
eNetworkStateUnknown 

eNetworkStateUnknown State of the network is unknown

eNetworkStateDisabled 

eNetworkStateDisabled State of the network is disabled/disconnected

eNetworkStateEnabled 

eNetworkStateEnabled State of the network is enabled and connected.