Test Mode#
Modules#
Functions#
Start the BLE RX test mode in controller.
Start the BLE TX test mode in controller.
Stop the BLE TX / RX test mode in controller.
Initiate the BLE transmit PER mode in the controller.
Initiate the BLE receive PER mode in the controller.
Typedef Documentation#
Function Documentation#
rsi_ble_rx_test_mode#
int32_t rsi_ble_rx_test_mode (uint8_t rx_channel, uint8_t phy, uint8_t modulation)
Start the BLE RX test mode in controller.
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | [in] | rx_channel | - Channel in which packet have to be received (0 - 39) |
uint8_t | [in] | phy | - 0x00 Reserved for future use
|
uint8_t | [in] | modulation | - 0x00 Assume transmitter will have a standard standard modulation index
|
This is a Blocking API Returns
The following values are returned:
0 - Success
Non-Zero Value - Failure
Note
Refer Error Codes section for above error codes error-codes .
rsi_ble_tx_test_mode#
int32_t rsi_ble_tx_test_mode (uint8_t tx_channel, uint8_t phy, uint8_t tx_len, uint8_t mode)
Start the BLE TX test mode in controller.
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | [in] | tx_channel | - RF Channel (0-39). |
uint8_t | [in] | phy | - 0x00 Reserved for future use
|
uint8_t | [in] | tx_len | - Length in bytes of payload data in each packet ( 1 - 251 bytes). |
uint8_t | [in] | mode | - 0x00 PRBS9 sequence '11111111100000111101...'
|
This is a Blocking API Returns
The following values are returned:
0 - Success
Non-Zero Value - Failure
Note
Refer Error Codes section for above error codes error-codes .
rsi_ble_end_test_mode#
int32_t rsi_ble_end_test_mode (uint16_t * num_of_pkts)
Stop the BLE TX / RX test mode in controller.
Type | Direction | Argument Name | Description |
---|---|---|---|
uint16_t * | [out] | num_of_pkts | - Number of RX packets received are displayed when RX test is stopped |
This is a Blocking API Returns
The following values are returned:
0 - Success
Non-Zero Value - Failure
Note
Refer Error Codes section for above error codes error-codes .
rsi_ble_per_transmit#
int32_t rsi_ble_per_transmit (struct rsi_ble_per_transmit_s * rsi_ble_per_tx)
Initiate the BLE transmit PER mode in the controller.
Type | Direction | Argument Name | Description |
---|---|---|---|
struct rsi_ble_per_transmit_s * | [in] | rsi_ble_per_tx | - This parameter is the buffer to hold the structure values
|
This is a Blocking API
Pre-conditions:
Device should be initialized before calling this API.
Returns
The following values are returned:
0 - Success
Non-Zero Value - Failure
Note
Refer Error Codes section for above error codes error-codes .
rsi_ble_per_receive#
int32_t rsi_ble_per_receive (struct rsi_ble_per_receive_s * rsi_ble_per_rx)
Initiate the BLE receive PER mode in the controller.
Type | Direction | Argument Name | Description |
---|---|---|---|
struct rsi_ble_per_receive_s * | [in] | rsi_ble_per_rx | - This parameter is the buffer to hold the structure values
|
This is a Blocking API
Pre-conditions:
Device should be initialized before calling this API.
Returns
The following values are returned:
0 - Success
Non-Zero Value - Failure
Note
Refer Error Codes section for above error codes error-codes .