| BlueNRG-1 Master/Central Library

- Main Page
- Classes
- Files

- Class List
- Class Members

Public Attributes | List of all members
connDevS Struct Reference

Connection Device parameters. More...

`#include <master_basic_profile.h>`

## Public Attributes

uint8_t | procedure
uint32_t | fastScanDuration
uint16_t | fastScanInterval
uint16_t | fastScanWindow
uint16_t | reducedPowerScanInterval
uint16_t | reducedPowerScanWindow
uint8_t | peer_addr_type
uint8_t | peer_addr [6]
uint8_t | own_addr_type
uint16_t | conn_min_interval
uint16_t | conn_max_interval
uint16_t | conn_latency
uint16_t | supervision_timeout
uint16_t | min_conn_length
uint16_t | max_conn_length

## Detailed Description

Connection Device parameters.

Definition at line 336 of file master_basic_profile.h.

## Member Data Documentation

uint16_t connDevS::conn_latency

Slave latency for the connection in number of connection events.
Range: 0x0000 to 0x01F4

Definition at line 398 of file master_basic_profile.h.

uint16_t connDevS::conn_max_interval

Maximum value for the connection event interval. This shall be greater than or equal to Conn_Interval_Min.
Range: 0x0006 to 0x0C80
Time = N x 1.25 msec
Time Range: 7.5 msec to 4 seconds

Definition at line 394 of file master_basic_profile.h.

uint16_t connDevS::conn_min_interval

Minimum value for the connection event interval. This shall be less than or equal to Conn_Interval_Max.
Range: 0x0006 to 0x0C80
Time = N x 1.25 msec
Time Range: 7.5 msec to 4 seconds

Definition at line 387 of file master_basic_profile.h.

uint32_t connDevS::fastScanDuration

The master shall use the fastScanInterval and fastScanWindow parameters for the duration set in this variable. After this duration the master should switch to the reducedPowerScanInterval and reducedPowerScanWindow to reduce the power consumption

Definition at line 346 of file master_basic_profile.h.

uint16_t connDevS::fastScanInterval

Fast time interval from when the Controller started its last LE scan until it begins the subsequent LE scan. The scan interval should be a number in the range 0x0004 to 0x4000. This corresponds to a time range 2.5 msec to 10240 msec. For a number N, Time = N x 0.625 msec. This scan interval has a duration of 30 sec.

Definition at line 353 of file master_basic_profile.h.

uint16_t connDevS::fastScanWindow

Amount of time for the duration of the LE Fast scan. Scan_Window shall be less than or equal to Scan_Interval. The scan window should be a number in the range 0x0004 to 0x4000. This corresponds to a time range 2.5 msec to 10240 msec. For a number N, Time = N x 0.625 msec. This scan window ha a duration of 30 sec.

Definition at line 360 of file master_basic_profile.h.

uint16_t connDevS::max_conn_length

Maximum length of connection needed for the LE connection.
Range: 0x0000 - 0xFFFF
Time = N x 0.625 msec.

Definition at line 414 of file master_basic_profile.h.

uint16_t connDevS::min_conn_length

Minimum length of connection needed for the LE connection.
Range: 0x0000 - 0xFFFF
Time = N x 0.625 msec.

Definition at line 409 of file master_basic_profile.h.

uint8_t connDevS::own_addr_type

Type of our address used during advertising (0=PUBLIC_ADDR, 1=RANDOM_ADDR).

Definition at line 380 of file master_basic_profile.h.

uint8_t connDevS::peer_addr[6]

Address of the peer device with which a connection has to be established.

Definition at line 378 of file master_basic_profile.h.

uint8_t connDevS::peer_addr_type

Type of the peer address (0=PUBLIC_ADDR, 1=RANDOM_ADDR).

Definition at line 376 of file master_basic_profile.h.

uint8_t connDevS::procedure

Connection procedure to use:

- DIRECT_CONNECTION_PROCEDURE
- AUTO_CONNECTION_PROCEDURE

Definition at line 341 of file master_basic_profile.h.

uint16_t connDevS::reducedPowerScanInterval

Reduced power time interval from when the Controller started its last LE scan until it begins the subsequent LE scan. The scan interval should be a number in the range 0x0004 to 0x4000. This corresponds to a time range 2.5 msec to 10240 msec. For a number N, Time = N x 0.625 msec. This scan interval will be used after 30 s to reduce the power consumption.

Definition at line 367 of file master_basic_profile.h.

uint16_t connDevS::reducedPowerScanWindow

Amount of time for the duration of the LE reduced power scan. Scan_Window shall be less than or equal to Scan_Interval. The scan window should be a number in the range 0x0004 to 0x4000. This corresponds to a time range 2.5 msec to 10240 msec. For a number N, Time = N x 0.625 msec. This scan interval will be used after 30 s to reduce the power consumption.

Definition at line 374 of file master_basic_profile.h.

uint16_t connDevS::supervision_timeout

Supervision timeout for the LE Link.
Range: 0x000A to 0x0C80
Time = N x 10 msec
Time Range: 100 msec to 32 seconds

Definition at line 404 of file master_basic_profile.h.

The documentation for this struct was generated from the following file:

- master_basic_profile.h