TITLE : MT6611 E2 MT (Loop test)
HCI1 : 1
HCI2 : 2
HCI3 : 11

TIMEOUT : 0
LOGPATH : fail

z0 : 10                                                           \\ Fail case : HCI Error

\\PROC : M:Patch
\\TX1 : 01 03 0C 00	                                                \\ M: HCI Reset
\\RX1 : 04 0E 04 01 03 0C 00                                        \\ M: HCI Command Complete Event
\\TX1 : 01 D0 FC 08 24 01 00 01 00 59 00 01	                        \\ M: Change Patch Base Address
\\RX1 : 04 0E 04 01 D0 FC 00                                        \\ M: HCI Command Complete Event
\\PATCH1 : 6611E2_patch.bin
PROC : M:Change BD ADDR
TX1 : 01 03 0C 00	                                                \\ M: HCI Reset
RX1 : 04 0E 04 01 03 0C 00                                        \\ M: HCI Command Complete Event
TX1 : 01 1A FC 06 01 11 66 46 00 00                               \\ M: HCI_Write_Local_Device_Address
RX1 : 04 0E 04 01 1A FC 00                                        \\ M: HCI Command Complete Event
PROC : M:Reset Target
TX1 : 01 03 0C 00	                                                \\ M: HCI Reset
RX1 : 04 0E 04 01 03 0C 00                                        \\ M: HCI Command Complete Event
TX1 : 01 01 0C 08 FF FF FF EB 00 00 00 00                         \\ M: HCI Set Event Mask
RX1 : 04 0E 04 01 01 0C 00                                        \\ M: HCI Command Complete Event
TX1 : 01 D0 FC 08 00 00 05 80 F1 00 00 00                         \\ M: Set GPIO direction
RX1 : 04 0E 04 01 D0 FC 00
\\PROC : S:Patch
\\TX2 : 01 03 0C 00                                                 \\ S: HCI Reset
\\RX2 : 04 0E 04 01 03 0C 00                                        \\ S: HCI Command Complete Event
\\TX2 : 01 D0 FC 08 24 01 00 01 00 59 00 01	                        \\ M: Change Patch Base Address
\\RX2 : 04 0E 04 01 D0 FC 00                                        \\ M: HCI Command Complete Event
\\PATCH2 : 6611E2_patch.bin
PROC : S:Change BD ADDR
TX2 : 01 03 0C 00                                                 \\ S: HCI Reset
RX2 : 04 0E 04 01 03 0C 00                                        \\ S: HCI Command Complete Event
TX2 : 01 1A FC 06 02 11 66 46 00 00                               \\ S: HCI_Write_Local_Device_Address
RX2 : 04 0E 04 01 1A FC 00                                        \\ S: HCI Command Complete Event
PROC : S:Reset Target
TX2 : 01 03 0C 00                                                 \\ S: HCI Reset
RX2 : 04 0E 04 01 03 0C 00                                        \\ S: HCI Command Complete Event
PROC : S:Scan Enable
TX2 : 01 1A 0C 01 03                                              \\ S: HCI Write Scan Enable
RX2 : 04 0E 04 01 1A 0C 00                                        \\ S: HCI Command Complete Event
TX2 : 01 05 0C 03 02 00 02                                        \\ S: HCI Set Event Filter
RX2 : 04 0E 04 01 05 0C 00                                        \\ S: HCI Command Complete Event
TX2 : 01 01 0C 08 FF FF FF EB 00 00 00 00                         \\ S: HCI Set Event Mask
RX2 : 04 0E 04 01 01 0C 00                                        \\ S: HCI Command Complete Event
PROC : Create Connection
z0 : 50                                                           \\ Fail case : Create Connection Error
TX1 : 01 05 04 0D 02 11 66 46 00 00 18 CC 01 00 E1 DC 00          \\ M: HCI Create Connection
RX1 : 04 0F 04 00 01 05 04                                        \\ M: HCI Command Status Event
RX1 : 04 03 0B 00 32 00 02 11 66 46 00 00 01 00                   \\ M: HCI Connection Complete Event
RX2 : 04 03 0B 00 32 00 01 11 66 46 00 00 01 00                   \\ S: HCI Connection Complete Event
PROC : DM1 packet Test
TX1 : 02 32 00 11 00 0D 00 40 00 00 00 00 00 55 56 57 58 59 5A 5B 5C 45 \\ M: Send DM1 packet      
RX1 : 04 13 05 01 32 00 01 00                                     \\ M: HCI Number Of Completed Packets Event
RX2 : 02 32 20 11 00 0D 00 40 00 00 00 00 00 55 56 57 58 59 5A 5B 5C 45 \\ S: Receive DM1 packet      
TX2 : 02 32 20 11 00 0D 00 40 00 00 00 00 00 55 56 57 58 59 5A 5B 5C 45 \\ S: Send DM1 packet      
RX2 : 04 13 05 01 32 00 01 00                                           \\ S: HCI Number Of Completed Packets Event
RX1 : 02 32 20 11 00 0D 00 40 00 00 00 00 00 55 56 57 58 59 5A 5B  5C 45 \\ M: Receive DM1 packet     
END
