13 #ifndef __MODULE_CONFIG_API_H__ 14 #define __MODULE_CONFIG_API_H__ moduleConfig_API error_t mc_remove_sp()
Remove the used service port from the ModuleConfiguration.
uint8_t * order_info
manufacturer specific order information
Definition: module_config_api.h:43
uint8_t * hardware_type
an identifier for the device hardware
Definition: module_config_api.h:44
moduleConfig_API error_t mc_write_auth_key(const uint32_t authorize_key)
Writes a new authorize key to the baos module to configure.
moduleConfig_API error_t mc_set_sp(int32_t sp)
Sets the service port for the ModuleConfiguration.
Structure holding the baos module configuration.
Definition: module_config_api.h:39
uint8_t * serial_number
the KNX Serial Number of the device
Definition: module_config_api.h:45
uint8_t * manufacturer_id
the KNX ID of the manufacturer
Definition: module_config_api.h:41
moduleConfig_API error_t mc_write_manufacturer_id(uint8_t manufacturer_id[2])
Writes the manufacturer id to the baos module to configure.
uint8_t * manufacturer_data
freely usable data by the manufacturer
Definition: module_config_api.h:42
moduleConfig_API error_t mc_write_config(mc_t module_config, uint32_t *authorize_key)
Writes the whole configuration (manufacturer id, manufacturer data, order info, hardware type...
moduleConfig_API error_t mc_read_hardware_type(uint8_t hardware_type[6])
Reads the hardware type from a baos module.
moduleConfig_API error_t mc_set_ind_addr(uint16_t ind_addr)
Sets the individual address of the baos module to configure.
moduleConfig_API error_t mc_read_config(mc_t *module_config)
Reads the whole configuration (manufacturer id, manufacturer data, order info, hardware type...
moduleConfig_API error_t mc_set_auth_key(const uint32_t authorize_key)
Sets the used authorize key of the baos module to configure.
moduleConfig_API error_t mc_read_manufacturer_id(uint8_t manufacturer_id[2])
Reads the manufacturer id from a baos module.
moduleConfig_API error_t mc_write_hardware_type(uint8_t hardware_type[6])
Writes the hardware type to the baos module to configure.
moduleConfig_API error_t mc_read_manufacturer_data(uint8_t manufacturer_data[4])
Reads the manufacturer data from a baos module.
moduleConfig_API error_t mc_write_order_info(uint8_t order_info[10])
Writes the order info to the baos module to configure.
moduleConfig_API error_t mc_write_manufacturer_data(uint8_t manufacturer_data[4])
Writes the manufacturer data to the baos module to configure.
moduleConfig_API error_t mc_clear_auth_key()
Clears the authorize key to be used when writing properties to the baos module to configure...
moduleConfig_API error_t mc_write_serial_number(uint8_t serial_number[6])
Writes the serial number to the baos module to configure.
#define moduleConfig_API
Definition: module_config_config.h:41
moduleConfig_API error_t mc_read_serial_number(uint8_t serial_number[6])
Reads the serial number from a baos module.
struct mc_t mc_t
Structure holding the baos module configuration.
moduleConfig_API error_t mc_get_ind_addr(uint16_t *ind_addr)
Gets the individual address of the baos module to configure.
moduleConfig_API error_t mc_read_order_info(uint8_t order_info[10])
Reads the order info from a baos module.