WISP ERT (Client)
1.0.0
The WISP Extended Runtime (WISP side)
|
#include <wio.h>
Go to the source code of this file.
Macros | |
#define | _WTP_PKT_MAX 0x08 |
WTP Packet max (Marco) More... | |
#define | _WTP_EVENT_MAX 0x03 |
WTP event max (Marco) More... | |
Typedefs | |
typedef wio_status_t | wtp_status_t |
WTP status type. More... | |
typedef uint8_t | wtp_pkt_t |
WTP packet type. More... | |
typedef uint8_t | wtp_link_state_t |
WTP link state type. More... | |
typedef uint8_t | wtp_event_t |
WTP event type. More... | |
typedef uint8_t | wtp_param_t |
WTP parameter code type. More... | |
typedef wtp_status_t(* | wtp_pkt_handler_t) (struct wtp *, wio_buf_t *) |
WTP packet handler type. More... | |
Variables | |
static const wtp_status_t | WTP_ERR_UNSUPPORT_OP = 0x10 |
Unsupported operation. More... | |
static const wtp_pkt_t | WTP_PKT_END = 0x00 |
No more packets. More... | |
static const wtp_pkt_t | WTP_PKT_OPEN = 0x01 |
Open WTP connection. More... | |
static const wtp_pkt_t | WTP_PKT_CLOSE = 0x02 |
Close WTP connection. More... | |
static const wtp_pkt_t | WTP_PKT_ACK = 0x03 |
Acknowledgement. More... | |
static const wtp_pkt_t | WTP_PKT_BEGIN_MSG = 0x04 |
Begin message. More... | |
static const wtp_pkt_t | WTP_PKT_CONT_MSG = 0x05 |
Continue message. More... | |
static const wtp_pkt_t | WTP_PKT_REQ_UPLINK = 0x06 |
Request uplink transmission. More... | |
static const wtp_pkt_t | WTP_PKT_SET_PARAM = 0x07 |
Set WTP parameter. More... | |
static const wtp_pkt_t | WTP_PKT_MAX = _WTP_PKT_MAX |
WTP Packet max. More... | |
static const wtp_link_state_t | WTP_STATE_CLOSED = 0x00 |
Connection closed. More... | |
static const wtp_link_state_t | WTP_STATE_OPENING = 0x01 |
Connection opening. More... | |
static const wtp_link_state_t | WTP_STATE_OPENED = 0x02 |
Connection opened. More... | |
static const wtp_link_state_t | WTP_STATE_CLOSING = 0x03 |
Connection closing. More... | |
static const wtp_event_t | WTP_EVENT_OPEN = 0x00 |
Connection opened event. More... | |
static const wtp_event_t | WTP_EVENT_HALF_CLOSE = 0x01 |
Downlink closed event. More... | |
static const wtp_event_t | WTP_EVENT_CLOSE = 0x02 |
Connection closed event. More... | |
static const wtp_event_t | WTP_EVENT_MAX = _WTP_EVENT_MAX |
WTP event max. More... | |
static const wtp_param_t | WTP_PARAM_WINDOW_SIZE = 0x00 |
Sliding window size. More... | |
static const wtp_param_t | WTP_PARAM_READ_SIZE = 0x01 |
Read OpSpec size. More... | |
#define _WTP_EVENT_MAX 0x03 |
WTP event max (Marco)
#define _WTP_PKT_MAX 0x08 |
WTP Packet max (Marco)
typedef uint8_t wtp_event_t |
WTP event type.
typedef uint8_t wtp_link_state_t |
WTP link state type.
typedef uint8_t wtp_param_t |
WTP parameter code type.
typedef wtp_status_t(* wtp_pkt_handler_t) (struct wtp *, wio_buf_t *) |
WTP packet handler type.
typedef uint8_t wtp_pkt_t |
WTP packet type.
typedef wio_status_t wtp_status_t |
WTP status type.
|
static |
Unsupported operation.
|
static |
Connection closed event.
|
static |
Downlink closed event.
|
static |
WTP event max.
|
static |
Connection opened event.
|
static |
Read OpSpec size.
|
static |
Sliding window size.
|
static |
Acknowledgement.
|
static |
Begin message.
|
static |
Close WTP connection.
|
static |
Continue message.
|
static |
No more packets.
|
static |
WTP Packet max.
|
static |
Open WTP connection.
|
static |
Request uplink transmission.
|
static |
Set WTP parameter.
|
static |
Connection closed.
|
static |
Connection closing.
|
static |
Connection opened.
|
static |
Connection opening.