#include <stdbool.h>
#include <stdint.h>
#include <ZW_classcmd.h>
Go to the source code of this file.
Functions | |
uint8_t | zaf_config_get_bootloader_upgradable (void) |
Indicates if the bootloader is upgradable. | |
uint8_t | zaf_config_get_bootloader_target_id (void) |
Returns the target id of the bootloader. | |
uint16_t | zaf_config_get_build_no (void) |
Return the build number. | |
uint8_t | zaf_config_get_hardware_version (void) |
uint8_t | zaf_config_get_firmware_target_count (void) |
uint16_t | zaf_config_get_manufacturer_id (void) |
uint16_t | zaf_config_get_product_type_id (void) |
uint16_t | zaf_config_get_product_id (void) |
uint8_t | zaf_config_get_number_of_endpoints (void) |
uint8_t | zaf_config_get_default_endpoint (void) |
uint8_t | zaf_config_get_role_type (void) |
uint8_t | zaf_config_get_requested_security_keys (void) |
uint8_t | zaf_config_get_secure_only (void) |
uint8_t zaf_config_get_bootloader_target_id | ( | void | ) |
Returns the target id of the bootloader.
This function is only relevant if zaf_config_get_bootloader_upgradable is true. The returned target id can be invalid if the bootloader is not upgradable
uint8_t zaf_config_get_bootloader_upgradable | ( | void | ) |
Indicates if the bootloader is upgradable.
uint16_t zaf_config_get_build_no | ( | void | ) |
Return the build number.
uint8_t zaf_config_get_default_endpoint | ( | void | ) |
Return default endpoint.
uint8_t zaf_config_get_firmware_target_count | ( | void | ) |
Returns the configured hardware version.
uint8_t zaf_config_get_hardware_version | ( | void | ) |
Returns the configured hardware version.
uint16_t zaf_config_get_manufacturer_id | ( | void | ) |
Returns the manufacturer ID defined in zaf_config.h
The format of this value is specified by the Manufacturer Specific command class.
uint8_t zaf_config_get_number_of_endpoints | ( | void | ) |
Returns the number of endpoints set in zaf_config.h.
uint16_t zaf_config_get_product_id | ( | void | ) |
Returns the product ID defined in zaf_config.h.
The format of this value is specified by the Manufacturer Specific command class.
uint16_t zaf_config_get_product_type_id | ( | void | ) |
Returns the product type ID defined in zaf_config.h.
The format of this value is specified by the Manufacturer Specific command class.
uint8_t zaf_config_get_requested_security_keys | ( | void | ) |
Retuns the requested security keys
uint8_t zaf_config_get_role_type | ( | void | ) |
Returns the role type of the application.
uint8_t zaf_config_get_secure_only | ( | void | ) |
Returns if the application is secure only