| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros
Location and Navigation common defines
BLE Services

Location and Navigation common defines. More...

## Macros
#define | BLE_LNS_INVALID_ROUTE 0xFFFF
#define | BLE_LNS_NO_FIX 0xFF
#define | BLE_LNS_MAX_NUM_ROUTES 10
#define | BLE_LNS_MAX_ROUTE_NAME_LEN (BLE_L2CAP_MTU_DEF - 5)
#define | MAX_CTRL_POINT_RESP_PARAM_LEN BLE_LNS_MAX_ROUTE_NAME_LEN + 3
#define | BLE_LNS_FEATURE_INSTANT_SPEED_SUPPORTED (0x01 << 0)
#define | BLE_LNS_FEATURE_TOTAL_DISTANCE_SUPPORTED (0x01 << 1)
#define | BLE_LNS_FEATURE_LOCATION_SUPPORTED (0x01 << 2)
#define | BLE_LNS_FEATURE_ELEVATION_SUPPORTED (0x01 << 3)
#define | BLE_LNS_FEATURE_HEADING_SUPPORTED (0x01 << 4)
#define | BLE_LNS_FEATURE_ROLLING_TIME_SUPPORTED (0x01 << 5)
#define | BLE_LNS_FEATURE_UTC_TIME_SUPPORTED (0x01 << 6)
#define | BLE_LNS_FEATURE_REMAINING_DISTANCE_SUPPORTED (0x01 << 7)
#define | BLE_LNS_FEATURE_REMAINING_VERT_DISTANCE_SUPPORTED (0x01 << 8)
#define | BLE_LNS_FEATURE_EST_TIME_OF_ARRIVAL_SUPPORTED (0x01 << 9)
#define | BLE_LNS_FEATURE_NUM_SATS_IN_SOLUTION_SUPPORTED (0x01 << 10)
#define | BLE_LNS_FEATURE_NUM_SATS_IN_VIEW_SUPPORTED (0x01 << 11)
#define | BLE_LNS_FEATURE_TIME_TO_FIRST_FIX_SUPPORTED (0x01 << 12)
#define | BLE_LNS_FEATURE_EST_HORZ_POS_ERROR_SUPPORTED (0x01 << 13)
#define | BLE_LNS_FEATURE_EST_VERT_POS_ERROR_SUPPORTED (0x01 << 14)
#define | BLE_LNS_FEATURE_HORZ_DILUTION_OF_PRECISION_SUPPORTED (0x01 << 15)
#define | BLE_LNS_FEATURE_VERT_DILUTION_OF_PRECISION_SUPPORTED (0x01 << 16)
#define | BLE_LNS_FEATURE_LOC_AND_SPEED_CONTENT_MASKING_SUPPORTED (0x01 << 17)
#define | BLE_LNS_FEATURE_FIX_RATE_SETTING_SUPPORTED (0x01 << 18)
#define | BLE_LNS_FEATURE_ELEVATION_SETTING_SUPPORTED (0x01 << 19)
#define | BLE_LNS_FEATURE_POSITION_STATUS_SUPPORTED (0x01 << 20)

## Detailed Description

Location and Navigation common defines.

This module contains define values common to LNS and LNCP

## Macro Definition Documentation

#define BLE_LNS_FEATURE_ELEVATION_SETTING_SUPPORTED (0x01 << 19)

Elevation Setting Supported bit.

#define BLE_LNS_FEATURE_ELEVATION_SUPPORTED (0x01 << 3)

Elevation Supported bit.

#define BLE_LNS_FEATURE_EST_HORZ_POS_ERROR_SUPPORTED (0x01 << 13)

Estimated Horizontal Position Error Supported bit.

#define BLE_LNS_FEATURE_EST_TIME_OF_ARRIVAL_SUPPORTED (0x01 << 9)

Estimated Time of Arrival Supported bit.

#define BLE_LNS_FEATURE_EST_VERT_POS_ERROR_SUPPORTED (0x01 << 14)

Estimated Vertical Position Error Supported bit.

#define BLE_LNS_FEATURE_FIX_RATE_SETTING_SUPPORTED (0x01 << 18)

Fix Rate Setting Supported bit.

#define BLE_LNS_FEATURE_HEADING_SUPPORTED (0x01 << 4)

Heading Supported bit.

#define BLE_LNS_FEATURE_HORZ_DILUTION_OF_PRECISION_SUPPORTED (0x01 << 15)

Horizontal Dilution of Precision Supported bit.

#define BLE_LNS_FEATURE_INSTANT_SPEED_SUPPORTED (0x01 << 0)

Instaneous Speed Supported bit.

#define BLE_LNS_FEATURE_LOC_AND_SPEED_CONTENT_MASKING_SUPPORTED (0x01 << 17)

Location and Speed Characteristic Content Masking Supported bit.

#define BLE_LNS_FEATURE_LOCATION_SUPPORTED (0x01 << 2)

Location Supported bit.

#define BLE_LNS_FEATURE_NUM_SATS_IN_SOLUTION_SUPPORTED (0x01 << 10)

Number of Satellites in Solution Supported bit.

#define BLE_LNS_FEATURE_NUM_SATS_IN_VIEW_SUPPORTED (0x01 << 11)

Number of Satellites in View Supported bit.

#define BLE_LNS_FEATURE_POSITION_STATUS_SUPPORTED (0x01 << 20)

Position Status Supported bit.

#define BLE_LNS_FEATURE_REMAINING_DISTANCE_SUPPORTED (0x01 << 7)

Remaining Distance Supported bit.

#define BLE_LNS_FEATURE_REMAINING_VERT_DISTANCE_SUPPORTED (0x01 << 8)

Remaining Vertical Distance Supported bit.

#define BLE_LNS_FEATURE_ROLLING_TIME_SUPPORTED (0x01 << 5)

Rolling Time Supported bit.

#define BLE_LNS_FEATURE_TIME_TO_FIRST_FIX_SUPPORTED (0x01 << 12)

Time to First Fix Supported bit.

#define BLE_LNS_FEATURE_TOTAL_DISTANCE_SUPPORTED (0x01 << 1)

Total Distance Supported bit.

#define BLE_LNS_FEATURE_UTC_TIME_SUPPORTED (0x01 << 6)

UTC Time Supported bit.

#define BLE_LNS_FEATURE_VERT_DILUTION_OF_PRECISION_SUPPORTED (0x01 << 16)

Vertical Dilution of Precision Supported bit.

#define BLE_LNS_MAX_NUM_ROUTES 10

The maximum number of routes. This affects memory usage only.

#define BLE_LNS_MAX_ROUTE_NAME_LEN (BLE_L2CAP_MTU_DEF - 5)

The maximum length of length of a route name.

#define MAX_CTRL_POINT_RESP_PARAM_LEN BLE_LNS_MAX_ROUTE_NAME_LEN + 3

Maximum length of a control point response.