Hi TI team,
sdk version: simplelink_cc2640r2_sdk_4_10_00_10
example: simple_peripheral_oad_offchip
在程式裡呼叫GGS_AddService(GATT_ALL_SERVICES); 此行程式,
GATT Service就自己建了預設的3Characteristic (0x2A00, 0x2A01,0x2A04), 但我們目前只需要前2個, 只想要拿掉0x2A04.
請問要如何刪除呢? 謝謝.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi TI team,
sdk version: simplelink_cc2640r2_sdk_4_10_00_10
example: simple_peripheral_oad_offchip
在程式裡呼叫GGS_AddService(GATT_ALL_SERVICES); 此行程式,
GATT Service就自己建了預設的3Characteristic (0x2A00, 0x2A01,0x2A04), 但我們目前只需要前2個, 只想要拿掉0x2A04.
請問要如何刪除呢? 謝謝.
您指的是
/** * GATT Services */ #define GAP_SERVICE_UUID 0x1800 // Generic Access Profile #define GATT_SERVICE_UUID 0x1801 // Generic Attribute Profile
内的GAP_SERVICE_UUID 0x1800 // Generic Access Profile?
您想要删除下面的这个Characteristic?
/** * GATT Characteristics */ #define PERI_CONN_PARAM_UUID 0x2A04 // Peripheral Preferred Connection Parameters
您可以先参考一下 该链接