⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 todo.int

📁 Affix - Bluetooth Protocol Stack for Linux has been developed at Nokia Research Center in Helsinki
💻 INT
字号:
#   $Id: TODO.int,v 1.5 2003/04/15 09:34:24 kds Exp $#- sdpreg_obex must provide supported content formats# Audio setupbtctl audio both alt5 0x400x60 - 2s 160x40 - 2s 80x00 - 1s 80x000 - Linear0x100 - mLaw0x200 - aLawairCVSD = 0x00mLaw = 0x01aLaw = 0x02mpg123 -s Cater2000.mp3 | sox -t raw -r 44100 -s -w -c 2 - -r 8000 -s -b -c 1 out.sbplay -t sb -s b -f s -c 1 -r 8000 out.sb# SDP fixing#1. SAFailedSearch Request02 00 01 00 16 35 11 1c 00 00 11 05 00 00 10 00 80 00 00 80 5f 9b 34 fb 00 01 00 Search Response03 00 01 00 09 00 01 00 01 08 05 21 00 00 ----Attribute Request04 00 02 00 0f 08 05 21 00 00 20 35 06 09 00 01 09 00 04 00 04 00 02 00 0f - header08 05 21 00 - handle 0x0805210000 20 - byte count 3235 06 - attr id list, 6 bytes09 00 01 - attr 0x000109 00 04 - attr 0x000400 - cont state----------Attribute Response05 00 02 00 23 00 20 35 1e 09 00 01 35 03 19 11 05 09 00 04 35 11 35 03 19 01 00 35 05 19 00 03 08 07 35 03 19 00 08 00 05 00 02 00 23 - header00 20 - byte count - 32[ attr list35 1e -> data seq 30 bytes	09 00 01 - id 0x0001	35 03 - value 3 bytes		19 11 05 - UUID16 0x1105		09 00 04  - id 0x0004 - protocol desc list	35 11 - value 17 bytes		35 03 - first protocol, seq 3 bytes			19 01 00  - UUID16 0x0100 - L2CAP		35 05 - seq 5 bytes			19 00 03 UUID16 0x0003 - RFCOMM			08 07 - parameter -> port 7		35 03  - seq 3 bytes			19 00 08 UUID16 0x0008			00 - cont state-----------CONCLUSION..looks OKis there a problem with byte count???response contains exactly max amount of attribute data#2. SS_BI-01FailedInvalid PDU size-----Search Request02 00 02 00 1a 35 05 1a 00 00 01 00 00 05 0b 00 00 00 59 7b 78 3e 05 00 00 00 -----Search Response03 00 02 00 11 00 08 00 03 08 05 14 a8 08 05 21 00 08 05 2d 90 00----CONCLUSION:SDP does not check for size of the packet0x1a -> 26but real data is 21#3. SS_BI-02FailedIncorrect syntax---Search Request02 00 01 00 08 35 05 1a 00 00 01 00 00 02 00 01 00 08 - header35 05 - search pattern	1a 00 00 01 00 - UUID32 0x00000100 - L2CAP00 - suxx must be 2 bytes of MaxRecCount + cont state-----Search Response03 00 01 00 10 00 08 00 00 0b 00 00 00 70 7a 78 3e 00 00 00 00---CONCLUSION:no checking for the syntax of the request#4. SS/BV-03 failedsearch request02 00 01 00 03 35 03 1902 00 01 00 03 - header35 03 - search patter, 3 bytes19 - UUID16 SUXX -> incomplete requestCONCLUSION:-> Test Equipement sends incorrect requestInvalidSyntax#5. SS/BI-02 failedSearch Req02 00 01 00 14 35 11 1c 00 00 01 00 00 00 10 00 80 00 00 80 5f 9b 34 fb 1202 00 01 00 14 - header 35 11 - search seq, 17 bytes	1c - UUID128		00 00 01 00 00 00 10 00 80 00 00 80 5f 9b 34 fb 12 - SUXX-> must be 2 bytes maxRecCount + 1+ bytes cont stateError Rsp01 00 01 00 04 00 00 00 00CONCLUSION -> invalid Error Code#6. SSA/-------Req06 00 01 00 0d 35 03 19 00 00 00 0a 35 03 09 00 01 0006 00 01 00 0d - header35 03 - search pattern	19 00 00 - UUID16 0x0000 - server rec handle00 0a - max attr byte count35 03 - attr list	09 00 01 - id 0x0001 - svc class id list00 - cont state-----RSP07 00 01 00 03 00 00 0007 00 01 00 03 - header 00 00 - byte count, 000 - cont state----CONCLUSION-> looks ok-----------------------------------------------------REQ06 00 01 00 0d 35 03 19 11 01 00 0a 35 03 09 00 05 0006 00 01 00 0d - header35 03 - search patter	19 11 01 - UUID16 0x1101 - serial port00 0a - max byte count, 1035 03 - attr id list	09 00 05 - id 0x0005 - browse group list00 - cont stateRSP07 00 01 00 18 00 0a 35 0a 35 08 09 00 05 35 03 19 0b 00 00 00 88 89 78 3e 0a 00 00 0007 00 01 00 18 - header 00 0a - byte count (10)35 0a - Attr list (10)???? exceeding 10	35 08 - svc1		09 00 05 - attr 0x0005		35 03 - attr value			19 - UUID16 !!!!!!!!! overwritten value by cont state0b - cont state, 11 bytes	00 00 00 88 89 78 3e 0a 00 00 00--------CONCLUSION -> Affix BUG here -> NO BUG!!! 1. exceeding attribute byte count2. Cont state overwrite data!!!!-------------------------------------------------------------REQ06 00 02 00 18 35 03 19 11 01 00 0a 35 03 09 00 05 0b 00 00 00 88 89 78 3e 0a 00 00 0006 00 02 00 18 - header35 03 - search patter	19 11 01 - UUID16 0x1101 - serial port00 0a - maxAttrByteCOunt 35 03 - attr id list	09 00 05 - id 0x0005 - browse group list0b - cont state 11 bytes,	00 00 00 88 89 78 3e 0a 00 00 00-----RSP07 00 02 00 05 00 02 10 02 0007 00 02 00 05 - header 00 02 - byte count, 210 02 - the rest of UUID16, 0x100200 - cont state----------------------------------------------------------REQ06 00 01 00 0d 35 03 19 00 00 00 0a 35 03 09 00 05 0006 00 01 00 0d - header 35 03 - search patter	19 00 00 - UUID16 0x0000 00 0a - attr byte count35 03 - attr list	09 00 05 - id 0x000500 - cont state----------RSP07 00 01 00 03 00 00 0007 00 01 00 03 - header00 00 - byte count, 000 - cont state-------------------------------REQ06 00 01 00 10 35 03 19 11 05 00 25 35 06 09 00 01 09 00 04 0006 00 01 00 10 - header35 03 - search patter	19 11 05 - UUID16 0x1105 - Object Push00 25 - byte count35 06 - attr id list	09 00 01 - id 0x0001 - class id list	09 00 04 - id 0x0004 - proto desc list00 - cont state-----RSP07 00 01 00 25 00 22 35 20 35 1e 09 00 01 35 03 19 11 05 09 00 04 35 11 35 03 19 01 00 35 05 19 00 03 08 07 35 03 19 00 08 0007 00 01 00 25 - header 00 22 - byte count35 20 - svc list	35 1e - svc1		09 00 01 - id 0x0001 - class id list		35 03 - value			19 11 05 - UUID16 0x1105 - ObjectPush		09 00 04 - id 0x0004 - proto desc list		35 11 - value, 17			35 03 - proto1				19 01 00 - UUID16 0x0100 - L2CAP			35 05 - proto2				19 00 03 - UUID16 0x0003 - RFCOMM				08 07 - port 7			35 03 - proto3				19 00 08 - UUID16 0x0008 - OBEX00 - cont state----------------------------REQ06 00 01 00 10 35 03 19 11 01 00 07 35 06 09 00 00 09 00 01 0006 00 01 00 10 - header35 03 - search patter	19 11 01 - UUID16, 0x1101 - serial00 07 - max byte count, 735 06 - attr id list	09 00 00 - 0x0000 - recHandle	09 00 01 - 0x0001 - class id List00 - cont state-------RSP07 00 01 00 15 00 07 35 12 35 10 09 00 00 0b 00 00 00 dd 89 78 3e 07 00 00 0007 00 01 00 15 - header 00 07 - max count, 735 12 - cvs list, 18	35 10 - svc1		09 00 00 - id 0x0000 - rec handle-- from next		0a 08 04 e0 20 - handle value				09 00 01 - id 0x0001 - id list		35 03 - value			19 11 01, UUID16, 0x1101 - serial--0b - cont state	00 00 00 dd 89 78 3e 07 00 00 00-REQ06 00 02 00 1b 35 03 19 11 01 00 07 35 06 09 00 00 09 00 01 0b 00 00 00 dd 89 78 3e 07 00 00 00- with cont stateRSP07 00 02 00 15 00 07 0a 08 04 e0 20 09 00 0b 00 00 00 dd 89 78 3e 0e 00 00 0007 00 02 00 15 - header 00 07 - byte countCONT DATA -> 0a 08 04 e0 20 09 00 0b - cont state	00 00 00 dd 89 78 3e 0e 00 00 00-REQ06 00 03 00 1b 35 03 19 11 01 00 07 35 06 09 00 00 09 00 01 0b 00 00 00 dd 89 78 3e 0e 00 00 00RSP07 00 03 00 09 00 06 01 35 03 19 11 01 0007 00 03 00 09 - header00 06 - byte count, 6CONT DATA -> 01 35 03 19 11 01 00 - cont state----------------#7. SASA/BV-6REQ04 00 02 00 0c 00 00 00 00 00 0d 35 03 09 00 02 0004 00 02 00 0c - header00 00 00 00 - handle00 0d - max byte count, 1335 03 - attr id list	09 00 02 - 0x0002 - service record state00 - cont stateRSP05 00 02 00 03 00 00 00 CONCLUSION -> no Service Record State

⌨️ 快捷键说明

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