BLE_SPP_SERVER

klteng
Posts: 8
Joined: Sat Feb 25, 2017 4:15 pm

BLE_SPP_SERVER

Postby klteng » Thu May 03, 2018 3:00 am

I am using the BLE_SPP_SERVER code in the ESP-IDF example. I am trying to change the BLE device name and seem it still stuck with its old name.

#define SPP_PROFILE_NUM 1
#define SPP_PROFILE_APP_IDX 0
#define ESP_SPP_APP_ID 0x56
#define SAMPLE_DEVICE_NAME "ESP_SPP_SERVER"
#define SPP_SVC_INST_ID 0

Change to......

#define SPP_PROFILE_NUM 1
#define SPP_PROFILE_APP_IDX 0
#define ESP_SPP_APP_ID 0x56
#define SAMPLE_DEVICE_NAME "TEST_SPP"
#define SPP_SVC_INST_ID 0

After we change to "TEST_SPP" and re-compile the code, it still appears as "ESP_SPP_SERVER" when scan for BLE device. Any other place I should modify the code?

Who is online

Users browsing this forum: No registered users and 2 guests