Skip to content

Struct ns_ble_service

ClassList > ns_ble_service

BLE Service Configuration.

  • #include <ns_ble.h>

Public Attributes

Type Name
uint8_t * advData
uint8_t advDataLen
attsAttr_t * attributes
uint16_t baseHandle
length of name string
attsCccSet_t * cccSet
ns_ble_characteristic_t ** characteristics
ns_ble_service_control_t * control
attsGroup_t group
uint16_t handleId
pointer to WSF pool configuration struct
uint16_t maxHandle
char name
char array of 128b UUID
attsAttr_t nameAttribute
uint8_t nameLen
string name of service
uint16_t nextAttributeIndex
uint16_t nextCccIndex
uint16_t nextCccIndicationHandle
uint16_t nextCharacteristicIndex
uint16_t nextHandleId
uint16_t numAttributes
initialize to first handle of service
uint16_t numCharacteristics
Number of attributes in service (initialize to 0)
ns_ble_pool_config_t * poolConfig
Number of characteristics in service.
attsAttr_t primaryAttribute
uint16_t primaryAttributeLen
attsReadCback_t readCback
uint8_t * scanData
uint8_t scanDataLen
ns_ble_uuid128_t uuid128
attsAttr_t versionAttribute
attsWriteCback_t writeCback

Public Attributes Documentation

variable advData

uint8_t* ns_ble_service::advData;

variable advDataLen

uint8_t ns_ble_service::advDataLen;

variable attributes

attsAttr_t* ns_ble_service::attributes;

variable baseHandle

uint16_t ns_ble_service::baseHandle;

variable cccSet

attsCccSet_t* ns_ble_service::cccSet;

variable characteristics

ns_ble_characteristic_t** ns_ble_service::characteristics;

variable control

ns_ble_service_control_t* ns_ble_service::control;

variable group

attsGroup_t ns_ble_service::group;

variable handleId

uint16_t ns_ble_service::handleId;

variable maxHandle

uint16_t ns_ble_service::maxHandle;

variable name

char ns_ble_service::name[31];

variable nameAttribute

attsAttr_t ns_ble_service::nameAttribute;

variable nameLen

uint8_t ns_ble_service::nameLen;

variable nextAttributeIndex

uint16_t ns_ble_service::nextAttributeIndex;

variable nextCccIndex

uint16_t ns_ble_service::nextCccIndex;

variable nextCccIndicationHandle

uint16_t ns_ble_service::nextCccIndicationHandle;

variable nextCharacteristicIndex

uint16_t ns_ble_service::nextCharacteristicIndex;

variable nextHandleId

uint16_t ns_ble_service::nextHandleId;

variable numAttributes

uint16_t ns_ble_service::numAttributes;

variable numCharacteristics

uint16_t ns_ble_service::numCharacteristics;

variable poolConfig

ns_ble_pool_config_t* ns_ble_service::poolConfig;

variable primaryAttribute

attsAttr_t ns_ble_service::primaryAttribute;

variable primaryAttributeLen

uint16_t ns_ble_service::primaryAttributeLen;

variable readCback

attsReadCback_t ns_ble_service::readCback;

variable scanData

uint8_t* ns_ble_service::scanData;

variable scanDataLen

uint8_t ns_ble_service::scanDataLen;

variable uuid128

ns_ble_uuid128_t ns_ble_service::uuid128;

variable versionAttribute

attsAttr_t ns_ble_service::versionAttribute;

variable writeCback

attsWriteCback_t ns_ble_service::writeCback;

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