Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
6e73cc6b
Kaydet (Commit)
6e73cc6b
authored
Şub 12, 2013
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sdremote - fully annotate bluetooth SDP record.
Change-Id: I3ddfb3e3f93782556ec7fd7a16afbb294d17c013
üst
a5d63b94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
8 deletions
+15
-8
BluetoothServiceRecord.hxx
sd/source/ui/remotecontrol/BluetoothServiceRecord.hxx
+15
-8
No files found.
sd/source/ui/remotecontrol/BluetoothServiceRecord.hxx
Dosyayı görüntüle @
6e73cc6b
...
...
@@ -18,18 +18,23 @@
// This is an XML representation, an alternative would be a
// binary SDP record.
// for numbers see:
// https://www.bluetooth.org/Technical/AssignedNumbers/service_discovery.htm
static
const
char
*
bluetooth_service_record
=
"<?xml version=
\"
1.0
\"
encoding=
\"
UTF-8
\"
?>"
"<record>"
"<attribute id=
\"
0x0001
\"
>"
// Service class ID list
"<sequence>"
"<uuid value=
\"
0x1101
\"
/>"
"<uuid value=
\"
0x1101
\"
/>"
// an assigned service class meaning: 'serial port'
// we could add our own 'LibreOffice remote' service
// class here too in future ...
"</sequence>"
"</attribute>"
"<attribute id=
\"
0x0004
\"
>"
// Protocol Descriptor list
"<sequence>"
"<sequence>"
"<uuid value=
\"
0x0100
\"
/>"
"<uuid value=
\"
0x0100
\"
/>"
// L2CAP Protocol descriptor
"</sequence>"
"<sequence>"
"<uuid value=
\"
0x0003
\"
/>"
// enumeration value of RFCOMM protocol
...
...
@@ -39,24 +44,26 @@ static const char *bluetooth_service_record =
"</attribute>"
"<attribute id=
\"
0x0005
\"
>"
// Browse Group List
"<sequence>"
"<uuid value=
\"
0x1002
\"
/>"
"<uuid value=
\"
0x1002
\"
/>"
// public browse class
"</sequence>"
"</attribute>"
"<attribute id=
\"
0x0006
\"
>"
// Language Base Attribute ID List
"<sequence>"
"<uint16 value=
\"
0x656e
\"
/>"
"<uint16 value=
\"
0x006a
\"
/>"
"<uint16 value=
\"
0x0100
\"
/>"
"<uint16 value=
\"
0x656e
\"
/>"
// code_ISO639
"<uint16 value=
\"
0x006a
\"
/>"
// encoding 0x6a
"<uint16 value=
\"
0x0100
\"
/>"
// base_offset ie. points to below =>
"</sequence>"
"</attribute>"
"<attribute id=
\"
0x0009
\"
>"
// Bluetooth Profile Descriptor List
"<sequence>"
"<sequence>"
"<uuid value=
\"
0x1101
\"
/>"
"<uint16 value=
\"
0x0100
\"
/>"
"<uuid value=
\"
0x1101
\"
/>"
// 'serial port' UUID as above
"<uint16 value=
\"
0x0100
\"
/>"
// version number 1.0 ?
"</sequence>"
"</sequence>"
"</attribute>"
// Attribute identifiers are pointed to by the Language Base Attribute ID List
// id+0 = ServiceName, id+1 = ServiceDescription, id+2=ProviderName
"<attribute id=
\"
0x0100
\"
>"
"<text value=
\"
Serial Port
\"
/>"
"</attribute>"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment