BLE_SPP_SERVER
Posted: 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?
#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?