Skip to content

Commit d99b88d

Browse files
committed
Update Bluetooth.ino
1 parent 54f397a commit d99b88d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Firmware/RTK_Everywhere/Bluetooth.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -526,10 +526,10 @@ void bluetoothStart()
526526
record.type = ESP_SDP_TYPE_RAW;
527527
record.uuid.len = sizeof(UUID_IAP2);
528528
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;
533533
//record.rfcomm_channel_number = 1;
534534
esp_sdp_create_record((esp_bluetooth_sdp_record_t *)&record);
535535
}

0 commit comments

Comments
 (0)