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

Macro Definition Documentation#

CBKE_OPERATION_GENERATE_KEYS#

#define CBKE_OPERATION_GENERATE_KEYS
Value:
0

Definition at line 40 of file app/framework/plugin/test-harness/test-harness.h

CBKE_OPERATION_GENERATE_KEYS_283K1#

#define CBKE_OPERATION_GENERATE_KEYS_283K1
Value:
1

Definition at line 41 of file app/framework/plugin/test-harness/test-harness.h

CBKE_OPERATION_GENERATE_SECRET#

#define CBKE_OPERATION_GENERATE_SECRET
Value:
2

Definition at line 42 of file app/framework/plugin/test-harness/test-harness.h

CBKE_OPERATION_GENERATE_SECRET_283K1#

#define CBKE_OPERATION_GENERATE_SECRET_283K1
Value:
3

Definition at line 43 of file app/framework/plugin/test-harness/test-harness.h

sendSE11PublishPriceCommand#

#define sendSE11PublishPriceCommand
Value:
true

Definition at line 81 of file app/framework/plugin/test-harness/test-harness.h

EMBER_AF_TEST_HARNESS_EVENT_STRINGS#

#define EMBER_AF_TEST_HARNESS_EVENT_STRINGS

Definition at line 83 of file app/framework/plugin/test-harness/test-harness.h

sli_zigbee_af_key_establishment_test_harness_message_send_callback#

#define sli_zigbee_af_key_establishment_test_harness_message_send_callback
Value:
(x)

Definition at line 85 of file app/framework/plugin/test-harness/test-harness.h

sli_zigbee_af_key_establishment_test_harness_cbke_callback#

#define sli_zigbee_af_key_establishment_test_harness_cbke_callback
Value:
(x, y, z)

Definition at line 86 of file app/framework/plugin/test-harness/test-harness.h

EMBER_KEY_ESTABLISHMENT_TEST_HARNESS_EVENT#

#define EMBER_KEY_ESTABLISHMENT_TEST_HARNESS_EVENT

Definition at line 88 of file app/framework/plugin/test-harness/test-harness.h

sli_zigbee_af_test_harness_allow_registration#

#define sli_zigbee_af_test_harness_allow_registration
Value:
(1)

Definition at line 90 of file app/framework/plugin/test-harness/test-harness.h