Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]

Detailed Description

Macros

#define BLE_VS_TX_POWER_HIGH   (0x00)
 High power level. More...
 
#define BLE_VS_TX_POWER_MID   (0x01)
 Middle power level. More...
 
#define BLE_VS_TX_POWER_LOW   (0x02)
 Low power level. More...
 
#define BLE_VS_ADDR_AREA_REG   (0x00)
 Address in register is written or read. More...
 
#define BLE_VS_ADDR_AREA_DATA_FLASH   (0x01)
 Address in DataFlash is written or read. More...
 
#define BLE_VS_EH_TX_PL_PRBS9   (0x00)
 PRBS9 sequence '11111111100000111101..'. More...
 
#define BLE_VS_EH_TX_PL_11110000   (0x01)
 Repeated '11110000'. More...
 
#define BLE_VS_EH_TX_PL_10101010   (0x02)
 Repeated '10101010'. More...
 
#define BLE_VS_EH_TX_PL_PRBS15   (0x03)
 PRBS15 sequence. More...
 
#define BLE_VS_EH_TX_PL_11111111   (0x04)
 Repeated '11111111'. More...
 
#define BLE_VS_EH_TX_PL_00000000   (0x05)
 Repeated '00000000'. More...
 
#define BLE_VS_EH_TX_PL_00001111   (0x06)
 Repeated '00001111'. More...
 
#define BLE_VS_EH_TX_PL_01010101   (0x07)
 Repeated '01010101'. More...
 
#define BLE_VS_EH_TEST_PHY_1M   (0x01)
 1M PHY used in Transmitter/Receiver test. More...
 
#define BLE_VS_EH_TEST_PHY_2M   (0x02)
 2M PHY used in Transmitter/Receiver test. More...
 
#define BLE_VS_EH_TEST_PHY_CODED   (0x03)
 Coded PHY used in Receiver test. More...
 
#define BLE_VS_EH_TEST_PHY_CODED_S_8   (0x03)
 Coded PHY(S=8) used in Transmitter test. More...
 
#define BLE_VS_EH_TEST_PHY_CODED_S_2   (0x04)
 Coded PHY(S=2) used in Transmitter test. More...
 
#define BLE_VS_RF_OFF   (0x00)
 RF power off. More...
 
#define BLE_VS_RF_ON   (0x01)
 RF power on. More...
 
#define BLE_VS_RF_INIT_PARAM_NOT_CHG   (0x00)
 The parameters are not changed in RF power on. More...
 
#define BLE_VS_RF_INIT_PARAM_CHG   (0x01)
 The parameters are changed in RF power on. More...
 
#define BLE_VS_CS_PRIM_ADV_S_8   (0x00)
 Coding scheme for Primary Advertising PHY(S=8). More...
 
#define BLE_VS_CS_PRIM_ADV_S_2   (0x01)
 Coding scheme for Primary Advertising PHY(S=2). More...
 
#define BLE_VS_CS_SECOND_ADV_S_8   (0x00)
 Coding scheme for Secondary Advertising PHY(S=8). More...
 
#define BLE_VS_CS_SECOND_ADV_S_2   (0x02)
 Coding scheme for Secondary Advertising PHY(S=2). More...
 
#define BLE_VS_CS_CONN_S_8   (0x00)
 Coding scheme for request for link establishment(S=8). More...
 
#define BLE_VS_CS_CONN_S_2   (0x04)
 Coding scheme for request for link establishment(S=2). More...
 
#define BLE_VS_TX_FLOW_CTL_ON   (0x00)
 It means that the number of buffer has reached the High Water Mark from flow off state. More...
 
#define BLE_VS_TX_FLOW_CTL_OFF   (0x01)
 It means that the number of buffer has reached the Low Water Mark from flow on state. More...
 

Macro Definition Documentation

◆ BLE_VS_TX_POWER_HIGH

#define BLE_VS_TX_POWER_HIGH   (0x00)

High power level.

◆ BLE_VS_TX_POWER_MID

#define BLE_VS_TX_POWER_MID   (0x01)

Middle power level.

◆ BLE_VS_TX_POWER_LOW

#define BLE_VS_TX_POWER_LOW   (0x02)

Low power level.

◆ BLE_VS_ADDR_AREA_REG

#define BLE_VS_ADDR_AREA_REG   (0x00)

Address in register is written or read.

◆ BLE_VS_ADDR_AREA_DATA_FLASH

#define BLE_VS_ADDR_AREA_DATA_FLASH   (0x01)

