0x40, 0xa9, 0xa30c, 0x4423, 0x0000 (call will return failure)
0x40, 0xa9, 0x2344, 0x7f03, 0x0000 (call will return failure)
0x40, 0xa9, 0x5839, 0x6832, 0x0000 (call will return failure)
0xc0, 0xa1, 0x0000, 0xe416, 0x0002 (read 2 bytes, will return a mode)
0x40, 0xa1, 0x0000, 0xe416, 0x0002 (send 2 bytes, data must be 0x09 0x00)
0xc0, 0xa1, 0x0000, 0xe416, 0x0002 (read 2 bytes, this should return the NEW mode)
The key thing is to use the 0x09 0x00 mode instead of the old 0x01 0x02 values we were seeing in a trace. This was apparently discovered by this guy:
http://mbed.org/users/AjK/programs/S...8c_source.html I suspect it may have something to do with older chatpads, or "Made for
Windows" vs. 360 chatpads, but I don't have confirmation yet. My original plan was just to try both modes and use the one that resulted in a proper mode change first.
Bookmarks