ble_spp_server demo 修改不了UUID

Dingoo
Posts: 1
Joined: Wed Apr 07, 2021 1:44 am

ble_spp_server demo 修改不了UUID

Postby Dingoo » Wed Apr 07, 2021 1:50 am

/// SPP Service
static const uint16_t spp_service_uuid = 0xFFE0;
/// Characteristic UUID
#define ESP_GATT_UUID_SPP_DATA_RECEIVE 0xFFE1
#define ESP_GATT_UUID_SPP_DATA_NOTIFY 0xFFE2
#define ESP_GATT_UUID_SPP_COMMAND_RECEIVE 0xFFE3
#define ESP_GATT_UUID_SPP_COMMAND_NOTIFY 0xFFE4

#ifdef SUPPORT_HEARTBEAT
#define ESP_GATT_UUID_SPP_HEARTBEAT 0xABF5
#endif

ble_spp_server demo 里面的服务UUID还有关键字UUID,怎么修改都没有变化的,还是原来默认的那个值,是不能修改的么?

ESP_XieWX
Posts: 19
Joined: Fri Jun 22, 2018 7:39 am

Re: ble_spp_server demo 修改不了UUID

Postby ESP_XieWX » Thu Apr 08, 2021 12:28 pm

可以修改,这里就是修改的地方,没有变化可能是手机本地缓存的问题

Who is online

Users browsing this forum: No registered users and 9 guests