21 #ifndef OC_KNX_GM_INTERNAL_H
22 #define OC_KNX_GM_INTERNAL_H
117 void oc_create_iot_router_functional_block(
size_t device_index);
208 size_t device_index,
char *sender_ip_address,
void oc_create_knx_iot_router_resources(size_t device_index)
Creation of the knx iot router resources.
void oc_load_group_mapping_table()
load all entries of the Group Mapping Table (from persistent) storage
int oc_set_gateway_cb(oc_gateway_s_mode_cb_t oc_gateway_s_mode_cb_t, void *data)
Initialize the gateway callbacks.
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
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.
int oc_get_f_netip_fra(size_t device_index)
retrieve the IPv4 sync latency fraction (fra).
oc_string_t oc_get_f_netip_key(size_t device_index)
retrieve the IPv4 routing backbone key
struct oc_gateway_t oc_gateway_t
The gateway info.
oc_group_mapping_table_t * oc_get_group_mapping_entry(size_t device_index, int index)
retrieve group mapping entry
oc_gateway_t * oc_get_gateway_cb(void)
retrieve the gateway info, e.g.
uint32_t oc_get_f_netip_mcast(size_t device_index)
retrieve the current IPv4 routing multicast address.
void oc_delete_group_mapping_table()
delete all entries of the Group Mapping Table (from persistent) storage
int oc_get_f_netip_tol(size_t device_index)
retrieve the IPv4 routing latency tolerance (tol)
struct oc_group_mapping_table_t oc_group_mapping_table_t
Group Mapping Table Resource (/fp/gm) The payload is an array of objects.
int oc_core_get_group_mapping_table_size()
returns the size (amount of total entries) of the fp / gm table
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.
implementation of /.well-known/knx and /k resources
oc_interface_mask_t
interface masks security access scopes defined as interfaces note that scope = 1 is not used.
oc_gateway_s_mode_cb_t cb
the callback
void * data
the callback user data
Group Mapping Table Resource (/fp/gm) The payload is an array of objects.
bool confidentiality
(115:28:99) c confidentiality applied (default true, if groupKey exists)
int ga_len
length of the array of ga identifiers
uint64_t * ga
(7) array of group addresses (unsigned 64 bit integers)
oc_string_t groupKey
(s:107) groupKey
uint32_t dataType
(116) dataType
bool authentication
(115:28:97) a authentication applied (default true, if groupKey exists)
Group Object Notification (s-mode messages) Can be used for receiving messages or sending messages.
request information structure