Macros
Defines
BLE Services » Goodix UART Service (GUS)

## Macros
#define | GUS_CONNECTION_MAX
| Maximum number of Goodix UART Service connections. More...
#define | FLOW_ON 0x01
| Indicate that GUS can receive data from peer. More...
#define | FLOW_OFF 0x00
| Indicate that GUS can not receive data from peer. More...
#define | GUS_MAX_DATA_LEN 247
| Maximum length of application data packet which is transmitted via GUS. More...
#define | GUS_FLOW_CTRL_LEN 1
| Maximum length of ble flow control data packet which is transmitted via GUS. More...
#define | GUS_SERVICE_UUID
| The UUID of Goodix UART Service for setting advertising data. More...
#define | GUS_CONNECTION_MAX
| Maximum number of Goodix UART Service connections. More...
#define | FLOW_ON 0x01
| Indicate that GUS can receive data from peer. More...
#define | FLOW_OFF 0x00
| Indicate that GUS can not receive data from peer. More...
#define | GUS_MAX_DATA_LEN 247
| Maximum length of application data packet which is transmitted via GUS. More...
#define | GUS_FLOW_CTRL_LEN 1
| Maximum length of ble flow control data packet which is transmitted via GUS. More...
#define | GUS_SERVICE_UUID
| The UUID of Goodix UART Service for setting advertising data. More...

## Detailed Description

## Macro Definition Documentation

## ◆ FLOW_OFF [1/2]

#define FLOW_OFF 0x00

Indicate that GUS can not receive data from peer.

Definition at line 74 of file gus.h.

## ◆ FLOW_OFF [2/2]

#define FLOW_OFF 0x00

Indicate that GUS can not receive data from peer.

Definition at line 74 of file mlmr.h.

## ◆ FLOW_ON [1/2]

#define FLOW_ON 0x01

Indicate that GUS can receive data from peer.

Definition at line 73 of file gus.h.

## ◆ FLOW_ON [2/2]

#define FLOW_ON 0x01

Indicate that GUS can receive data from peer.

Definition at line 73 of file mlmr.h.

## ◆ 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.

Definition at line 72 of file gus.h.

## ◆ 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.

Definition at line 72 of file mlmr.h.

## ◆ 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.

Definition at line 76 of file gus.h.

## ◆ 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.

Definition at line 76 of file mlmr.h.

## ◆ GUS_MAX_DATA_LEN [1/2]

#define GUS_MAX_DATA_LEN 247

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

Definition at line 75 of file gus.h.

## ◆ GUS_MAX_DATA_LEN [2/2]

#define GUS_MAX_DATA_LEN 247

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

Definition at line 75 of file mlmr.h.

## ◆ 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.

Definition at line 78 of file gus.h.

## ◆ 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.

Definition at line 78 of file mlmr.h.