Skip to content

Struct ns_ble_service_control

ClassList > ns_ble_service_control

BLE Service control block.

  • #include <ns_ble.h>

Public Attributes

Type Name
uint8_t * advData
uint8_t advDataLen
bool_t autoConnect
wsfBufPoolDesc_t * bufferDescriptors
Pointer to WSF buffer descriptors (allocated by caller)
uint32_t bufferDescriptorsSize
in bytes
uint32_t * bufferPool
Pointer to WSF buffer pool (allocated by caller)
uint32_t bufferPoolSize
in bytes
uint32_t cccCount
attsCccSet_t * cccSet
ns_ble_connection_t * connection
uint8_t discState
attsGroup_t * group
wsfHandlerId_t handlerId
ns_ble_service_specific_handler_cb handler_cb
ns_ble_service_specific_handler_init_cb handler_init_cb
uint8_t hdlListLen
attsAttr_t * list
ns_ble_service_specific_procMsg_cb procMsg_cb
uint8_t * scanData
uint8_t scanDataLen
bool_t scanning
ns_ble_service_specific_init_cb service_init_cb
uint8_t wsfBufCount
Number of WSF buffers.

Public Attributes Documentation

variable advData

uint8_t* ns_ble_service_control::advData;

Number of CCC descriptors

variable advDataLen

uint8_t ns_ble_service_control::advDataLen;

Advertising data

variable autoConnect

bool_t ns_ble_service_control::autoConnect;

TRUE if scanning

variable bufferDescriptors

wsfBufPoolDesc_t* ns_ble_service_control::bufferDescriptors;

variable bufferDescriptorsSize

uint32_t ns_ble_service_control::bufferDescriptorsSize;

variable bufferPool

uint32_t* ns_ble_service_control::bufferPool;

variable bufferPoolSize

uint32_t ns_ble_service_control::bufferPoolSize;

variable cccCount

uint32_t ns_ble_service_control::cccCount;

CCC descriptor list

variable cccSet

attsCccSet_t* ns_ble_service_control::cccSet;

Attribute list

variable connection

ns_ble_connection_t* ns_ble_service_control::connection;

Cached handle list length

variable discState

uint8_t ns_ble_service_control::discState;

TRUE if auto-connecting

variable group

attsGroup_t* ns_ble_service_control::group;

Connection control block

variable handlerId

wsfHandlerId_t ns_ble_service_control::handlerId;

variable handler_cb

ns_ble_service_specific_handler_cb ns_ble_service_control::handler_cb;

Scan data length

variable handler_init_cb

ns_ble_service_specific_handler_init_cb ns_ble_service_control::handler_init_cb;

Called after generic event handling

variable hdlListLen

uint8_t ns_ble_service_control::hdlListLen;

Service discovery state

variable list

attsAttr_t* ns_ble_service_control::list;

Attribute group

variable procMsg_cb

ns_ble_service_specific_procMsg_cb ns_ble_service_control::procMsg_cb;

Service-specific init

variable scanData

uint8_t* ns_ble_service_control::scanData;

Advertising data length

variable scanDataLen

uint8_t ns_ble_service_control::scanDataLen;

Scan data

variable scanning

bool_t ns_ble_service_control::scanning;

WSF handler ID

variable service_init_cb

ns_ble_service_specific_init_cb ns_ble_service_control::service_init_cb;

Service-specific handler init

variable wsfBufCount

Number of WSF buffers.

uint8_t ns_ble_service_control::wsfBufCount;

Service-specific message handler


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