spp_server: fix SDP version in SDP record

This commit is contained in:
Matthias Ringwald 2023-10-06 18:39:49 +02:00
parent 750818ac48
commit 5c51cbf6cd
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- AVDTP: limit L2CAP MTU to largest BR/EDR packet, fixes A2DP Sink role for some Samsung TV
- AVRCP: reject incoming second l2cap connection
- AVRCP: generate command for avrcp_controller_get_element_attributes dynamically
- SPP Server: fix SPP version in SDP record
- GATT Client: ignore notifications/indications until re-encrypted for bonded device without ENABLE_LE_PROACTIVE_AUTHENTICATION
- btstack_flash_bank: support alignment larger than 4
- windows: fix timestamps in packet logs

View File

@ -118,7 +118,7 @@ static void spp_create_sdp_record_internal(uint8_t *service, uint32_t service_re
uint8_t *sppProfile = de_push_sequence(attribute);
{
de_add_number(sppProfile, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_SERIAL_PORT);
de_add_number(sppProfile, DE_UINT, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_LAN_ACCESS_USING_PPP);
de_add_number(sppProfile, DE_UINT, DE_SIZE_16, 0x0102);
}
de_pop_sequence(attribute, sppProfile);
}