KNX IoT
KNX IoT Point API stack implementation
oc_knx_gm.h File Reference

knx iot router implementation More...

#include <stddef.h>
#include "oc_knx.h"

Go to the source code of this file.

Data Structures

struct  oc_gateway_t
 The gateway info. More...
 
struct  oc_group_mapping_table_t
 Group Mapping Table Resource (/fp/gm) The payload is an array of objects. More...
 

Typedefs

typedef void(* oc_gateway_s_mode_cb_t) (size_t device_index, char *sender_ip_address, oc_group_object_notification_t *s_mode_message, void *data)
 Callback invoked for all s-mode communication e.g. More...
 
typedef struct oc_gateway_t oc_gateway_t
 The gateway info. More...
 
typedef struct oc_group_mapping_table_t oc_group_mapping_table_t
 Group Mapping Table Resource (/fp/gm) The payload is an array of objects. More...
 

Functions

void oc_core_f_netip_get_handler (oc_request_t *request, oc_interface_mask_t iface_mask, void *data)
 
int oc_core_get_group_mapping_table_size ()
 returns the size (amount of total entries) of the fp / gm table More...
 
int oc_core_set_group_mapping_table (size_t device_index, int index, oc_group_mapping_table_t entry, bool store)
 set an entry in the group mapping table More...
 
void oc_create_iot_router_functional_block (size_t device_index)
 
void oc_create_knx_iot_router_resources (size_t device_index)
 Creation of the knx iot router resources. More...
 
void oc_delete_group_mapping_table ()
 delete all entries of the Group Mapping Table (from persistent) storage More...
 
int oc_get_f_netip_fra (size_t device_index)
 retrieve the IPv4 sync latency fraction (fra). More...
 
oc_string_t oc_get_f_netip_key (size_t device_index)
 retrieve the IPv4 routing backbone key More...
 
uint32_t oc_get_f_netip_mcast (size_t device_index)
 retrieve the current IPv4 routing multicast address. More...
 
int oc_get_f_netip_tol (size_t device_index)
 retrieve the IPv4 routing latency tolerance (tol) More...
 
int oc_get_f_netip_ttl (size_t device_index)
 retrieve the value defines how many routers a multicast message MAY pass until it gets discarded. More...
 
oc_gateway_toc_get_gateway_cb (void)
 retrieve the gateway info, e.g. More...
 
oc_group_mapping_table_toc_get_group_mapping_entry (size_t device_index, int index)
 retrieve group mapping entry More...
 
void oc_load_group_mapping_table ()
 load all entries of the Group Mapping Table (from persistent) storage More...
 
int oc_set_gateway_cb (oc_gateway_s_mode_cb_t oc_gateway_s_mode_cb_t, void *data)
 Initialize the gateway callbacks. More...
 

Detailed Description

knx iot router implementation

Definition in file oc_knx_gm.h.