Google Cloud IoT device SDK for embedded C  1.0.2
iotc_bsp_socket_events_s Struct Reference

#include <iotc_bsp_io_net.h>

Data Fields

iotc_bsp_socket_t iotc_socket
 
uint8_t in_socket_want_read: 1
 
uint8_t in_socket_want_write: 1
 
uint8_t in_socket_want_error: 1
 
uint8_t in_socket_want_connect: 1
 
uint8_t out_socket_can_read: 1
 
uint8_t out_socket_can_write: 1
 
uint8_t out_socket_error: 1
 
uint8_t out_socket_connect_finished: 1
 

Detailed Description

The socket state.

Definition at line 200 of file iotc_bsp_io_net.h.

Field Documentation

◆ in_socket_want_connect

uint8_t in_socket_want_connect

1 if a connection request is made to a socket, 0 otherwise.

Definition at line 214 of file iotc_bsp_io_net.h.

◆ in_socket_want_error

uint8_t in_socket_want_error

1 if an error request is made to a socket, 0 otherwise.

Definition at line 211 of file iotc_bsp_io_net.h.

◆ in_socket_want_read

uint8_t in_socket_want_read

1 if a write request is made to a socket, 0 otherwise.

Definition at line 205 of file iotc_bsp_io_net.h.

◆ in_socket_want_write

uint8_t in_socket_want_write

1 if a read request is made to a socket, 0 otherwise.

Definition at line 208 of file iotc_bsp_io_net.h.

◆ iotc_socket

iotc_bsp_socket_t iotc_socket

The platform-specific socket value.

Definition at line 202 of file iotc_bsp_io_net.h.

◆ out_socket_can_read

uint8_t out_socket_can_read

1 if data can be read from a socket, 0 otherwise.

Definition at line 217 of file iotc_bsp_io_net.h.

◆ out_socket_can_write

uint8_t out_socket_can_write

1 if data can be written to a socket, 0 otherwise.

Definition at line 220 of file iotc_bsp_io_net.h.

◆ out_socket_connect_finished

uint8_t out_socket_connect_finished

1 if a connection request succeeded, 0 otherwise.

Definition at line 226 of file iotc_bsp_io_net.h.

◆ out_socket_error

uint8_t out_socket_error

1 if an error occurs on the socket, 0 otherwise.

Definition at line 223 of file iotc_bsp_io_net.h.


The documentation for this struct was generated from the following file: