Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

protocol.h File Reference

protocol.h File Reference

Protocol support functions. More...

Go to the source code of this file.

Typedefs

typedef void scan_confirm_cb (int8_t if_id, const mlme_scan_conf_t *conf)
 scan_confirm_cb Callback function for scanning results

Enumerations

enum  arm_internal_event_type {
  ARM_IN_TASKLET_INIT_EVENT = 0, ARM_IN_NWK_INTERFACE_EVENT = 1 , ARM_IN_SOCKET_EVENT = 5 , ARM_IN_INTERFACE_CORE_TIMER_CB,
  ARM_IN_INTERFACE_PROTOCOL_HANDLE, ARM_IN_SECURITY_ECC_CALLER
}

Functions

void protocol_push (buffer_t *buf)
 Push Buffer to Protocol Core.

Detailed Description

Protocol support functions.

Protocol core support functions.

Definition in file protocol.h.


Typedef Documentation

typedef void scan_confirm_cb(int8_t if_id, const mlme_scan_conf_t *conf)

scan_confirm_cb Callback function for scanning results

Parameters:
if_idProtocol interface id
confMLME-SCAN confirm object (ownership not passed)

Definition at line 341 of file protocol.h.


Enumeration Type Documentation

Enumerator:
ARM_IN_TASKLET_INIT_EVENT 

Tasklet Init come always when generate tasklet.

ARM_IN_NWK_INTERFACE_EVENT 

Interface Bootstrap or state update event.

ARM_IN_SOCKET_EVENT 

Interface Bootstrap or state update event.

*< System Timer event

ARM_IN_INTERFACE_CORE_TIMER_CB 

call net_bootsrap_cb_run

ARM_IN_INTERFACE_PROTOCOL_HANDLE 

call net_bootsrap_cb_run

ARM_IN_SECURITY_ECC_CALLER 

protocol_buffer_poll

Definition at line 133 of file protocol.h.


Function Documentation

void protocol_push ( buffer_t buf )

Push Buffer to Protocol Core.

Parameters:
bufpointer to buffer. NULL is accepted and ignored.

Definition at line 1003 of file protocol_core.c.