Platform API Reference
Platform portability layer
iot_platform_types.h File Reference

Types of the platform layer. More...

#include "iot_config.h"
#include "iot_linear_containers.h"

Go to the source code of this file.

Data Structures

struct  IotMetricsTcpConnection_t
 Represents a TCP connection to a remote IPv4 server. More...
 

Macros

#define IOT_THREAD_DEFAULT_PRIORITY   0
 A value representing the system default for new thread priority.
 
#define IOT_THREAD_DEFAULT_STACK_SIZE   0
 A value representhing the system default for new thread stack size.
 
#define IOT_METRICS_IP_ADDRESS_LENGTH   54
 The length of the buffer used to store IP addresses for metrics. More...
 

Typedefs

typedef _IotSystemMutex_t IotMutex_t
 The type used to represent mutexes, configured with the type _IotSystemMutex_t. More...
 
typedef _IotSystemSemaphore_t IotSemaphore_t
 The type used to represent semaphores, configured with the type _IotSystemSemaphore_t. More...
 
typedef void(* IotThreadRoutine_t) (void *)
 Thread routine function. More...
 
typedef _IotSystemTimer_t IotTimer_t
 The type used to represent timers, configured with the type _IotSystemTimer_t. More...
 

Detailed Description

Types of the platform layer.

Macro Definition Documentation

◆ IOT_METRICS_IP_ADDRESS_LENGTH

#define IOT_METRICS_IP_ADDRESS_LENGTH   54

The length of the buffer used to store IP addresses for metrics.

This is the length of the longest IPv6 address plus space for the port number and NULL terminator.

Typedef Documentation

◆ IotThreadRoutine_t

typedef void( * IotThreadRoutine_t) (void *)

Thread routine function.

Parameters
[in]void* The argument passed to the Iot_CreateDetachedThread. For application use.