bletiny 2.0.0.0
BLE TINY Device Settings

Settings for registers of BLE TINY Click driver. More...

Macros

#define BLETINY_RSP_OK   "OK"
 BLE Tiny device response for AT commands.
 
#define BLETINY_RSP_ERROR   "ERROR"
 
#define BLETINY_CONNECTED   "+CONNECTED"
 
#define BLETINY_DISCONNECTED   "+DISCONNECTED"
 
#define BLETINY_SPI_CFG_SPEED_2MHZ   0
 BLE Tiny device SPI configuration.
 
#define BLETINY_SPI_CFG_SPEED_4MHZ   1
 
#define BLETINY_SPI_CFG_SPEED_8MHZ   2
 
#define BLETINY_SPI_CFG_MODE0   0
 
#define BLETINY_SPI_CFG_MODE1   1
 
#define BLETINY_SPI_CFG_MODE2   2
 
#define BLETINY_SPI_CFG_MODE3   3
 
#define BLETINY_I2C_CFG_SPEED_100KHZ   100
 BLE Tiny device I2C configuration.
 
#define BLETINY_I2C_CFG_SPEED_400KHZ   400
 
#define BLETINY_I2C_CFG_REG_LEN_1BYTE   8
 
#define BLETINY_I2C_CFG_REG_LEN_1BYTES   16
 
#define DRV_BUFFER_SIZE   500
 BLE TINY driver buffer size.
 

Detailed Description

Settings for registers of BLE TINY Click driver.

Macro Definition Documentation

◆ BLETINY_CONNECTED

#define BLETINY_CONNECTED   "+CONNECTED"

◆ BLETINY_DISCONNECTED

#define BLETINY_DISCONNECTED   "+DISCONNECTED"

◆ BLETINY_I2C_CFG_REG_LEN_1BYTE

#define BLETINY_I2C_CFG_REG_LEN_1BYTE   8

◆ BLETINY_I2C_CFG_REG_LEN_1BYTES

#define BLETINY_I2C_CFG_REG_LEN_1BYTES   16

◆ BLETINY_I2C_CFG_SPEED_100KHZ

#define BLETINY_I2C_CFG_SPEED_100KHZ   100

BLE Tiny device I2C configuration.

I2C configuration parameters.

◆ BLETINY_I2C_CFG_SPEED_400KHZ

#define BLETINY_I2C_CFG_SPEED_400KHZ   400

◆ BLETINY_RSP_ERROR

#define BLETINY_RSP_ERROR   "ERROR"

◆ BLETINY_RSP_OK

#define BLETINY_RSP_OK   "OK"

BLE Tiny device response for AT commands.

Device response after commands.

◆ BLETINY_SPI_CFG_MODE0

#define BLETINY_SPI_CFG_MODE0   0

◆ BLETINY_SPI_CFG_MODE1

#define BLETINY_SPI_CFG_MODE1   1

◆ BLETINY_SPI_CFG_MODE2

#define BLETINY_SPI_CFG_MODE2   2

◆ BLETINY_SPI_CFG_MODE3

#define BLETINY_SPI_CFG_MODE3   3

◆ BLETINY_SPI_CFG_SPEED_2MHZ

#define BLETINY_SPI_CFG_SPEED_2MHZ   0

BLE Tiny device SPI configuration.

SPI configuration parameters.

◆ BLETINY_SPI_CFG_SPEED_4MHZ

#define BLETINY_SPI_CFG_SPEED_4MHZ   1

◆ BLETINY_SPI_CFG_SPEED_8MHZ

#define BLETINY_SPI_CFG_SPEED_8MHZ   2

◆ DRV_BUFFER_SIZE

#define DRV_BUFFER_SIZE   500

BLE TINY driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.