ble12 2.0.0.0
|
Settings for registers of BLE 12 Click driver. More...
Macros | |
#define | BLE12_CMD_AT "AT" |
BLE 12 control commands. | |
#define | BLE12_CMD_SW_RESET "AT+RESET" |
#define | BLE12_CMD_GET_VERSION "AT+VERSION?" |
#define | BLE12_CMD_GET_RSSI "AT+RSSI?" |
#define | BLE12_CMD_SET_ADINTERVAL "AT+ADINTERVAL=" |
#define | BLE12_CMD_GET_ADINTERVAL "AT+ADINTERVAL=?" |
#define | BLE12_CMD_SET_ADSTART "AT+ADSTART=" |
#define | BLE12_CMD_GET_ADSTART "AT+ADSTART?" |
#define | BLE12_CMD_SET_ADVMANU "AT+ADVMANU=" |
#define | BLE12_CMD_GET_ADVMANU "AT+ADVMANU?" |
#define | BLE12_CMD_SET_ADVRESP "AT+ADVRESP=" |
#define | BLE12_CMD_GET_ADVRESP "AT+ADVRESP?" |
#define | BLE12_CMD_SET_SCANNER "AT+SCANNER=" |
#define | BLE12_CMD_GET_SCANNER "AT+SCANNER?" |
#define | BLE12_CMD_SET_AUTOCON "AT+AUTOCON=" |
#define | BLE12_CMD_GET_AUTOCON "AT+AUTOCON?" |
#define | BLE12_CMD_SET_DISCON "AT+DISCON=1" |
#define | BLE12_CMD_SET_FILTERA "AT+FILTERA=" |
#define | BLE12_CMD_GET_FILTERA "AT+FILTERA?" |
#define | BLE12_CMD_SET_FILTERR "AT+FILTERR=" |
#define | BLE12_CMD_GET_FILTERR "AT+FILTERR?" |
#define | BLE12_CMD_SET_MANUAID "AT+MANUAID=" |
#define | BLE12_CMD_GET_MANUAID "AT+MANUAID?" |
#define | BLE12_CMD_SET_MANURID "AT+MANURID=" |
#define | BLE12_CMD_GET_MANURID "AT+MANURID?" |
#define | BLE12_CMD_SET_DCDC "AT+DCDC=" |
#define | BLE12_CMD_GET_DCDC "AT+DCDC?" |
#define | BLE12_CMD_SET_SAVE "AT+SAVE=1" |
#define | BLE12_CMD_SET_STOP "AT+STOP=" |
#define | BLE12_CMD_SET_NAME "AT+NAME=" |
#define | BLE12_CMD_GET_UART "AT+UART?" |
#define | BLE12_CMD_SET_UART "AT+UART=" |
#define | BLE12_CMD_GET_ADDR "AT+ADDR?" |
#define | BLE12_CMD_GET_RX "AT+RX?" |
#define | BLE12_CMD_SET_DEFAULT "AT+DEFAULT" |
#define | BLE12_CMD_GET_RFPW "AT+RFPW?" |
#define | BLE12_CMD_SET_RFPW "AT+RFPW=" |
#define | BLE12_CMD_SET_GPIO "AT+PIO=" |
#define | BLE12_CMD_GET_GPIO "AT+PIO?" |
#define | BLE12_CMD_SET_GPIO_IO "AT+PIS=" |
#define | BLE12_CMD_INIT_LED1 "AT+PIS=017,1" |
#define | BLE12_CMD_INIT_LED2 "AT+PIS=019,1" |
#define | BLE12_EVT_CONNECTED "CONNECTED" |
BLE 12 respond event. | |
#define | BLE12_EVT_DISCONNECTED "DISCONNECTED" |
#define | BLE12_EVT_SCAN_TIMEOUT "SCAN TIMEOUT" |
#define | BLE12_LED_YELLOW 0x00 |
BLE 12 control led. | |
#define | BLE12_LED_RED 0x01 |
#define | BLE12_LED_ON 0x00 |
#define | BLE12_LED_OFF 0x01 |
#define | BLE12_OP_MODE_CMD 0x00 |
#define | BLE12_OP_MODE_DATA 0x01 |
#define | BLE12_SELECT_LED_YELLOW "017," |
#define | BLE12_SELECT_LED_RED "019," |
#define | BLE12_SET_LED_STATE_ON "0" |
#define | BLE12_SET_LED_STATE_OFF "1" |
#define | DRV_BUFFER_SIZE 200 |
BLE 12 driver buffer size. | |
Settings for registers of BLE 12 Click driver.
#define BLE12_CMD_AT "AT" |
BLE 12 control commands.
Specified setting for control commands of BLE 12 Click driver.
#define BLE12_CMD_GET_ADDR "AT+ADDR?" |
#define BLE12_CMD_GET_ADINTERVAL "AT+ADINTERVAL=?" |
#define BLE12_CMD_GET_ADSTART "AT+ADSTART?" |
#define BLE12_CMD_GET_ADVMANU "AT+ADVMANU?" |
#define BLE12_CMD_GET_ADVRESP "AT+ADVRESP?" |
#define BLE12_CMD_GET_AUTOCON "AT+AUTOCON?" |
#define BLE12_CMD_GET_DCDC "AT+DCDC?" |
#define BLE12_CMD_GET_FILTERA "AT+FILTERA?" |
#define BLE12_CMD_GET_FILTERR "AT+FILTERR?" |
#define BLE12_CMD_GET_GPIO "AT+PIO?" |
#define BLE12_CMD_GET_MANUAID "AT+MANUAID?" |
#define BLE12_CMD_GET_MANURID "AT+MANURID?" |
#define BLE12_CMD_GET_RFPW "AT+RFPW?" |
#define BLE12_CMD_GET_RSSI "AT+RSSI?" |
#define BLE12_CMD_GET_RX "AT+RX?" |
#define BLE12_CMD_GET_SCANNER "AT+SCANNER?" |
#define BLE12_CMD_GET_UART "AT+UART?" |
#define BLE12_CMD_GET_VERSION "AT+VERSION?" |
#define BLE12_CMD_INIT_LED1 "AT+PIS=017,1" |
#define BLE12_CMD_INIT_LED2 "AT+PIS=019,1" |
#define BLE12_CMD_SET_ADINTERVAL "AT+ADINTERVAL=" |
#define BLE12_CMD_SET_ADSTART "AT+ADSTART=" |
#define BLE12_CMD_SET_ADVMANU "AT+ADVMANU=" |
#define BLE12_CMD_SET_ADVRESP "AT+ADVRESP=" |
#define BLE12_CMD_SET_AUTOCON "AT+AUTOCON=" |
#define BLE12_CMD_SET_DCDC "AT+DCDC=" |
#define BLE12_CMD_SET_DEFAULT "AT+DEFAULT" |
#define BLE12_CMD_SET_DISCON "AT+DISCON=1" |
#define BLE12_CMD_SET_FILTERA "AT+FILTERA=" |
#define BLE12_CMD_SET_FILTERR "AT+FILTERR=" |
#define BLE12_CMD_SET_GPIO "AT+PIO=" |
#define BLE12_CMD_SET_GPIO_IO "AT+PIS=" |
#define BLE12_CMD_SET_MANUAID "AT+MANUAID=" |
#define BLE12_CMD_SET_MANURID "AT+MANURID=" |
#define BLE12_CMD_SET_NAME "AT+NAME=" |
#define BLE12_CMD_SET_RFPW "AT+RFPW=" |
#define BLE12_CMD_SET_SAVE "AT+SAVE=1" |
#define BLE12_CMD_SET_SCANNER "AT+SCANNER=" |
#define BLE12_CMD_SET_STOP "AT+STOP=" |
#define BLE12_CMD_SET_UART "AT+UART=" |
#define BLE12_CMD_SW_RESET "AT+RESET" |
#define BLE12_EVT_CONNECTED "CONNECTED" |
BLE 12 respond event.
Specified setting for respond event of BLE 12 Click driver.
#define BLE12_EVT_DISCONNECTED "DISCONNECTED" |
#define BLE12_EVT_SCAN_TIMEOUT "SCAN TIMEOUT" |
#define BLE12_LED_OFF 0x01 |
#define BLE12_LED_ON 0x00 |
#define BLE12_LED_RED 0x01 |
#define BLE12_LED_YELLOW 0x00 |
BLE 12 control led.
Specified setting for control led of BLE 12 Click driver.
#define BLE12_OP_MODE_CMD 0x00 |
#define BLE12_OP_MODE_DATA 0x01 |
#define BLE12_SELECT_LED_RED "019," |
#define BLE12_SELECT_LED_YELLOW "017," |
#define BLE12_SET_LED_STATE_OFF "1" |
#define BLE12_SET_LED_STATE_ON "0" |
#define DRV_BUFFER_SIZE 200 |
BLE 12 driver buffer size.
Specified size of driver ring buffer.