此帖出自TI技术论坛论坛
最新回复
以加速度传感器为例accelerometerservice.c中
static uint8 sensorPeriod = SENSOR_MIN_UPDATE_PERIOD / SENSOR_PERIOD_RESOLUTION;
static gattAttribute_t sensorAttrTable[] 中又包含sensorPeriod
bStatus_t Accel_AddService( uint32 services )函数中有
status = GATTServApp_RegisterService( sensorAttrTable,
GATT_NUM_ATTRS( sensorAttrTable ),
&sensorCBs );
GATTServApp_RegisterService是调用的库文件
详情
回复
发表于 2015-9-2 17:08
| ||
|
||
| |
个人签名虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
|
| |
|
|
此帖出自TI技术论坛论坛
| ||
个人签名虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
EEWorld Datasheet 技术支持