File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -526,10 +526,10 @@ void bluetoothStart()
526
526
record.type = ESP_SDP_TYPE_RAW;
527
527
record.uuid .len = sizeof (UUID_IAP2);
528
528
memcpy (record.uuid .uuid .uuid128 , UUID_IAP2, sizeof (UUID_IAP2));
529
- // record.service_name_length = strlen(sdp_service_name) + 1;
530
- // record.service_name = (char *)sdp_service_name;
531
- record.service_name_length = strlen (deviceName) + 1 ;
532
- record.service_name = (char *)deviceName;
529
+ record.service_name_length = strlen (sdp_service_name) + 1 ;
530
+ record.service_name = (char *)sdp_service_name;
531
+ // record.service_name_length = strlen(deviceName) + 1;
532
+ // record.service_name = (char *)deviceName;
533
533
// record.rfcomm_channel_number = 1;
534
534
esp_sdp_create_record ((esp_bluetooth_sdp_record_t *)&record);
535
535
}
You can’t perform that action at this time.
0 commit comments