Service Discovery protocol(SDP)

locating services provided by

Volume 3 , Part C , section 8

2.1sdp client-server architecture

2.2 service record -- shall only be a list of ervice attributes.

2.3 service attribute : each descr a signle characteristic of a service.

  service id

  provider name

  service name

---------service attribute---------

  | attribute id  |

  | attribute value |

---------------------------------

  attribute id : a 16 bit unsigned integer that distiguigh each attribute from other attribute within a service record.(only in each service class)

     attribute value: data element

 

2.4 service class  : each service is an instance of a service class.

  ServiceClassIDList is very important

2.5 Searching for services

   once a SDP client has a service record handle, it request values of specific attributes.

   uuid universally unique identifier that is guaranteed to be unique across space and time.

  service search patterns

  binder

 

 

 

蓝牙数据包日志在 /storage/emulated/legacy/btsnoop_hci.log

posted @ 2015-09-06 12:19  好哥TOP  阅读(454)  评论(0编辑  收藏  举报