Macros
Defines
BLE Services » Goodix UART Service (GUS)

## Macros
#define | GUS_CONNECTION_MAX
#define | FLOW_ON 0x01
#define | FLOW_OFF 0x00
#define | GUS_MAX_DATA_LEN 247
#define | GUS_FLOW_CTRL_LEN 1
#define | GUS_SERVICE_UUID
#define | GUS_CONNECTION_MAX
#define | FLOW_ON 0x01
#define | FLOW_OFF 0x00
#define | GUS_MAX_DATA_LEN 247
#define | GUS_FLOW_CTRL_LEN 1
#define | GUS_SERVICE_UUID

## Detailed Description

## Macro Definition Documentation

## ◆ FLOW_OFF [1/2]

#define FLOW_OFF 0x00

Indicate that GUS can not receive data from peer.

## ◆ FLOW_OFF [2/2]

#define FLOW_OFF 0x00

Indicate that GUS can not receive data from peer.

## ◆ FLOW_ON [1/2]

#define FLOW_ON 0x01

Indicate that GUS can receive data from peer.

## ◆ FLOW_ON [2/2]

#define FLOW_ON 0x01

Indicate that GUS can receive data from peer.

## ◆ GUS_CONNECTION_MAX [1/2]

#define GUS_CONNECTION_MAX

Value:
(10 < CFG_MAX_CONNECTIONS ?\
10 : CFG_MAX_CONNECTIONS)

Maximum number of Goodix UART Service connections.

## ◆ GUS_CONNECTION_MAX [2/2]

#define GUS_CONNECTION_MAX

Value:
(10 < CFG_MAX_CONNECTIONS ?\
10 : CFG_MAX_CONNECTIONS)

Maximum number of Goodix UART Service connections.

## ◆ GUS_FLOW_CTRL_LEN [1/2]

#define GUS_FLOW_CTRL_LEN 1

Maximum length of ble flow control data packet which is transmitted via GUS.

## ◆ GUS_FLOW_CTRL_LEN [2/2]

#define GUS_FLOW_CTRL_LEN 1

Maximum length of ble flow control data packet which is transmitted via GUS.

## ◆ GUS_MAX_DATA_LEN [1/2]

#define GUS_MAX_DATA_LEN 247

Maximum length of application data packet which is transmitted via GUS.

## ◆ GUS_MAX_DATA_LEN [2/2]

#define GUS_MAX_DATA_LEN 247

Maximum length of application data packet which is transmitted via GUS.

## ◆ GUS_SERVICE_UUID [1/2]

#define GUS_SERVICE_UUID

Value:
0x1B, 0xD7, 0x90, 0xEC, 0xE8, 0xB9, 0x75, 0x80,\
0x0A, 0x46, 0x44, 0xD3, 0x01, 0x02, 0xED, 0xA6

The UUID of Goodix UART Service for setting advertising data.

## ◆ GUS_SERVICE_UUID [2/2]

#define GUS_SERVICE_UUID

Value:
0x1B, 0xD7, 0x90, 0xEC, 0xE8, 0xB9, 0x75, 0x80,\
0x0A, 0x46, 0x44, 0xD3, 0x01, 0x02, 0xED, 0xA6

The UUID of Goodix UART Service for setting advertising data.