This adds support for the following Direct Test mode commands: - HCI LE Receiver Test [v3] - HCI LE Transmitter Test [v3] - HCI LE Transmitter Test [v4] Those commands set add a possibility to test an CTE reception and transmission. The HCI LE Transmitter Test [v4] commands allows also setting a transmit power. Signed-off-by: Kamil Gawor <Kamil.Gawor@nordicsemi.no>
13 lines
525 B
C
13 lines
525 B
C
/*
|
|
* Copyright (c) 2017 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
uint8_t ll_test_tx(uint8_t chan, uint8_t len, uint8_t type, uint8_t phy,
|
|
uint8_t cte_len, uint8_t cte_type, uint8_t switch_pattern_len,
|
|
const uint8_t *ant_id, int8_t tx_power);
|
|
uint8_t ll_test_rx(uint8_t chan, uint8_t phy, uint8_t mod_idx, uint8_t expected_cte_len,
|
|
uint8_t expected_cte_type, uint8_t slot_duration, uint8_t switch_pattern_len,
|
|
const uint8_t *ant_ids);
|
|
uint8_t ll_test_end(uint16_t *num_rx);
|