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

CBKE_OPERATION_GENERATE_KEYS_283K1#

#define CBKE_OPERATION_GENERATE_KEYS_283K1
Value:
1

CBKE_OPERATION_GENERATE_SECRET#

#define CBKE_OPERATION_GENERATE_SECRET
Value:
2

CBKE_OPERATION_GENERATE_SECRET_283K1#

#define CBKE_OPERATION_GENERATE_SECRET_283K1
Value:
3

sendSE11PublishPriceCommand#

#define sendSE11PublishPriceCommand
Value:
true

SL_ZIGBEE_AF_TEST_HARNESS_EVENT_STRINGS#

#define SL_ZIGBEE_AF_TEST_HARNESS_EVENT_STRINGS

sli_zigbee_af_key_establishment_test_harness_message_send_callback#

#define sli_zigbee_af_key_establishment_test_harness_message_send_callback
Value:
(x)

sli_zigbee_af_key_establishment_test_harness_cbke_callback#

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

SL_ZIGBEE_KEY_ESTABLISHMENT_TEST_HARNESS_EVENT#

#define SL_ZIGBEE_KEY_ESTABLISHMENT_TEST_HARNESS_EVENT

sli_zigbee_af_test_harness_allow_registration#

#define sli_zigbee_af_test_harness_allow_registration
Value:
(1)