-
Notifications
You must be signed in to change notification settings - Fork 6
No data incomplete transcript
Mikhail Titov edited this page Jun 3, 2014
·
3 revisions
This is an incomplete (not all proxy functions dump data) transcript from watch with no data on it. It is quite weird that SI_GetProductString
does not return consistent string.
SI_Close(cyHandle)
0 = GetNumDevices(NumDevices=>1
0 = SI_GetProductString(Device#=0, &DeviceString, Flags=0
>38383837 00000000 89EFB51F 0000008E< 8887............ 00000000
>00000000 00000000 8BEFB51F 00000080< ................ 00000010
>4E000000 00000000 8DEFB51F 00000080< N............... 00000020
>50000000 00000000 8FEFB51F 00000080< P............... 00000030
>52000000 00000000 91EFB51F 00000080< R............... 00000040
>54000000 00000000 93EFB51F 00000080< T............... 00000050
>56000000 00000000 95EFB51F 00000080< V............... 00000060
>58000000 00000000 97EFB51F 00000080< X............... 00000070
>5A000000 00000000 99EFB51F 00000080< Z............... 00000080
>5C000000 00000000 9BEFB51F 00000080< \............... 00000090
>5E000000 00000000 9DEFB51F 00000080< ^............... 000000A0
>60000000 00000000 9FEFB51F 00000080< `............... 000000B0
>62000000 00000000 E1EFB51F 00000080< b............... 000000C0
>64000000 00000000 E3EFB51F 00000080< d............... 000000D0
>66000000 00000000 E5EFB51F 00000080< f............... 000000E0
>68000000 00000000 E7EFB51F 00000080< h............... 000000F0
I feel like the following block is an initialization to put watch into connected mode.
0 = GetNumDevices(NumDevices=>1
SI_Open(dwDevice, cyHandle)
SI_SetBaudRate(cyHandle, dwBaudRate)
SI_SetTimeouts(dwReadTimeout, dwWriteTimeout)
SI_Write(cyHandle, lpBuffer, dwBytesToWrite, lpdwBytesWritten, o)
>00000000 00000000 00000000 00000000< ................ 00000000
>00000000 00000000 00000000 0000EEEE< ................ 00000010
Then we get some confirmation?
SI_Read(cyHandle, lpBuffer, dwBytesToRead, lpdwBytesReturned, o)
>00000000 001E0000 4BAD0172 85859898< ........K..r.... 00000000
>AB000102 08010100 A4440000 01000000< .........D...... 00000010
>0000EEEE< .... 00000020
SI_Close(cyHandle)
Then starts some mistery
0 = GetNumDevices(NumDevices=>1
0 = SI_GetProductString(Device#=0, &DeviceString, Flags=0
>38383837 0096AD00 ABEFB51F 0000008D< 8887............ 00000000
>00000000 00000000 ADEFB51F 0000008D< ................ 00000010
>00000000 00000000 AFEFB51F 0000008D< ................ 00000020
>00000000 00000000 B1EFB51F 0000008D< ................ 00000030
>00000000 00000000 B3EFB51F 0000008D< ................ 00000040
>00000000 00000000 B5EFB51F 0000008D< ................ 00000050
>00000000 00000000 B7EFB51F 0000008D< ................ 00000060
>00000000 00000000 B9EFB51F 0000008D< ................ 00000070
>00000000 00000000 BBEFB51F 0000008D< ................ 00000080
>00000000 00000000 BDEFB51F 0000008D< ................ 00000090
>00000000 00000000 BFEFB51F 00000088< ................ 000000A0
>080B2177 99C61677 81EFB51F 00000088< ..!w...w........ 000000B0
>41003A00 5C000000 83EFB51F 00000088< A.:.\........... 000000C0
>18B8BA75 11A38575 85EFB51F 00000088< ...u...u........ 000000D0
>48B8BA75 11A38575 87EFB51F 00000080< H..u...u........ 000000E0
>56000000 00000000 89EFB51F 0000008E< V............... 000000F0
0 = GetNumDevices(NumDevices=>1
SI_Open(dwDevice, cyHandle)
SI_SetBaudRate(cyHandle, dwBaudRate)
SI_SetTimeouts(dwReadTimeout, dwWriteTimeout)
SI_FlushBuffers(cyHandle, FlushTransmit, FlushReceive)
SI_Write(cyHandle, lpBuffer, dwBytesToWrite, lpdwBytesWritten, o)
>EEEE0000 00000000 00000000 00000000< ................ 00000000
>00000000 00000000 00000000 00000000< ................ 00000010
SI_Read(cyHandle, lpBuffer, dwBytesToRead, lpdwBytesReturned, o)
>450B0C04 0028824D 31313135 3330312D< E....(.M1115301- 00000000
>30323031 31313031 36322400 0130FF00< 0201110162$..0.. 00000010
>0130FF00< .0.. 00000020
SI_Close(cyHandle)
SI_Write(cyHandle, lpBuffer, dwBytesToWrite, lpdwBytesWritten, o)
>00000000 00000000 00000000 00000000< ................ 00000000
>00000000 00000000 00000000 0000EEEE< ................ 00000010
SI_Close(cyHandle)
0 = GetNumDevices(NumDevices=>1
0 = SI_GetProductString(Device#=0, &DeviceString, Flags=0
>38383837 00000000 E1EFB51F 00000088< 8887............ 00000000
>BCC48F76 02000000 E3EFB51F 00000088< ...v............ 00000010
>1B000000 888AC600 E5EFB51F 00000080< ................ 00000020
>6A00C300 00000000 E7EFB51F 00000088< j............... 00000030
>D86CC300 00000000 E9EFB51F 00000080< .l.............. 00000040
>6C000000 00000000 EBEFB51F 00000080< l............... 00000050
>6E000000 00000000 EDEFB51F 00000080< n............... 00000060
>70000000 00000000 EFEFB51F 00000080< p............... 00000070
>72000000 00000000 F1EFB51F 00000080< r............... 00000080
>74000000 00000000 F3EFB51F 00000080< t............... 00000090
>76000000 00000000 F5EFB51F 00000080< v............... 000000A0
>78000000 00000000 F7EFB51F 00000080< x............... 000000B0
>7A000000 00000000 F9EFB51F 00000080< z............... 000000C0
>7C000000 00000000 FBEFB51F 00000080< |............... 000000D0
>FFFF0000 00000000 00000000 00000000< ................ 000000E0
>6A349B27 9EC00008 F054ED83 484D454E< j4.'.....T..HMEN 000000F0
0 = GetNumDevices(NumDevices=>1
0 = SI_GetProductString(Device#=0, &DeviceString, Flags=0
>38383837 00000000 E1EFB51F 00000088< 8887............ 00000000
>BCC48F76 02000000 E3EFB51F 00000088< ...v............ 00000010
>1B000000 888AC600 E5EFB51F 00000080< ................ 00000020
>6A00C300 00000000 E7EFB51F 00000088< j............... 00000030
>D86CC300 00000000 E9EFB51F 00000080< .l.............. 00000040
>6C000000 00000000 EBEFB51F 00000080< l............... 00000050
>6E000000 00000000 EDEFB51F 00000080< n............... 00000060
>70000000 00000000 EFEFB51F 00000080< p............... 00000070
>72000000 00000000 F1EFB51F 00000080< r............... 00000080
>74000000 00000000 F3EFB51F 00000080< t............... 00000090
>76000000 00000000 F5EFB51F 00000080< v............... 000000A0
>78000000 00000000 F7EFB51F 00000080< x............... 000000B0
>7A000000 00000000 F9EFB51F 00000080< z............... 000000C0
>7C000000 00000000 FBEFB51F 00000080< |............... 000000D0
>FFFF0000 00000000 00000000 00000000< ................ 000000E0
>6A349B27 9EC00008 F054ED83 484D454E< j4.'.....T..HMEN 000000F0
0 = GetNumDevices(NumDevices=>1
SI_Open(dwDevice, cyHandle)
SI_SetBaudRate(cyHandle, dwBaudRate)
SI_SetTimeouts(dwReadTimeout, dwWriteTimeout)
SI_FlushBuffers(cyHandle, FlushTransmit, FlushReceive)
SI_Write(cyHandle, lpBuffer, dwBytesToWrite, lpdwBytesWritten, o)
>EEEE0000 00000000 00000000 00000000< ................ 00000000
>00000000 00000000 00000000 00000000< ................ 00000010
SI_Read(cyHandle, lpBuffer, dwBytesToRead, lpdwBytesReturned, o)
>450B0C04 0028824D 31313135 3330312D< E....(.M1115301- 00000000
>30323031 31313031 36322400 0130FF00< 0201110162$..0.. 00000010
>0130FF00< .0.. 00000020
SI_FlushBuffers(cyHandle, FlushTransmit, FlushReceive)
SI_Close(cyHandle)
SI_Close(cyHandle)
0 = GetNumDevices(NumDevices=>1
0 = SI_GetProductString(Device#=0, &DeviceString, Flags=0
>38383837 00000000 E7EFB51F 00000088< 8887............ 00000000
>D86CC300 00000000 E9EFB51F 00000080< .l.............. 00000010
>6C000000 00000000 EBEFB51F 00000080< l............... 00000020
>6E000000 00000000 EDEFB51F 00000080< n............... 00000030
>70000000 00000000 EFEFB51F 00000080< p............... 00000040
>72000000 00000000 F1EFB51F 00000080< r............... 00000050
>74000000 00000000 F3EFB51F 00000080< t............... 00000060
>76000000 00000000 F5EFB51F 00000080< v............... 00000070
>78000000 00000000 F7EFB51F 00000080< x............... 00000080
>7A000000 00000000 F9EFB51F 00000080< z............... 00000090
>7C000000 00000000 FBEFB51F 00000080< |............... 000000A0
>FFFF0000 00000000 00000000 00000000< ................ 000000B0
>6A349B27 9EC00008 F054ED83 484D454E< j4.'.....T..HMEN 000000C0
>B16E726F FD1FA4AF 28010000 01000100< .nro....(....... 000000D0
>06000000 18C7C100 FFFFFFFF 00000000< ................ 000000E0
>00000000 00000000 00000000 29FAB577< ............)..w 000000F0
0 = GetNumDevices(NumDevices=>1
SI_Open(dwDevice, cyHandle)
SI_SetBaudRate(cyHandle, dwBaudRate)
SI_SetTimeouts(dwReadTimeout, dwWriteTimeout)
SI_Write(cyHandle, lpBuffer, dwBytesToWrite, lpdwBytesWritten, o)
>00000000 00000000 00000000 00000000< ................ 00000000
>00000000 00000000 00000000 0000EEEE< ................ 00000010
SI_Read(cyHandle, lpBuffer, dwBytesToRead, lpdwBytesReturned, o)
>001E0000 4BAD0172 85859898 AB000102< ....K..r........ 00000000
>08010100 A4440000 01000000 0000EEEE< .....D.......... 00000010
>0000EEEE< .... 00000020
SI_Close(cyHandle)
0 = GetNumDevices(NumDevices=>1
0 = SI_GetProductString(Device#=0, &DeviceString, Flags=0
>38383837 00000000 F9EFB51F 00000080< 8887............ 00000000
>7C000000 00000000 FBEFB51F 00000080< |............... 00000010
>FFFF0000 00000000 00000000 00000000< ................ 00000020
>6A349B27 9EC00008 F054ED83 484D454E< j4.'.....T..HMEN 00000030
>B16E726F FD1FA4AF 28010000 01000100< .nro....(....... 00000040
>06000000 18C7C100 FFFFFFFF 00000000< ................ 00000050
>00000000 00000000 00000000 29FAB577< ............)..w 00000060
>08D3C100 03000000 00000000 00000000< ................ 00000070
>00000000 00000000 00000000 00000000< ................ 00000080
>00000000 00000000 00000000 00000000< ................ 00000090
>00000000 00000000 00000000 00000000< ................ 000000A0
>00000000 00000000 00000000 00000000< ................ 000000B0
>00000000 00000000 00000000 00000000< ................ 000000C0
>00000000 00000000 00000000 00000000< ................ 000000D0
>00000000 00000000 00000000 00000000< ................ 000000E0
>00000000 00000000 00000000 00000000< ................ 000000F0
0 = GetNumDevices(NumDevices=>1
SI_Open(dwDevice, cyHandle)
SI_SetBaudRate(cyHandle, dwBaudRate)
SI_SetTimeouts(dwReadTimeout, dwWriteTimeout)
SI_FlushBuffers(cyHandle, FlushTransmit, FlushReceive)
SI_Write(cyHandle, lpBuffer, dwBytesToWrite, lpdwBytesWritten, o)
>EEEE0000 00000000 00000000 00000000< ................ 00000000
>00000000 00000000 00000000 00000000< ................ 00000010
SI_Read(cyHandle, lpBuffer, dwBytesToRead, lpdwBytesReturned, o)
>450B0C04 0028824D 31313135 3330312D< E....(.M1115301- 00000000
>30323031 31313031 36322400 0130FF00< 0201110162$..0.. 00000010
>0130FF00< .0.. 00000020
SI_FlushBuffers(cyHandle, FlushTransmit, FlushReceive)
SI_Write(cyHandle, lpBuffer, dwBytesToWrite, lpdwBytesWritten, o)
>0808AAAA 00000000 00000000 00000000< ................ 00000000
>00000000 00000000 00000000 00000000< ................ 00000010
SI_Read(cyHandle, lpBuffer, dwBytesToRead, lpdwBytesReturned, o)
>13270000 4B001E08 00AD450B 0C040028< .'..K.....E....( 00000000
>82313131 35333031 2D303230 00000000< .1115301-020.... 00000010
>A44400FF< .D.. 00000020
SI_Read(cyHandle, lpBuffer, dwBytesToRead, lpdwBytesReturned, o)
>EEEEEEEE 4B001E08 00AD450B 0C040028< ....K.....E....( 00000000
>82313131 35333031 2D303230 00000000< .1115301-020.... 00000010
>00000000< .... 00000020
SI_Close(cyHandle)
SI_Close(cyHandle)
0 = GetNumDevices(NumDevices=>1
0 = SI_GetProductString(Device#=0, &DeviceString, Flags=0
>38383837 00000000 F7EFB51F 00000088< 8887............ 00000000
>00000000 00000000 F9EFB51F 00000088< ................ 00000010
>00000000 00000000 FBEFB51F 00000088< ................ 00000020
>00000000 00000000 00000000 00000000< ................ 00000030
>6A349B27 9EC00008 F054ED83 484D454E< j4.'.....T..HMEN 00000040
>B16E726F FD1FA4AF 28010000 01000100< .nro....(....... 00000050
>06000000 18C7C100 FFFFFFFF 00000000< ................ 00000060
>00000000 00000000 00000000 29FAB577< ............)..w 00000070
>08D3C100 03000000 00000000 00000000< ................ 00000080
>00000000 00000000 00000000 00000000< ................ 00000090
>00000000 00000000 00000000 00000000< ................ 000000A0
>00000000 00000000 00000000 00000000< ................ 000000B0
>00000000 00000000 00000000 00000000< ................ 000000C0
>00000000 00000000 00000000 00000000< ................ 000000D0
>00000000 00000000 00000000 00000000< ................ 000000E0
>00000000 00000000 00000000 00000000< ................ 000000F0
0 = GetNumDevices(NumDevices=>1
0 = SI_GetProductString(Device#=0, &DeviceString, Flags=0
>38383837 00000000 F7EFB51F 00000088< 8887............ 00000000
>00000000 00000000 F9EFB51F 00000088< ................ 00000010
>00000000 00000000 FBEFB51F 00000088< ................ 00000020
>00000000 00000000 00000000 00000000< ................ 00000030
>6A349B27 9EC00008 F054ED83 484D454E< j4.'.....T..HMEN 00000040
>B16E726F FD1FA4AF 28010000 01000100< .nro....(....... 00000050
>06000000 18C7C100 FFFFFFFF 00000000< ................ 00000060
>00000000 00000000 00000000 29FAB577< ............)..w 00000070
>08D3C100 03000000 00000000 00000000< ................ 00000080
>00000000 00000000 00000000 00000000< ................ 00000090
>00000000 00000000 00000000 00000000< ................ 000000A0
>00000000 00000000 00000000 00000000< ................ 000000B0
>00000000 00000000 00000000 00000000< ................ 000000C0
>00000000 00000000 00000000 00000000< ................ 000000D0
>00000000 00000000 00000000 00000000< ................ 000000E0
>00000000 00000000 00000000 00000000< ................ 000000F0
0 = GetNumDevices(NumDevices=>1
SI_Open(dwDevice, cyHandle)
SI_SetBaudRate(cyHandle, dwBaudRate)
SI_SetTimeouts(dwReadTimeout, dwWriteTimeout)
SI_FlushBuffers(cyHandle, FlushTransmit, FlushReceive)
SI_Write(cyHandle, lpBuffer, dwBytesToWrite, lpdwBytesWritten, o)
>EEEE0000 00000000 00000000 00000000< ................ 00000000
>00000000 00000000 00000000 00000000< ................ 00000010
SI_Read(cyHandle, lpBuffer, dwBytesToRead, lpdwBytesReturned, o)
>450B0C04 0028824D 31313135 3330312D< E....(.M1115301- 00000000
>30323031 31313031 36322400 0130FF00< 0201110162$..0.. 00000010
>0130FF00< .0.. 00000020
SI_FlushBuffers(cyHandle, FlushTransmit, FlushReceive)
SI_Close(cyHandle)
SI_Close(cyHandle)
SI_Close(cyHandle)
0 = GetNumDevices(NumDevices=>1
0 = SI_GetProductString(Device#=0, &DeviceString, Flags=0
>38383837 00000000 F7EFB51F 00000088< 8887............ 00000000
>00000000 00000000 F9EFB51F 00000088< ................ 00000010
>00000000 00000000 FBEFB51F 00000088< ................ 00000020
>00000000 00000000 00000000 00000000< ................ 00000030
>6A349B27 9EC00008 F054ED83 484D454E< j4.'.....T..HMEN 00000040
>B16E726F FD1FA4AF 28010000 01000100< .nro....(....... 00000050
>06000000 18C7C100 FFFFFFFF 00000000< ................ 00000060
>00000000 00000000 00000000 29FAB577< ............)..w 00000070
>08D3C100 03000000 00000000 00000000< ................ 00000080
>00000000 00000000 00000000 00000000< ................ 00000090
>00000000 00000000 00000000 00000000< ................ 000000A0
>00000000 00000000 00000000 00000000< ................ 000000B0
>00000000 00000000 00000000 00000000< ................ 000000C0
>00000000 00000000 00000000 00000000< ................ 000000D0
>00000000 00000000 00000000 00000000< ................ 000000E0
>00000000 00000000 00000000 00000000< ................ 000000F0
And probably the block to return watches back into charging only mode.
0 = GetNumDevices(NumDevices=>1
SI_Open(dwDevice, cyHandle)
SI_SetBaudRate(cyHandle, dwBaudRate)
SI_SetTimeouts(dwReadTimeout, dwWriteTimeout)
SI_FlushBuffers(cyHandle, FlushTransmit, FlushReceive)
SI_Write(cyHandle, lpBuffer, dwBytesToWrite, lpdwBytesWritten, o)
>FFFFFFFF 00000000 00000000 00000000< ................ 00000000
>00000000 00000000 00000000 00000000< ................ 00000010
SI_Read(cyHandle, lpBuffer, dwBytesToRead, lpdwBytesReturned, o)
SI_Close(cyHandle)
Normal finish