ble之gatt server
来源:互联网 发布:天意网络魔域一条龙 编辑:程序博客网 时间:2024/05/22 06:23
结构图:
对应代码:
typedef struct
{uint16_t handle;
uint8_t uuid_len;
uint8_t uuid[16];
}desprip_t;
typedef struct
{
uint16_t handle;
uint8_t uuid_len;
uint8_t uuid[16];
}include_t;
typedef struct
{
uint16_t dhandle;
uint16_t vhandle;
uint8_t property;
uint8_t uuid_len;
uint8_t uuid[16];
uint8_t nod;
desprip_t * d;
}charact_t;
typedef struct
{
uint16_t start;//服务定义中第一个Attribute的Handle
uint16_t end;//服务定义中最后一个Attribute的Handle
uint8_t uuid_len;
uint8_t uuid[16];
uint8_t noi;
include_t * i;
uint8_t noc;
charact_t * c;
}service_t;
typedef struct
{
uint8_t nos;//服务的数量
service_t * s;
}server_t;
server_t server;
阅读全文
0 0
- ble之gatt server
- [BLE]低功耗蓝牙之GAP、GATT
- BLE之旅-gatt profile(一)
- Android BLE Gatt Error
- BLE GATT 介绍
- BLE 协议栈之GAP与GATT层小小一瞥
- BLE蓝牙GAP、GATT介绍
- 蓝牙 BLE GATT 剖析(二)-- GATT UUID and 举例
- BLE GATT服务的特征值和类型
- Android 蓝牙低功耗Ble Gatt浅谈
- 蓝牙BLE GATT完全分析和运用
- 蓝牙 BLE GATT 剖析(一)
- 蓝牙解析(part10):BLE ATT/GATT
- TI-BLE协议栈的GATT
- Android BLE Gatt返回错误对应宏
- 蓝牙BLE GATT完全分析和运用
- 蓝牙BLE GATT完全分析和运用
- TI低功耗蓝牙(BLE)GATT介绍
- MySQL连接失败:Can't connect to MySQL server on '127.0.0.1'
- NIO
- Redis 事务
- CodeForces 3 D.Least Cost Bracket Sequence(贪心+优先队列)
- 如何在字符串的长时间("2017-07-18 00:00:00")上对短时间("yyyy-mm-dd")分组和排序
- ble之gatt server
- 位运算实现加减乘除四则运算
- Codeforces 825D Suitable Replacement【贪心】水题
- Git for windows 配置
- 内存映射文件:MappedByteBuffer
- Hadoop基本概念
- ajax+json+Struts2实现list传递
- C#编程入门_异常处理_16
- C++基础-继承