iPod IWIP3G User Guide - Page 119
Using Multiplexing Mode
UPC - 649241862819
View all iPod IWIP3G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 119 highlights
To disable multiplexing mode: BF FF 00 11 53 45 54 20 43 4f 4e 54 52 4f 4c 20 4d 55 58 20 30 00 READY The command is "SET CONTROL MUX 0" in the frame format used by MUX mode. The command must be sent in hex format, not in ASCII format. Note: When multiplexing mode is enabled, no ASCII commands can be given to iWRAP but the multiplexing protocol must be used. Multiplexing mode can be disabled by deleting PSKEY_USR3 with PSTool. ASCII commands do not need to end with"\r" when multiplexing mode is used. 6.20.3 Using Multiplexing Mode The multiplexing protocol format is presented below: Length: Name: Description: Value: 8 bits SOF Start of frame 0xBF 8 bits LINK Link ID 0x00 - 0x08 or 0xFF (control) 6 bits FLAGS Frame flags 0x00 10 bits LENGTH Size of data field in bytes - 0-800 bits DATA Data - 8 bits nLINK {LINK} XOR OxFF - Table 9: Multiplexing frame format When multiplexing mode is enabled, all the commands and data sent from host to iWRAP must be sent by using the frame format described above instead of plain ASCII commands. Also, the responses and data coming from iWRAP to the host are sent using the same format. iWRAP firmware autonomously processes the frames and decides whether they contain control commands or data which should be forwarded to its destination. The advantage of multiplexing mode is that there is no need to do special command-data -command mode switching since data and commands are transmitted in the same mode. This saves a lot of time especially in multipoint scenarios, where - in the worst case - switching from data mode to command mode can take more than two seconds. Also in scenarios where there are several connections, receiving data simultaneously from several devices is difficult if multiplexing mode is not used. In normal (data/command) mode, only one connection can be active (in data mode) at a time, and it can only be used to transmit or receive data. If there is any data received from the other connection during 119