nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
HCI Transport Layer Configuration

Definition of HCI Transport Layer configurable parameters. More...

Macros

#define HCI_SLIP_UART_RX_PIN_NUMBER   RX_PIN_NUMBER
 
#define HCI_SLIP_UART_TX_PIN_NUMBER   TX_PIN_NUMBER
 
#define HCI_SLIP_UART_RTS_PIN_NUMBER   RTS_PIN_NUMBER
 
#define HCI_SLIP_UART_CTS_PIN_NUMBER   CTS_PIN_NUMBER
 
#define HCI_SLIP_UART_MODE   APP_UART_FLOW_CONTROL_ENABLED
 
#define HCI_SLIP_UART_BAUDRATE   UART_BAUDRATE_BAUDRATE_Baud38400
 
#define MAX_PACKET_SIZE_IN_BITS   8000u
 
#define USED_BAUD_RATE   38400u
 

Detailed Description

Definition of HCI Transport Layer configurable parameters.

Macro Definition Documentation

#define HCI_SLIP_UART_BAUDRATE   UART_BAUDRATE_BAUDRATE_Baud38400

Defines the UART Baud rate. Default is 38400 baud.

#define HCI_SLIP_UART_CTS_PIN_NUMBER   CTS_PIN_NUMBER

Defines the UART CTS pin number. The default pin for the board is chosen, but can be overwritten.

#define HCI_SLIP_UART_MODE   APP_UART_FLOW_CONTROL_ENABLED

Defines the UART mode to be used. Use UART Low Power with Flow Control - Valid values are defined in app_uart_flow_control_t. For further information on the UART Low Power mode, please refer to: UART module .

#define HCI_SLIP_UART_RTS_PIN_NUMBER   RTS_PIN_NUMBER

Defines the UART RTS pin number. The default pin for the board is chosen, but can be overwritten.

#define HCI_SLIP_UART_RX_PIN_NUMBER   RX_PIN_NUMBER

< Default include for boards.h which means that default pin numbers will be used for RX, TX, CTS, and RTS on the UART. Other pin number can be used if desired. This section covers configurable parameters for the HCI Transport SLIP layer. Defines the UART RX pin number. The default pin for the board is chosen, but can be overwritten.

#define HCI_SLIP_UART_TX_PIN_NUMBER   TX_PIN_NUMBER

Defines the UART TX pin number. The default pin for the board is chosen, but can be overwritten.

#define MAX_PACKET_SIZE_IN_BITS   8000u

This section covers configurable parameters for the HCI Transport layer that are used for calculating correct value for the retransmission timer timeout. Maximum size of a single application packet in bits.

#define USED_BAUD_RATE   38400u

The used uart baudrate.