1. If UUID is 16 bit, convert it as 128 bit. /*sample code*/ bt_uuid_t uuid128_xxx = BT_UUID_INIT_WITH_UUID16(uuid16_xxx); 2. Define 128 UUID characteristic, and add to service /*sample code*/ BT_GATTS_NEW_CHARC_128(name, prop, _handle, uuid128_xxx); 原文地址:一牛网论坛 MT2523 |
mt2523 How to Add characteristic with 128 UUID
最新推荐文章于 2022-11-19 16:03:52 发布