KNX IoT
KNX IoT Point API stack implementation
|
session events More...
Go to the source code of this file.
Data Structures | |
struct | oc_session_event_cb |
Structure to manage session event handler list. More... | |
Typedefs | |
typedef struct oc_session_event_cb | oc_session_event_cb_t |
Structure to manage session event handler list. More... | |
typedef void(* | session_event_handler_t) (const oc_endpoint_t *endpoint, oc_session_state_t state) |
Callback function to pass the session event information to the Application. More... | |
Enumerations | |
enum | oc_session_state_t { OC_SESSION_CONNECTED , OC_SESSION_DISCONNECTED } |
session states More... | |
Functions | |
OC_PROCESS_NAME (oc_session_events) | |
void | oc_session_end_event (oc_endpoint_t *endpoint) |
session end event More... | |
void | oc_session_events_set_event_delay (int secs) |
set delay for events More... | |
void | oc_session_start_event (oc_endpoint_t *endpoint) |
session start event More... | |
session events
Definition in file oc_session_events.h.
typedef struct oc_session_event_cb oc_session_event_cb_t |
Structure to manage session event handler list.
typedef void(* session_event_handler_t) (const oc_endpoint_t *endpoint, oc_session_state_t state) |
Callback function to pass the session event information to the Application.
endpoint | the endpoint info which the session event is happened. |
state | the enumeration values in oc_session_state_t. |
Definition at line 47 of file oc_session_events.h.
enum oc_session_state_t |
session states
Enumerator | |
---|---|
OC_SESSION_CONNECTED | session connected |
OC_SESSION_DISCONNECTED | session disconnected |
Definition at line 35 of file oc_session_events.h.
void oc_session_end_event | ( | oc_endpoint_t * | endpoint | ) |
session end event
endpoint | stop event on endpoint |
void oc_session_events_set_event_delay | ( | int | secs | ) |
set delay for events
secs | delay in seconds |
void oc_session_start_event | ( | oc_endpoint_t * | endpoint | ) |
session start event
endpoint | start event on endpoint |