ble_lncp_s

nRF5 SDK v13.1.0

Data Fields

uint16_t conn_handle
uint16_t service_handle
ble_gatts_char_handles_t ctrlpt_handles
ble_gatts_char_handles_t navigation_handles
ble_lncp_evt_handler_t evt_handler
ble_srv_error_handler_t error_handler
ble_lncp_procedure_status_t procedure_status
ble_lncp_rsp_t pending_rsp
ble_lncp_mask_t mask
uint32_t total_distance
uint32_t elevation
uint8_t fix_rate
uint16_t selected_route
uint32_t available_features
bool is_position_quality_present
bool is_control_point_present
bool is_navigation_present
bool is_navigation_running
bool is_ctrlpt_indication_enabled
bool is_nav_notification_enabled

Field Documentation

uint32_t ble_lncp_s::available_features

Value of the LN feature.

bool ble_lncp_s::is_control_point_present

If set to true, the control point characteristic will be added. Else not.

bool ble_lncp_s::is_ctrlpt_indication_enabled

True if indication is enabled on the Control Point characteristic.

bool ble_lncp_s::is_nav_notification_enabled

True if notification is enabled on the Navigation characteristic.

bool ble_lncp_s::is_navigation_present

If set to true, the navigation characteristic will be added. Else not.

bool ble_lncp_s::is_navigation_running

This variable can be set using the control point. Must be true to be able to send navigation updates.

bool ble_lncp_s::is_position_quality_present

If set to true, the position quality characteristic will be added. Else not.

  • components/ble/ble_services/experimental_ble_lns/ble_ln_cp.h