Address in DataFlash is written or read.

◆ BLE_VS_EH_TX_PL_PRBS9

#define BLE_VS_EH_TX_PL_PRBS9   (0x00)

PRBS9 sequence '11111111100000111101..'.

◆ BLE_VS_EH_TX_PL_11110000

#define BLE_VS_EH_TX_PL_11110000   (0x01)

Repeated '11110000'.

◆ BLE_VS_EH_TX_PL_10101010

#define BLE_VS_EH_TX_PL_10101010   (0x02)

Repeated '10101010'.

◆ BLE_VS_EH_TX_PL_PRBS15

#define BLE_VS_EH_TX_PL_PRBS15   (0x03)

PRBS15 sequence.

◆ BLE_VS_EH_TX_PL_11111111

#define BLE_VS_EH_TX_PL_11111111   (0x04)

Repeated '11111111'.

◆ BLE_VS_EH_TX_PL_00000000

#define BLE_VS_EH_TX_PL_00000000   (0x05)

Repeated '00000000'.

◆ BLE_VS_EH_TX_PL_00001111

#define BLE_VS_EH_TX_PL_00001111   (0x06)

Repeated '00001111'.

◆ BLE_VS_EH_TX_PL_01010101

#define BLE_VS_EH_TX_PL_01010101   (0x07)

Repeated '01010101'.

◆ BLE_VS_EH_TEST_PHY_1M

#define BLE_VS_EH_TEST_PHY_1M   (0x01)

1M PHY used in Transmitter/Receiver test.

◆ BLE_VS_EH_TEST_PHY_2M

#define BLE_VS_EH_TEST_PHY_2M   (0x02)

2M PHY used in Transmitter/Receiver test.

◆ BLE_VS_EH_TEST_PHY_CODED

#define BLE_VS_EH_TEST_PHY_CODED   (0x03)

Coded PHY used in Receiver test.

◆ BLE_VS_EH_TEST_PHY_CODED_S_8

#define BLE_VS_EH_TEST_PHY_CODED_S_8   (0x03)

Coded PHY(S=8) used in Transmitter test.

◆ BLE_VS_EH_TEST_PHY_CODED_S_2

#define BLE_VS_EH_TEST_PHY_CODED_S_2   (0x04)

Coded PHY(S=2) used in Transmitter test.

◆ BLE_VS_RF_OFF

#define BLE_VS_RF_OFF   (0x00)

RF power off.

◆ BLE_VS_RF_ON

#define BLE_VS_RF_ON   (0x01)

RF power on.

◆ BLE_VS_RF_INIT_PARAM_NOT_CHG

#define BLE_VS_RF_INIT_PARAM_NOT_CHG   (0x00)

The parameters are not changed in RF power on.

◆ BLE_VS_RF_INIT_PARAM_CHG

#define BLE_VS_RF_INIT_PARAM_CHG   (0x01)

The parameters are changed in RF power on.

◆ BLE_VS_CS_PRIM_ADV_S_8

#define BLE_VS_CS_PRIM_ADV_S_8   (0x00)

Coding scheme for Primary Advertising PHY(S=8).

◆ BLE_VS_CS_PRIM_ADV_S_2

#define BLE_VS_CS_PRIM_ADV_S_2   (0x01)

Coding scheme for Primary Advertising PHY(S=2).

◆ BLE_VS_CS_SECOND_ADV_S_8

#define BLE_VS_CS_SECOND_ADV_S_8   (0x00)

Coding scheme for Secondary Advertising PHY(S=8).

◆ BLE_VS_CS_SECOND_ADV_S_2

#define BLE_VS_CS_SECOND_ADV_S_2   (0x02)

Coding scheme for Secondary Advertising PHY(S=2).

◆ BLE_VS_CS_CONN_S_8

#define BLE_VS_CS_CONN_S_8   (0x00)

Coding scheme for request for link establishment(S=8).

◆ BLE_VS_CS_CONN_S_2

#define BLE_VS_CS_CONN_S_2   (0x04)

Coding scheme for request for link establishment(S=2).

◆ BLE_VS_TX_FLOW_CTL_ON

#define BLE_VS_TX_FLOW_CTL_ON   (0x00)

It means that the number of buffer has reached the High Water Mark from flow off state.

◆ BLE_VS_TX_FLOW_CTL_OFF

#define BLE_VS_TX_FLOW_CTL_OFF   (0x01)

It means that the number of buffer has reached the Low Water Mark from flow on state.