Skip to content

Struct ns_ble_control

ClassList > ns_ble_control

BLE Control block.

  • #include <ns_ble.h>

Public Attributes

Type Name
appAdvCfg_t * advCfg
const ns_core_api_t * api
API prefix.
appCfg_t * appCfg
appDiscCfg_t * appDiscCfg
bool_t autoConnect
hciConnSpec_t * connCfg
uint8_t discState
wsfHandlerId_t handlerId
uint8_t hdlListLen
uint16_t nextHandleId
uint16_t numServices
bool_t scanning
appSecCfg_t * secCfg
bool secureConnections
ns_ble_service_control_t * service_config
ns_ble_service_t * services
appSlaveCfg_t * slaveCfg
smpCfg_t * smpCfg
appUpdateCfg_t * updateCfg

Public Attributes Documentation

variable advCfg

appAdvCfg_t* ns_ble_control::advCfg;

TRUE to use secure connections


variable api

API prefix.

const ns_core_api_t* ns_ble_control::api;


variable appCfg

appCfg_t* ns_ble_control::appCfg;

Discovery configuration


variable appDiscCfg

appDiscCfg_t* ns_ble_control::appDiscCfg;

Connection parameters


variable autoConnect

bool_t ns_ble_control::autoConnect;

TRUE if scanning


variable connCfg

hciConnSpec_t* ns_ble_control::connCfg;

SMP configuration


variable discState

uint8_t ns_ble_control::discState;

TRUE if auto-connecting


variable handlerId

wsfHandlerId_t ns_ble_control::handlerId;

variable hdlListLen

uint8_t ns_ble_control::hdlListLen;

Service discovery state


variable nextHandleId

uint16_t ns_ble_control::nextHandleId;

Cached handle list length


variable numServices

uint16_t ns_ble_control::numServices;

Array of services


variable scanning

bool_t ns_ble_control::scanning;

WSF hander ID


variable secCfg

appSecCfg_t* ns_ble_control::secCfg;

Master configuration


variable secureConnections

bool ns_ble_control::secureConnections;

Next handle ID to allocate


variable service_config

ns_ble_service_control_t* ns_ble_control::service_config;

Application configuration


variable services

ns_ble_service_t* ns_ble_control::services[NS_BLE_MAX_SERVICES];

Service configuration


variable slaveCfg

appSlaveCfg_t* ns_ble_control::slaveCfg;

Advertising configuration


variable smpCfg

smpCfg_t* ns_ble_control::smpCfg;

Connection update configuration


variable updateCfg

appUpdateCfg_t* ns_ble_control::updateCfg;

Security configuration



The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-ble/includes-api/ns_ble.h