spp_master_service_record.h

来自「蓝牙点对点通信程序」· C头文件 代码 · 共 53 行

H
53
字号
/*
  SDP Service Record generated from spp_master.sdp by sdpgen.pl
*/

static const uint8 spp_master_service_record[] =
{
  0x09, /* ServiceClassIDList(0x0001) */
    0x00,
    0x01,
  0x35, /* DataElSeq 3 bytes */
  0x03,
    0x19, /* uuid SerialPort(0x1101) */
    0x11,
    0x01,
  0x09, /* ProtocolDescriptorList(0x0004) */
    0x00,
    0x04,
  0x35, /* DataElSeq 12 bytes */
  0x0c,
    0x35, /* DataElSeq 3 bytes */
    0x03,
      0x19, /* uuid L2CAP(0x0100) */
      0x01,
      0x00,
    0x35, /* DataElSeq 5 bytes */
    0x05,
      0x19, /* uuid RFCOMM(0x0003) */
      0x00,
      0x03,
      0x08, /* uint8 0x00 */
        0x00,
  0x09, /* LanguageBaseAttributeIDList(0x0006) */
    0x00,
    0x06,
  0x35, /* DataElSeq 9 bytes */
  0x09,
    0x09, /* uint16 0x656e */
      0x65,
      0x6e,
    0x09, /* uint16 0x006a */
      0x00,
      0x6a,
    0x09, /* uint16 0x0100 */
      0x01,
      0x00,
  0x09, /* ServiceName(0x0100) = "SPP master" */
    0x01,
    0x00,
  0x25, /* String length 10 */
  0x0a,
    'S','P','P',' ','m','a','s','t','e','r',
}; /* 54 bytes */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?