KNX IoT
KNX IoT Point API stack implementation
oc_group_mapping_table_t Struct Reference

Group Mapping Table Resource (/fp/gm) The payload is an array of objects. More...

#include <oc_knx_gm.h>

Data Fields

bool authentication
 (115:28:97) a authentication applied (default true, if groupKey exists) More...
 
bool confidentiality
 (115:28:99) c confidentiality applied (default true, if groupKey exists) More...
 
uint32_t dataType
 (116) dataType More...
 
uint64_t * ga
 (7) array of group addresses (unsigned 64 bit integers) More...
 
int ga_len
 length of the array of ga identifiers More...
 
oc_string_t groupKey
 (s:107) groupKey More...
 
int id
 (0) contents of id More...
 

Detailed Description

Group Mapping Table Resource (/fp/gm) The payload is an array of objects.

Example (JSON):

[
{
"id": "1",
"ga":[2305, 2401],
"dataType" : 1
},
{
"id": 2,
"ga": [2306],
"dataType": 5,
"s": {
"groupkey": "<key>"
"secSettings": {
"a": true,
"c": true
}
}
}
]

Key translation

Json Key Integer Value
id 0
ga 7
dataType 116 (t)
s 115 (s)
groupKey 107
secSettings 28
a 97 (a)
c 99 (c)

The structure stores the information. The structure will be used as an array. There are function to find

  • empty index in the array
  • find the index with a specific id
  • delete an index, e.g. delete the array entry of data (persistent)
  • make the entry persistent
  • free the data

Definition at line 96 of file oc_knx_gm.h.

Field Documentation

◆ authentication

bool authentication

(115:28:97) a authentication applied (default true, if groupKey exists)

Definition at line 103 of file oc_knx_gm.h.

◆ confidentiality

bool confidentiality

(115:28:99) c confidentiality applied (default true, if groupKey exists)

Definition at line 105 of file oc_knx_gm.h.

◆ dataType

uint32_t dataType

(116) dataType

Definition at line 101 of file oc_knx_gm.h.

◆ ga

uint64_t* ga

(7) array of group addresses (unsigned 64 bit integers)

Definition at line 100 of file oc_knx_gm.h.

◆ ga_len

int ga_len

length of the array of ga identifiers

Definition at line 99 of file oc_knx_gm.h.

◆ groupKey

oc_string_t groupKey

(s:107) groupKey

Definition at line 102 of file oc_knx_gm.h.

◆ id

int id

(0) contents of id

Definition at line 98 of file oc_knx_gm.h.


The documentation for this struct was generated from the following file: