KNX IoT
KNX IoT Point API stack implementation
|
functions to be called from main, including device callbacks More...
#include "oc_api.h"
Go to the source code of this file.
Data Structures | |
struct | oc_factory_presets_t |
The factory presets info. More... | |
struct | oc_hostname_t |
The hostname info. More... | |
struct | oc_loadstate_t |
The lsm change info. More... | |
struct | oc_programming_mode_t |
The programming mode info. More... | |
struct | oc_reset_t |
The reset info. More... | |
struct | oc_restart_t |
The restart info. More... | |
Typedefs | |
typedef struct oc_factory_presets_t | oc_factory_presets_t |
The factory presets info. More... | |
typedef struct oc_hostname_t | oc_hostname_t |
The hostname info. More... | |
typedef struct oc_loadstate_t | oc_loadstate_t |
The lsm change info. More... | |
typedef struct oc_programming_mode_t | oc_programming_mode_t |
The programming mode info. More... | |
typedef struct oc_reset_t | oc_reset_t |
The reset info. More... | |
typedef struct oc_restart_t | oc_restart_t |
The restart info. More... | |
Functions | |
bool | oc_drop_command (size_t device) |
Get status of dropping of logical device. More... | |
oc_factory_presets_t * | oc_get_factory_presets_cb (void) |
retrieve the factory reset info, e.g. More... | |
oc_hostname_t * | oc_get_hostname_cb (void) |
retrieve the hostname info, e.g. More... | |
oc_loadstate_t * | oc_get_lsm_change_cb (void) |
retrieve the lsm change info, e.g. More... | |
oc_programming_mode_t * | oc_get_programming_mode_cb (void) |
retrieve the programming mode info, e.g. More... | |
oc_reset_t * | oc_get_reset_cb (void) |
retrieve the reset info, e.g. More... | |
oc_restart_t * | oc_get_restart_cb (void) |
retrieve the restart info, e.g. More... | |
bool | oc_main_initialized (void) |
is main initialized More... | |
void | oc_set_drop_commands (size_t device, bool drop) |
Set acceptance of new commands(GET/PUT/POST/DELETE) for logical device. More... | |
functions to be called from main, including device callbacks
Definition in file oc_main.h.
typedef struct oc_factory_presets_t oc_factory_presets_t |
The factory presets info.
typedef struct oc_hostname_t oc_hostname_t |
The hostname info.
typedef struct oc_loadstate_t oc_loadstate_t |
The lsm change info.
typedef struct oc_programming_mode_t oc_programming_mode_t |
The programming mode info.
typedef struct oc_reset_t oc_reset_t |
The reset info.
typedef struct oc_restart_t oc_restart_t |
The restart info.
bool oc_drop_command | ( | size_t | device | ) |
Get status of dropping of logical device.
[in] | device | the index of the logical device |
oc_factory_presets_t* oc_get_factory_presets_cb | ( | void | ) |
retrieve the factory reset info, e.g.
the callback and callback data
oc_hostname_t* oc_get_hostname_cb | ( | void | ) |
retrieve the hostname info, e.g.
the callback and callback data
oc_loadstate_t* oc_get_lsm_change_cb | ( | void | ) |
retrieve the lsm change info, e.g.
the callback and callback data
oc_programming_mode_t* oc_get_programming_mode_cb | ( | void | ) |
retrieve the programming mode info, e.g.
the callback and callback data
oc_reset_t* oc_get_reset_cb | ( | void | ) |
retrieve the reset info, e.g.
the callback and callback data
oc_restart_t* oc_get_restart_cb | ( | void | ) |
retrieve the restart info, e.g.
the callback and callback data
bool oc_main_initialized | ( | void | ) |
is main initialized
void oc_set_drop_commands | ( | size_t | device, |
bool | drop | ||
) |
Set acceptance of new commands(GET/PUT/POST/DELETE) for logical device.
The device drops/accepts new commands when the drop is set to true/false.
[in] | device | index of the logical device |
[in] | drop | set whether all new commands will be accepted/dropped |