MFC revs. 1.7
- Add new service class definitions and a new attribute identifier definition - Update URL of the Assigned Numbers document for SDP Approved by: re (bmah), emax (mentor)
This commit is contained in:
parent
1ad32cec59
commit
e9bf354c87
@ -91,7 +91,7 @@ __BEGIN_DECLS
|
||||
#define SDP_DATA_URL32 0x47
|
||||
|
||||
/*
|
||||
* Protocols UUID (short) http://www.bluetoothsig.org/assigned-numbers/sdp.htm
|
||||
* Protocols UUID (short) https://www.bluetooth.org/assigned-numbers/service_discovery.php
|
||||
* BASE UUID 00000000-0000-1000-8000-00805F9B34FB
|
||||
*/
|
||||
|
||||
@ -119,7 +119,7 @@ __BEGIN_DECLS
|
||||
#define SDP_UUID_PROTOCOL_L2CAP 0x0100
|
||||
|
||||
/*
|
||||
* Service class IDs http://www.bluetoothsig.org/assigned-numbers/sdp.htm
|
||||
* Service class IDs https://www.bluetooth.org/assigned-numbers/service_discovery.php
|
||||
*/
|
||||
|
||||
#define SDP_SERVICE_CLASS_SERVICE_DISCOVERY_SERVER 0x1000
|
||||
@ -170,6 +170,9 @@ __BEGIN_DECLS
|
||||
#define SDP_SERVICE_CLASS_UDI_TA 0x112B
|
||||
#define SDP_SERVICE_CLASS_AUDIO_VIDEO 0x112C
|
||||
#define SDP_SERVICE_CLASS_SIM_ACCESS 0x112D
|
||||
#define SDP_SERVICE_CLASS_PHONEBOOK_ACCESS_PCE 0x112E
|
||||
#define SDP_SERVICE_CLASS_PHONEBOOK_ACCESS_PSE 0x112F
|
||||
#define SDP_SERVICE_CLASS_PHONEBOOK_ACCESS 0x1130
|
||||
#define SDP_SERVICE_CLASS_PNP_INFORMATION 0x1200
|
||||
#define SDP_SERVICE_CLASS_GENERIC_NETWORKING 0x1201
|
||||
#define SDP_SERVICE_CLASS_GENERIC_FILE_TRANSFER 0x1202
|
||||
@ -180,10 +183,13 @@ __BEGIN_DECLS
|
||||
#define SDP_SERVICE_CLASS_ESDP_UPNP_IP_PAN 0x1300
|
||||
#define SDP_SERVICE_CLASS_ESDP_UPNP_IP_LAP 0x1301
|
||||
#define SDP_SERVICE_CLASS_ESDP_UPNP_L2CAP 0x1302
|
||||
#define SDP_SERVICE_CLASS_VIDEO_SOURCE 0x1303
|
||||
#define SDP_SERVICE_CLASS_VIDEO_SINK 0x1304
|
||||
#define SDP_SERVICE_CLASS_VIDEO_DISTRIBUTION 0x1305
|
||||
|
||||
/*
|
||||
* Universal attribute definitions (page 366) and
|
||||
* http://www.bluetoothsig.org/assigned-numbers/sdp.htm
|
||||
* https://www.bluetooth.org/assigned-numbers/service_discovery.php
|
||||
*/
|
||||
|
||||
#define SDP_ATTR_RANGE(lo, hi) \
|
||||
@ -230,6 +236,7 @@ __BEGIN_DECLS
|
||||
#define SDP_ATTR_SUPPORTED_FEATURES 0x0311
|
||||
#define SDP_ATTR_SUPPORTED_FUNCTIONS 0x0312
|
||||
#define SDP_ATTR_TOTAL_IMAGING_DATA_CAPACITY 0x0313
|
||||
#define SDP_ATTR_SUPPORTED_REPOSITORIES 0x0314
|
||||
|
||||
/*
|
||||
* The offset must be added to the attribute ID base (contained in the
|
||||
|
@ -117,6 +117,9 @@ static sdp_attr_desc_t sdp_uuids_desc[] = {
|
||||
{ SDP_SERVICE_CLASS_UDI_TA, "UDI TA", },
|
||||
{ SDP_SERVICE_CLASS_AUDIO_VIDEO, "Audio/Video", },
|
||||
{ SDP_SERVICE_CLASS_SIM_ACCESS, "SIM Access", },
|
||||
{ SDP_SERVICE_CLASS_PHONEBOOK_ACCESS_PCE, "Phonebook Access - PCE", },
|
||||
{ SDP_SERVICE_CLASS_PHONEBOOK_ACCESS_PSE, "Phonebook Access - PSE", },
|
||||
{ SDP_SERVICE_CLASS_PHONEBOOK_ACCESS, "Phonebook Access", },
|
||||
{ SDP_SERVICE_CLASS_PNP_INFORMATION, "PNP Information", },
|
||||
{ SDP_SERVICE_CLASS_GENERIC_NETWORKING, "Generic Networking", },
|
||||
{ SDP_SERVICE_CLASS_GENERIC_FILE_TRANSFER, "Generic File Transfer", },
|
||||
@ -127,6 +130,9 @@ static sdp_attr_desc_t sdp_uuids_desc[] = {
|
||||
{ SDP_SERVICE_CLASS_ESDP_UPNP_IP_PAN, "ESDP UPNP IP PAN", },
|
||||
{ SDP_SERVICE_CLASS_ESDP_UPNP_IP_LAP, "ESDP UPNP IP LAP", },
|
||||
{ SDP_SERVICE_CLASS_ESDP_UPNP_L2CAP, "ESDP UPNP L2CAP", },
|
||||
{ SDP_SERVICE_CLASS_VIDEO_SOURCE, "Video Source", },
|
||||
{ SDP_SERVICE_CLASS_VIDEO_SINK, "Video Sink", },
|
||||
{ SDP_SERVICE_CLASS_VIDEO_DISTRIBUTION, "Video Distribution", },
|
||||
{ 0xffff, NULL, }
|
||||
};
|
||||
|
||||
@ -241,6 +247,9 @@ static sdp_attr_desc_t sdp_attrs_desc[] = {
|
||||
{ SDP_ATTR_TOTAL_IMAGING_DATA_CAPACITY,
|
||||
"Total Imaging Data Capacity",
|
||||
},
|
||||
{ SDP_ATTR_SUPPORTED_REPOSITORIES,
|
||||
"Supported Repositories",
|
||||
},
|
||||
{ 0xffff, NULL, }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user