Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Enumerations | Functions
LL_API_TEST

Data Structures

struct  LlTestReport_t
 Test report data. More...
 
struct  LlIsoTestCtrs_t
 ISO test counter data. More...
 
struct  LlIsoLinkQual_t
 ISO link quality statistics. More...
 

Enumerations

Functions

uint8_t LlTxTest (uint8_t rfChan, uint8_t len, uint8_t pktType, uint16_t numPkt)
 Enter transmit test mode. More...
 
uint8_t LlRxTest (uint8_t rfChan, uint16_t numPkt)
 Enter receive test mode. More...
 
uint8_t LlEnhancedTxTest (uint8_t rfChan, uint8_t len, uint8_t pktType, uint8_t phy, uint16_t numPkt)
 Enter enhanced transmit test mode. More...
 
uint8_t LlEnhancedRxTest (uint8_t rfChan, uint8_t phy, uint8_t modIdx, uint16_t numPkt)
 Enter enhanced receive test mode. More...
 
uint8_t LlEndTest (LlTestReport_t *pRpt)
 End test mode. More...
 
uint8_t LlSetTxTestErrorPattern (uint32_t pattern)
 Set pattern of errors for Tx test mode. More...
 
uint8_t LlModifySleepClockAccuracy (uint8_t action)
 Modify the sleep clock accuracy. More...
 
uint8_t LlIsoTxTest (uint16_t handle, uint8_t pldType)
 Enable ISO Tx test. More...
 
uint8_t LlIsoRxTest (uint16_t handle, uint8_t pldType)
 Enable ISO Rx test. More...
 
uint8_t LlIsoReadTestCounter (uint16_t handle, LlIsoTestCtrs_t *pCtr)
 ISO read test counters. More...
 
uint8_t LlIsoTestEnd (uint16_t handle, LlIsoTestCtrs_t *pCtr)
 Terminate ISO Tx or Rx test. More...
 
uint8_t LlSetTxPowerReporting (uint16_t handle, uint8_t enableLocal, uint8_t enableRemote)
 Set transmit power change reporting enable. More...
 
uint8_t LlSetPowerMonitorEnable (uint16_t handle, bool_t enable)
 Set enable state for power monitoring. More...
 
uint8_t LlSetPathLossReportingParams (uint16_t handle, uint8_t highThresh, uint8_t highHyst, uint8_t lowThresh, uint8_t lowHyst, uint16_t minTime)
 Set path loss monitoring parameters. More...
 
uint8_t LlSetPathLossReportingEnable (uint16_t handle, uint8_t enable)
 Set path loss enable. More...
 
uint8_t LlPowerCtrlReq (uint16_t handle, int8_t delta, uint8_t phy)
 Request change to or read peer txPower. More...
 
void LlIsoEventCompleteEnable (uint8_t enable)
 ISO event complete enable. More...
 

Detailed Description

Enumeration Type Documentation

anonymous enum

Test packet payload type.

Enumerator
LL_TEST_PKT_TYPE_PRBS9 

Pseudo-Random bit sequence 9.

LL_TEST_PKT_TYPE_0F 

00001111'b packet payload type.

LL_TEST_PKT_TYPE_55 

01010101'b packet payload type.

LL_TEST_PKT_TYPE_PRBS15 

Pseudo-Random bit sequence 15.

LL_TEST_PKT_TYPE_FF 

11111111'b packet payload type.

LL_TEST_PKT_TYPE_00 

00000000'b packet payload type.

LL_TEST_PKT_TYPE_F0 

11110000'b packet payload type.

LL_TEST_PKT_TYPE_AA 

10101010'b packet payload type.

Definition at line 840 of file ll_api.h.

anonymous enum

Test PHY type.

Enumerator
LL_TEST_PHY_LE_1M 

LE 1M PHY.

LL_TEST_PHY_LE_2M 

LE 2M PHY.

LL_TEST_PHY_LE_CODED 

LE Coded PHY (data coding unspecified).

LL_TEST_PHY_LE_CODED_S8 

LE Coded PHY with S=8 data coding.

LL_TEST_PHY_LE_CODED_S2 

LE Coded PHY with S=2 data coding.

Definition at line 853 of file ll_api.h.

anonymous enum

Test modulation index.

Enumerator
LL_TEST_MOD_IDX_STANDARD 

Standard modulation index.

LL_TEST_MOD_IDX_STABLE 

Stable modulation index.

Definition at line 863 of file ll_api.h.

ISO test packet payload type.

Enumerator
LL_ISO_PLD_TYPE_ZERO_LEN 

Zero length payload.

LL_ISO_PLD_TYPE_VAR_LEN 

Variable length payload.

LL_ISO_PLD_TYPE_MAX_LEN 

Maximum length payload.

Definition at line 879 of file ll_api.h.

Function Documentation

uint8_t LlEndTest ( LlTestReport_t pRpt)

End test mode.

Parameters
pRptReport return buffer.
Returns
Status error code.

End test mode and return the report.

uint8_t LlEnhancedRxTest ( uint8_t  rfChan,
uint8_t  phy,
uint8_t  modIdx,
uint16_t  numPkt 
)

