iPod IWIP3G User Guide - Page 119

Using Multiplexing Mode

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211

119
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