Macros
Defines
BLE Services » Sample Service (SAMPLES)

## Macros
#define | SAMPLES_INSTANCE_MAX 0x01
| Maximum number of Sample Service instances. More...
#define | SAMPLES_CONNECTION_MAX
| Maximum number of Sample Service connections. More...
#define | SAMPLES_MAX_DATA_LEN 244
| Maximum length of sample charateristic value. More...
#define | SAMPLES_SERVICE_UUID
| The UUID of Sample Service for setting advertising data. More...

## Detailed Description

## Macro Definition Documentation

## ◆ SAMPLES_CONNECTION_MAX

#define SAMPLES_CONNECTION_MAX

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

Maximum number of Sample Service connections.

Definition at line 70 of file sample_service.h.

## ◆ SAMPLES_INSTANCE_MAX

#define SAMPLES_INSTANCE_MAX 0x01

Maximum number of Sample Service instances.

The value is configurable.

Definition at line 68 of file sample_service.h.

## ◆ SAMPLES_MAX_DATA_LEN

#define SAMPLES_MAX_DATA_LEN 244

Maximum length of sample charateristic value.

Definition at line 71 of file sample_service.h.

## ◆ SAMPLES_SERVICE_UUID

#define SAMPLES_SERVICE_UUID

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

The UUID of Sample Service for setting advertising data.

Definition at line 73 of file sample_service.h.