Enter enhanced receive test mode.

Parameters
rfChanRF channel number, i.e. "rfChan = (F - 2402) / 2)".
phyReceiver PHY.
modIdxModulation index.
numPktAuto terminate after number of successful packets, 0 for infinite.
Returns
Status error code.

Start the receive test mode on the given channel.

uint8_t LlEnhancedTxTest ( uint8_t  rfChan,
uint8_t  len,
uint8_t  pktType,
uint8_t  phy,
uint16_t  numPkt 
)

Enter enhanced transmit test mode.

Parameters
rfChanRF channel number, i.e. "rfChan = (F - 2402) / 2)".
lenLength of test data.
pktTypeTest packet payload type.
phyTransmitter PHY.
numPktAuto terminate after number of packets, 0 for infinite.
Returns
Status error code.

Start the transmit test mode on the given channel.

void LlIsoEventCompleteEnable ( uint8_t  enable)

ISO event complete enable.

Parameters
enableSet to TRUE to enable, FALSE to disable.

Enable or disable reports about the scanners from which an advertiser receives scan requests.

uint8_t LlIsoReadTestCounter ( uint16_t  handle,
LlIsoTestCtrs_t pCtr 
)

ISO read test counters.

Parameters
handleCIS or BIS handle.
pCtrTest Counter.
Returns
Status error code.
uint8_t LlIsoRxTest ( uint16_t  handle,
uint8_t  pldType 
)

Enable ISO Rx test.

Parameters
handleCIS or BIS handle.
pldTypePayload type.
Returns
Status error code.
uint8_t LlIsoTestEnd ( uint16_t  handle,
LlIsoTestCtrs_t pCtr 
)

Terminate ISO Tx or Rx test.

Parameters
handleCIS or BIS handle.
pCtrTest counters.
Returns
Status error code.
uint8_t LlIsoTxTest ( uint16_t  handle,
uint8_t  pldType 
)

Enable ISO Tx test.

Parameters
handleCIS or BIS handle.
pldTypePayload type.
Returns
Status error code.
uint8_t LlModifySleepClockAccuracy ( uint8_t  action)

Modify the sleep clock accuracy.

Parameters
actionIncrease or decrease the sleep clock accuracy.
Returns
Status error code.
uint8_t LlPowerCtrlReq ( uint16_t  handle,
int8_t  delta,
uint8_t  phy 
)

Request change to or read peer txPower.

Parameters
handleConnection handle.
deltaRequested change.
phyPhy this change requests the change on.
Returns
Status error code.
uint8_t LlRxTest ( uint8_t  rfChan,
uint16_t  numPkt 
)

Enter receive test mode.

Parameters
rfChanRF channel number, i.e. "rfChan = (F - 2402) / 2)".
numPktAuto terminate after number of successful packets, 0 for infinite.
Returns
Status error code.

Start the receive test mode on the given channel.

uint8_t LlSetPathLossReportingEnable ( uint16_t  handle,
uint8_t  enable 
)

Set path loss enable.

Parameters
handleConnection handle.
enableEnable flag.
Returns
Status error code.
uint8_t LlSetPathLossReportingParams ( uint16_t  handle,
uint8_t  highThresh,
uint8_t  highHyst,
uint8_t  lowThresh,
uint8_t  lowHyst,
uint16_t  minTime 
)

Set path loss monitoring parameters.

Parameters
handleHandle identifier for connection.
highThreshHigh extreme threshold.
highHystHigh extreme hysteresis.
lowThreshLow extreme threshold.
lowHystLow extreme hysteresis.
minTimeMinimum time spent to trigger event generation.
Returns
Status error code.
uint8_t LlSetPowerMonitorEnable ( uint16_t  handle,
bool_t  enable 
)

Set enable state for power monitoring.

Parameters
handleHandle identifier for connection.
enableEnable status for power monitor.
Returns
Status error code.
Note
Path loss must be disabled.
uint8_t LlSetTxPowerReporting ( uint16_t  handle,
uint8_t  enableLocal,
uint8_t  enableRemote 
)

Set transmit power change reporting enable.

Parameters
handleConnection handle.
enableLocalEnable local reporting.
enableRemoteEnable remote reporting.
Returns
Status error code.
uint8_t LlSetTxTestErrorPattern ( uint32_t  pattern)

Set pattern of errors for Tx test mode.

Parameters
patternError pattern (1s = no error; 0s = CRC failure).
Returns
Status error code.

Set pattern of errors for Tx test mode.

Note
The error pattern must be set after the Tx test is started.
uint8_t LlTxTest ( uint8_t  rfChan,
uint8_t  len,
uint8_t  pktType,
uint16_t  numPkt 
)

Enter transmit test mode.

Parameters
rfChanRF channel number, i.e. "rfChan = (F - 2402) / 2)".
lenLength of test data.
pktTypeTest packet payload type.
numPktAuto terminate after number of packets, 0 for infinite.
Returns
Status error code.

Start the transmit test mode on the given channel.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.