Modules#

sl_wisun_coap

CoAP type definitions#

Typedefs#

typedef struct coap_s

Wi-SUN CoAP handler for Wi-SUN component.

typedef void *(*
sl_wisun_coap_malloc_t)(uint16_t size)

Wi-SUN CoAP malloc function pointer typedef.

typedef void(*

Wi-SUN CoAP free function pointer typedef.

typedef coap_version_e

Wi-SUN CoAP version typedef.

typedef uint8_t(*
sl_wisun_coap_tx_callback)(uint8_t *packet_data, uint16_t packet_data_size, sn_nsdl_addr_s *addr, void *param)

Wi-SUN CoAP TX callback function pointer typedef.

typedef int8_t(*
sl_wisun_coap_rx_callback)(sn_coap_hdr_s *header, sn_nsdl_addr_s *addr, void *param)

Wi-SUN CoAP RX callback function pointer typedef.

typedef sn_coap_hdr_s

Wi-SUN CoAP message typedef.

typedef sn_coap_msg_code_e

Wi-SUN CoAP message code typedef.

typedef sn_coap_msg_type_e

Wi-SUN CoAP message type typedef.

typedef sn_coap_option_numbers_e

Wi-SUN CoAP option number typedef.

typedef sn_coap_options_list_s

Wi-SUN CoAP option list typedef.

typedef struct sl_wisun_coap

Wi-SUN CoAP descriptor structure.

Macros#

#define

Maximum size of the URI path string.

Typedef Documentation#

sl_wisun_coap_handle_t#

typedef struct coap_s sl_wisun_coap_handle_t

Wi-SUN CoAP handler for Wi-SUN component.


Definition at line 77 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h

sl_wisun_coap_malloc_t#

typedef void *(* sl_wisun_coap_malloc_t) (uint16_t size) )(uint16_t size)

Wi-SUN CoAP malloc function pointer typedef.


Definition at line 80 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h

sl_wisun_coap_free_t#

typedef void(* sl_wisun_coap_free_t) (void *mem) )(void *mem)

Wi-SUN CoAP free function pointer typedef.


Definition at line 83 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h

sl_wisun_coap_version_t#

typedef coap_version_e sl_wisun_coap_version_t

Wi-SUN CoAP version typedef.


Definition at line 86 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h

sl_wisun_coap_tx_callback#

typedef uint8_t(* sl_wisun_coap_tx_callback) (uint8_t *packet_data, uint16_t packet_data_size, sn_nsdl_addr_s *addr, void *param) )(uint8_t *packet_data, uint16_t packet_data_size, sn_nsdl_addr_s *addr, void *param)

Wi-SUN CoAP TX callback function pointer typedef.


Definition at line 89 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h

sl_wisun_coap_rx_callback#

typedef int8_t(* sl_wisun_coap_rx_callback) (sn_coap_hdr_s *header, sn_nsdl_addr_s *addr, void *param) )(sn_coap_hdr_s *header, sn_nsdl_addr_s *addr, void *param)

Wi-SUN CoAP RX callback function pointer typedef.


Definition at line 92 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h

sl_wisun_coap_packet_t#

typedef sn_coap_hdr_s sl_wisun_coap_packet_t

Wi-SUN CoAP message typedef.


Definition at line 95 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h

sl_wisun_coap_message_code_t#

typedef sn_coap_msg_code_e sl_wisun_coap_message_code_t

Wi-SUN CoAP message code typedef.


Definition at line 98 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h

sl_wisun_coap_message_type_t#

typedef sn_coap_msg_type_e sl_wisun_coap_message_type_t

Wi-SUN CoAP message type typedef.


Definition at line 101 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h

sl_wisun_coap_option_num_t#

typedef sn_coap_option_numbers_e sl_wisun_coap_option_num_t

Wi-SUN CoAP option number typedef.


Definition at line 104 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h

sl_wisun_coap_option_list_t#

typedef sn_coap_options_list_s sl_wisun_coap_option_list_t

Wi-SUN CoAP option list typedef.


Definition at line 107 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h

sl_wisun_coap_t#

typedef struct sl_wisun_coap sl_wisun_coap_t

Wi-SUN CoAP descriptor structure.


Definition at line 123 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h

Macro Definition Documentation#

SL_WISUN_COAP_URI_PATH_MAX_SIZE#

#define SL_WISUN_COAP_URI_PATH_MAX_SIZE
Value:
(128U)

Maximum size of the URI path string.


Definition at line 74 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/app/wisun/component/coap/sl_wisun_coap.h