SmartSnippets DA1459x SDK
Files | Macros
Configuration

DGTL configuration. More...

Files

file  dgtl_config.h
 Default DGTL configuration.
 

Macros

#define DGTL_APP_SPECIFIC_HCI_ENABLE   (0)
 Enable application-specific HCI commands. More...
 
#define DGTL_DROPPED_LOG_QUEUE_COUNTER   (0)
 Enable LOG Queue dropped messages counter. More...
 
#define DGTL_QUEUE_ENABLE_HCI   (1)
 Enable DGTL HCI/GTL queue. More...
 
#define DGTL_QUEUE_ENABLE_APP   (1)
 Enable DGTL APP queue. More...
 
#define DGTL_QUEUE_ENABLE_LOG   (1)
 Enable DGTL LOG queue. More...
 
#define DGTL_AUTO_FLOW_CONTROL   (1)
 Enable flow control over DGTL transport by default. More...
 

Detailed Description

DGTL configuration.

Macro Definition Documentation

◆ DGTL_APP_SPECIFIC_HCI_ENABLE

#define DGTL_APP_SPECIFIC_HCI_ENABLE   (0)

Enable application-specific HCI commands.

When this macro is enabled, HCI commands with an opcode within the vendor-specific address range (0xFE00 - 0xFFFF) will be forwarded to an application-specific callback.

Please see sdk/middleware/dgtl/include/dgtl.h for more details.

◆ DGTL_AUTO_FLOW_CONTROL

#define DGTL_AUTO_FLOW_CONTROL   (1)

Enable flow control over DGTL transport by default.

This macro enables the use of flow control feature on serial interface

◆ DGTL_DROPPED_LOG_QUEUE_COUNTER

#define DGTL_DROPPED_LOG_QUEUE_COUNTER   (0)

Enable LOG Queue dropped messages counter.

The LOG queue, in contrast to the rest of the queues, works in non-blocking mode. That means that if there is no more space in the queue left, a message to be pushed into the queue will be silently dropped.

When this macro is enabled, DGTL instantiates a counter that counts the dropped messages.

◆ DGTL_QUEUE_ENABLE_APP

#define DGTL_QUEUE_ENABLE_APP   (1)

Enable DGTL APP queue.

This macro enables the use of the DGTL APP queue (packet types 6-7)

◆ DGTL_QUEUE_ENABLE_HCI

#define DGTL_QUEUE_ENABLE_HCI   (1)

Enable DGTL HCI/GTL queue.

This macro enables the use of the DGTL HCI/GTL queue (packet types 1-5)

◆ DGTL_QUEUE_ENABLE_LOG

#define DGTL_QUEUE_ENABLE_LOG   (1)

Enable DGTL LOG queue.

This macro enables the use of the DGTL LOG queue (packet type 8)