Skip to content

Commit

Permalink
host: tests: add function declaration
Browse files Browse the repository at this point in the history
Add function declaration in header file - this is needed
for ble_sm_test_case_peer_sec_req_reject unit test.
  • Loading branch information
piotrnarajowski committed Aug 29, 2024
1 parent f621dd6 commit 6884911
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nimble/host/test/src/ble_sm_test_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ ble_sm_test_util_rx_pair_req(uint16_t conn_handle,
req, rx_status);
}

static void
void
ble_sm_test_util_rx_pair_rsp(uint16_t conn_handle, struct ble_sm_pair_cmd *rsp,
int rx_status)
{
Expand Down
3 changes: 3 additions & 0 deletions nimble/host/test/src/ble_sm_test_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ void ble_sm_test_util_io_check_post(
void ble_sm_test_util_rx_sec_req(uint16_t conn_handle,
struct ble_sm_sec_req *cmd,
int exp_status);
void ble_sm_test_util_rx_pair_rsp(uint16_t conn_handle,
struct ble_sm_pair_cmd *rsp,
int rx_status);
void ble_sm_test_util_verify_tx_pair_fail(struct ble_sm_pair_fail *exp_cmd);
void ble_sm_test_util_us_lgcy_good(struct ble_sm_test_params *params);
void ble_sm_test_util_peer_fail_inval(int we_are_master,
Expand Down

0 comments on commit 6884911

Please sign in to comment.