Test Harness#

API and Callbacks for the Test Harness Component.

This component implements software for support of non-standard test harness behavior to induce failure conditions and verify certified device behavior. This handles negative key establishment test cases for timeout and sending bad messages, mangling OTA upgrade images, starting/stopping the trust center keepalive, initiating network key updates, and testing ZCL attributes.

Modules#

Test Harness

Macros#

#define
CBKE_OPERATION_GENERATE_KEYS 0
#define
CBKE_OPERATION_GENERATE_KEYS_283K1 1
#define
CBKE_OPERATION_GENERATE_SECRET 2
#define
CBKE_OPERATION_GENERATE_SECRET_283K1 3
#define
sendSE11PublishPriceCommand true
#define
EMBER_AF_TEST_HARNESS_EVENT_STRINGS
#define
sli_zigbee_af_key_establishment_test_harness_message_send_callback (x)
#define
sli_zigbee_af_key_establishment_test_harness_cbke_callback (x, y, z)
#define
EMBER_KEY_ESTABLISHMENT_TEST_HARNESS_EVENT
#define
sli_zigbee_af_test_harness_allow_registration (1)