Guide To Using MASCMPAK Protocol
Guide To Using MASCMPAK Protocol
3URWRFRO 'HVFULSWLRQ
&RQWHQWV
1 Introduction .....................................................................................................6 1.1 Radio Modem .......................................................................................6 1.2 Mobitex.................................................................................................6 1.3 Data Terminal .......................................................................................7 1.4 OSI Layers Described in this Manual...................................................7 1.4.1 V.24/V.28 Physical Interface .....................................................8 1.4.2 MASC Frames ............................................................................8 1.4.3 MPAKs .......................................................................................8 2 Physical Interface ............................................................................................9 2.1 Data Transmission Rate and Format.....................................................9 2.2 Interface Signals ...................................................................................9 2.3 Power Management ............................................................................10 2.3.1 Power On ..................................................................................10 2.3.2 Power Off .................................................................................10 3 MASC Protocol Description .........................................................................11 3.1 The Link Layer ...................................................................................11 3.1.1 Protocol.....................................................................................11 3.2 Frame Structure...................................................................................12 3.2.1 Text Conventions......................................................................12 3.2.2 Handling of Frames Unknown to the Application ...................12 3.2.3 Control Frames .........................................................................12 3.2.4 Information Frames ..................................................................13 3.2.5 Description of Fields ................................................................13 3.3 Description of the Control Frames......................................................15 3.3.1 ACK, Acknowledgement .........................................................15 3.3.2 NACK, Negative Acknowledgement .......................................16 3.3.3 RACK, Request for Repeat of the Last Sent ACK...................17 3.3.4 SENS, Link Layer Control .......................................................17 3.3.5 SACK, SENS Acknowledgement ............................................18 3.4 Description of the Information Frames...............................................18 3.4.1 B-command, Parameters for the MASC 1 Protocol .................21 3.4.2 D-command, Route Received MPAKs from Mobitex Network to an Output ...............................................................23 3.4.3 E-command, Error Command or Function...............................26
3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.4.10 3.4.11 3.4.12 3.4.13 3.4.14 3.4.15 3.4.16 3.4.17 3.4.18 3.4.19 3.4.20 3.4.21 3.4.22 3.4.23 3.4.24 3.4.25 3.4.26 3.4.27 3.4.28 3.4.29 3.4.30 3.4.31 3.4.32 3.4.33 3.4.34 3.4.35 3.4.36 3.4.37 3.4.38 3.4.39 3.4.40 3.4.41 3.4.42 3.4.43 3.4.44
M-command, Send/Receive MPAK via Radio........................ 27 N-command, Return of MPAK Not Sent ................................ 29 R-command, Return of Incorrect MPAK ................................ 31 S-command, The PC sends an MPAK to a specified output port of the radio modem .......................................................... 33 F- commands, System Control ................................................ 35 F A, Power Save Mode Functions ........................................... 35 F B, Change to Mobitex Operation Mode ............................... 38 F F, Contact with the Mobitex Network .................................. 39 F G, No Contact with the Mobitex Network ........................... 40 F H, MPAK Sent by Radio to the Network ............................. 41 F I, Cancel Previous Transmission of MPAK ......................... 42 F J, Print Out Current MANs from Terminal .......................... 43 F K, Error Message about a Fault Situation ............................ 44 F L, Activate External Call Indication..................................... 45 F M, Transmitter on/off ........................................................... 45 F N, Change to MANUAL RADIO Mode .............................. 47 F O, Prepare to Close Down the Radio Modem ...................... 48 F P, Terminal MAN request/answer ........................................ 50 F Q, MASC Device Identity .................................................... 52 F R, Change Network Identification........................................ 53 F S, Change of Traffic-Area .................................................... 54 F T, Change TEMP_DEFAULT_LIST ................................... 56 F U, Power Control of Separate Radio Transceiver Module... 59 FW, Configuration of CCITT-V.24 RLSD (DCD) Signal ...... 61 F X, Change MASC Communication Parameters ................... 63 F Y, Battery Saving Mode Control.......................................... 65 F Z, Product Information Request/Answer.............................. 67 F#, Short Number List ............................................................. 70 F 01, Request/List Network Contact Status............................. 71 F 02, Request/List Subscription Information........................... 72 F 03, Change Network Request/Reply .................................... 73 F 04, Mobitex Time Packet Filter............................................ 75 QA01-command, Request/List AREA LIST Information (8kbps Only) ............................................................................ 77 QA02-command, Request/List Roaming Parameters (8 kbps Only) ........................................................................... 78 QA03-command, Request/Reply Radio Modem Locking to Specific Up and Down Channel Numbers............................... 80 F !-command, Change Operation Mode .................................. 83 P-command, Request/List Parameters ..................................... 86 PA01-command, Request/List Radio Parameters.................... 88 PA02-command, Request/List Identity Parameters................. 91 PA03-command, Request/List Channel Parameters................ 94 PA04-command, Request/List Power Control Parameters...... 97
3.4.45 PA05-command, Request/List Roaming Parameters .............. 99 3.4.46 PA 06-command, Request/List Test Parameters ................... 102 3.4.47 PA07-command, Request/List Battery Saving Protocol Parameters ............................................................... 106 3.4.48 PA09-command, Request/Reply INVALID_LIST Parameters.............................................................................. 108 3.4.49 PA10-command, Setting the MODE/SKIPNUM Parameters 110 3.4.50 K-command, Receive/Transmit Frequency Number ............. 110 3.4.51 KA-commands, Set/Receive Transmit Frequency Band and Number ........................................................................... 112 3.4.52 Network Status and Error Messages...................................... 113 4 MPAK Protocol Description - General ...................................................... 117 4.1 The Network Layer .......................................................................... 117 4.1.1 Mobitex Packet, MPAK......................................................... 117 4.1.2 Packet Classes........................................................................ 118 4.1.3 PSUBCOM ............................................................................ 119 4.1.4 DTESERV ............................................................................. 119 4.2 Description of MPAKs..................................................................... 119 4.2.1 MPAK Format and Structure................................................. 119 4.2.2 Packet Length ........................................................................ 119 4.2.3 Packet Components ............................................................... 120 4.2.4 Mobitex Subscription Number, MAN ................................... 121 4.2.5 Components Common to all MPAKs .................................... 121 4.3 Address List ..................................................................................... 127 4.3.1 Type-Dependent Component................................................. 127 4.4 Protocol ............................................................................................ 127 4.4.1 Traffic Handling Principles ................................................... 128 4.4.2 Activation/Inactivation .......................................................... 129 4.4.3 Mobitex Network Mailbox .................................................... 130 4.4.4 How to Use the Common Component Fields of the MPAK . 130 4.4.5 Generating MPAKs ............................................................... 131 4.4.6 Erroneous MPAKs................................................................. 132 4.4.7 Receiving MPAKs ................................................................. 132 4.4.8 MPAKs Returned by the Link Layer..................................... 133 4.4.9 MPAKs Returned by the Network Layer to the Application Layer .................................................................. 133 4.4.10 Message Buffers .................................................................... 133 4.5 Text/Data/HP-data/Status Message.................................................. 134 4.5.1 Text Messages ....................................................................... 134 4.5.2 Data Messages ....................................................................... 134 4.5.3 HP-data Messages.................................................................. 134 4.5.4 Status Messages ..................................................................... 135 5 MPAK Protocol Description - Packet Formats .......................................... 136 5.1 Fields Common to Several Packet Types ........................................ 136
5.1.1 MAN ...................................................................................... 136 5.1.2 Time ....................................................................................... 137 5.1.3 Protocol Identification ........................................................... 138 5.2 PSUBCOM....................................................................................... 139 5.2.1 TEXT Message without Address List.................................... 140 5.2.2 TEXT Message with Address List......................................... 141 5.2.3 DATA Messages without Address List ................................. 142 5.2.4 DATA Messages with Address List ...................................... 143 5.2.5 STATUS Messages without Address List ............................. 144 5.2.6 STATUS Messages with Address List .................................. 145 5.2.7 HPDATA without Address List............................................. 146 5.2.8 HPDATA with Address List.................................................. 147 5.2.9 EXTPAK (External Packet)................................................... 148 5.3 DTESERV........................................................................................ 149 5.3.1 General................................................................................... 149 5.3.2 LOGINREQ (Login Request)................................................ 150 5.3.3 LOGINGRA (Login Request Granted) ................................. 151 5.3.4 LOGINREF (Login Request Refused) .................................. 153 5.3.5 LOGOUT ............................................................................... 154 5.3.6 LOGOUTORD (Logout Order) ............................................. 155 5.3.7 BORN .................................................................................... 156 5.3.8 ACTIVE................................................................................. 157 5.3.9 INACTIVE ............................................................................ 158 5.3.10 DIE......................................................................................... 159 5.3.11 LIVE (the Terminal may Send Packets again) ...................... 160 5.3.12 ROAMORD ........................................................................... 161 5.3.13 ROAM ................................................................................... 162 5.3.14 GROUPLIST ......................................................................... 162 5.3.15 FLEXREQ ............................................................................. 164 5.3.16 FLEXLIST (List of Personal Subscriptions Logged in at the Mobile Terminal) ............................................................. 165 5.3.17 INFOREQ .............................................................................. 167 5.3.18 INFO ...................................................................................... 168 5.3.19 TIME (Time Information) ..................................................... 170 5.3.20 AREALIST ............................................................................ 171 5.3.21 ESNREQ (Electronic Serial Number Requested).................. 173 5.3.22 ESNINFO .............................................................................. 174 5.3.23 MODE (Change of Operating Mode) .................................... 175 5.3.24 LOWPOWER ........................................................................ 176 5.4 Converted Packets............................................................................ 182 6 Mobitex Dialogues ..................................................................................... 183 6.1 Signal Flow Between Radio Modem and PC................................... 183 6.1.1 General................................................................................... 183 6.1.2 MPAKs .................................................................................. 183
6.1.3 Flow of Control Frames......................................................... 187 6.1.4 Flow of Information Frames .................................................. 192 6.2 Dialogues, Mobile Terminal to Network ......................................... 196 6.2.1 General................................................................................... 196 6.2.2 Groups of Dialogues .............................................................. 197 6.2.3 Internal Traffic Without Address List ................................... 197 6.2.4 Internal Traffic With Address List ........................................ 200 6.2.5 Internal Traffic to Groups ...................................................... 203 6.2.6 External Traffic...................................................................... 203 6.2.7 Login...................................................................................... 204 6.2.8 Logout.................................................................................... 205 6.2.9 Activation .............................................................................. 205 6.2.10 Deactivation ........................................................................... 206 6.2.11 Inhibit User Traffic ................................................................ 207 6.2.12 Resume User Traffic.............................................................. 207 6.2.13 Updating Grouplist ................................................................ 208 6.2.14 Mode Information .................................................................. 208 6.2.15 Time Information................................................................... 208 7 Important Mobitex Functions ..................................................................... 210 7.1 Subscribers and Subscriptions ......................................................... 210 7.1.1 Mobile Terminal Subscription ............................................... 210 7.1.2 Personal Subscriptions........................................................... 210 7.1.3 Group Subscriptions .............................................................. 211 7.2 Extended Battery Saving Protocol ................................................... 211 7.2.1 Protocol Revision................................................................... 211 7.2.2 Extended Stand-By Mode...................................................... 211 7.2.3 Deep Sleep Inhibit ................................................................. 212 7.2.4 Sorting of the MANs Broadcasted in <SVP5> and <SVP6> Frames..................................................................... 212 7.2.5 Possibility for Quicker Return to Stand-By Mode for Portable Radio Modems ........................................................ 212 7.2.6 Multiple <ACK> and <ATD> Frames .................................. 213 7.2.7 <SBF_ACK> Frame .............................................................. 213 7.2.8 Roaming Criteria ................................................................... 213 7.2.9 Synchronization with the Network for Portable Radio Modems ................................................................................. 214 7.2.10 Radio Modem Response to a <SVP5> Frame ....................... 215 8 Glossary...................................................................................................... 216
Uurprsuvqprhriwrprvvvuvprqrpvrqtrvruqytqrvthqhshpvt @vpuhyyuhryvhivyvshrqhhtrshxvqryvtsurrsuvqpr
6 (217)
,QWURGXFWLRQ
This programmers manual is written for anyone who intends to develop applications for use with radio modems. The manual describes the Mobitex Asynchronous Communication (MASC) protocol for data transfer between PCs and radio modems. The manual also describes the different data packets (MPAKs) that are used in the Mobitex network, as well as the dialogues used in Mobitex network communication.
5DGLR 0RGHP
A radio modem that operates on the Mobitex network acts as a link between a data terminal and the network. There are various different versions of radio modems. The versions differ in appearance as they are each designed for use in a specific environment. The hardware interfaces, and how you turn the modem on or off, also differ. These differences are described in the Interface Description, which is available for each particular radio modem type.
0RELWH[
Mobitex (Figure 1) is a wireless, packet-switched, datacom network. The network consists mainly of exchanges, radio base stations, fixed terminals and mobile terminals. A fixed terminal is connected to the network by landline facilities. A mobile terminal is a piece of data equipment, often a portable PC or a data terminal, that is connected to a radio modem. The radio modem transmits data from the data terminal to the nearest radio base station. The radio base station directs the data to the addressed terminal, either by itself or via exchanges, depending on whether the addressed terminal is close to it, or far away.
7 (217)
)LJXUH
'DWD 7HUPLQDO
The data terminal, that is used with a Mobitex mobile terminal, is referred to as the PC in this manual. It may be any personal computer, or any other device that is capable of communicating with a modem.
8 (217)
)LJXUH
&RPPXQLFDWLRQ RYHUYLHZ DFFRUGLQJ WR WKH 26, PRGHO 7KH VKDGHG DUHDV UHSUHVHQW WKH SDUWV GHVFULEHG LQ WKLV PDQXDO
0$6& )UDPHV
The information sent between a PC and a radio modem takes the form of frames, defined in accordance with the MASC interface.
03$.V
A Mobitex Packet, or MPAK, is the primary data communication unit used in Mobitex networks. Text, status or data information to be transferred between different Mobitex terminals are included in MPAKs, together with other information necessary for switching the packets, for example, addressee and sender. Certain MPAKs contain information used for communication between the Mobitex system and the terminals (mobile and fixed).
9 (217)
3K\VLFDO ,QWHUIDFH
Radio modems that use the MASC protocol for modem control come in several different physical designs. All of them share the same physical interface, namely the standard RS232/V.24. Some models may lack the usual RS232 connector, but they will have a similar function built into the interface. Please refer to the Interface Description for the radio modem that you intend to use, for details pertaining to the physical interface.
In the radio modem, the transmission speed can be set by sending an F X-frame, see ) ; &KDQJH 0$6& &RPPXQLFDWLRQ 3DUDPHWHUV.
,QWHUIDFH 6LJQDOV
The communication port of the radio modem includes a limited number of CCITT V.24 signals.The following table shows the V.24 signals and their usage:
6LJQDO
RxD TxD DTR
8VDJH
Radio modem data output to the PC Radio modem data input from the PC a. An active signal from the PC to this line forces a turned-off radio modem into the power-on state. b. RS232/V.24 DTR functionality The radio modem activates this signal to denote that it is turned on. The PCs software must activate this signal when it is ready to send data. This signal is activated by the radio modems software when it is ready to receive data from the PC. The radio modem activates this signal when it has data to be transferred to the PC, if the RTS signal from the PC is inactive. The signal can be used to activate a PC in stand-by mode.
10 (217)
In some models of the radio modem, the interface may also include other signals, whose function is described in the Interface Description for the individual type of radio modem.
3RZHU 0DQDJHPHQW
For specific power on/off procedures outside of those described below, please refer to the Interface Description that applies to the individual type of the radio modem.
3RZHU 2Q
Power is turned on by raising the DTR-signal in the physical interface. This is usually the case when any communication software is started.
3RZHU 2II
Power is turned off by sending an F O-frame to the radio modem from the PC. Please refer to ) 2 3UHSDUH WR &ORVH 'RZQ WKH 5DGLR 0RGHP for further information.
11 (217)
3URWRFRO
The MASC interface is designed for connecting a PC to a radio modem. The PC must be capable of handling complete data packets (MPAKs). Information is transferred between the PC and the radio modem in the form of frames, as described in this chapter. Special commands of the MASC protocol are used for the control of the complete radio modem.
12 (217)
)UDPH 6WUXFWXUH
There are two types of frames: LQIRUPDWLRQ and FRQWURO IUDPHV. Information frames are used to transfer commands and other information. Control frames are used to control the information frame flow.
7H[W &RQYHQWLRQV
The following conventions are used in the figures describing the contents of frames: Lower case letters are used to show characters or character combinations, text or data, further described below the figure. UPPER CASE LETTERS are used where a specific letter or letter combination is to be used. SP always denotes the space character (hexadecimal 20). CR always denotes the carriage return character (hexadecimal 0D)
All characters as well as single digits or punctuation marks are inserted in the frames as ASCII-coded characters. See descriptions in connection with each frame.
&RQWURO )UDPHV
The MASC protocol consists of the following control frames: ACK NACK RACK SENS SACK Acknowledgement for an accurately received information frame. Negative acknowledgement, an inaccurately received information frame. Request for transmission of the previous ACK. Link layer control. SENS acknowledgement.
13 (217)
start 1
type 1
sequ 0-1
end 1
)LJXUH
7KH FRQWURO IUDPHV DUH GLYLGHG LQWR ILHOGV LQ DFFRUGDQFH ZLWK WKH ILJXUH WKH ILHOG OHQJWK LQ QXPEHU RI E\WHV LV VWDWHG EHORZ HDFK ILHOG
,QIRUPDWLRQ )UDPHV
The information frames are divided into the following fields:
start 1
)LJXUH
length 4
text 1-256
std 1
data 0-1120
check 2
end 1
5/2882-AE/123 778/1 A
1RWH
The text field of a frame contains information concerning the use of the frame such as commands and parameters. Text and data to be transferred between different Mobitex terminals are always contained within the data field.
'HVFULSWLRQ RI )LHOGV
)LHOG
start
'HVFULSWLRQ
The start of a frame is denoted by the ASCII circumflex character (^, hexadecimal 5E). All characters received before the start character should be ignored. The size of the frame (number of bytes) should be written in this field with the ASCII codes of four hexadecimal digits. The least significant digit should always be written in byte 4. The size of the frame contains all bytes including the starting and ending characters. Characters permitted in the length field are: 0-9, A-F.
length
14 (217)
)LHOG
text
'HVFULSWLRQ
The text field contains the frame-significant command and its parameters. The text field consists of at least one character and a maximum of 256 characters coded as per international ASCII standard, ISO 646. Numeric information, for example command parameters, are always to be given as the ASCII codes of the corresponding hexadecimal digits 0-F. Characters permitted in the text field are: all between space (SP, hexadecimal 20) and brace (}, hexadecimal 7D), except for the std (:, hexadecimal 3A) and start (^, hexadecimal 5E) characters. Start data. The text and data fields are separated by the colon character (:, hexadecimal 3A). std must be stated even if the data field is empty. The data field consists of data. The data field is coded in hexadecimal code so that transparent data can be sent. Each byte of data to be sent is divided into half-bytes of four bits each. Each of these four-bit groups is then represented in the data field by the ASCII code of the corresponding hexadecimal digit 0-F. Thus, each input byte is represented by two characters (bytes) in the data field. See )LJXUH . The data field consists of a maximum of 1,120 characters. Permitted characters of the data field are: 0-9, A-F. A longitudinal checksum is calculated, by performing a Boolean exclusive OR operation on all characters starting with the startcharacter and ending with the last character before the check field. The check field consists of two ASCII-coded hexadecimal digits with the least significant digit in byte no. two. Characters permitted for the check field are: 0-9, A-F. The frame is terminated with the carriage return character (CR, hexadecimal 0D). A frame which is not ended with the endcharacter is ignored. The type of control frame is stated with one character. The characters used are: * (hexadecimal 2A), ? (hexadecimal 3F), ! (hexadecimal 21), # (hexadecimal 23) or & (hexadecimal 26). The sequence number for ACK frames. The sequence number is one of the characters 0 (hexadecimal 30), 1 (hexadecimal 31) or (minus sign, hexadecimal 2D).
std
data
check
end
type
sequ
15 (217)
8 0
7 1
6 0
5 0
4 1
3 1
2 1
1 0
6/2882-AE/LZT 123 778/1 A
hexadecimal: 4 Each single byte of the MPAK is converted to two bytes in MASC: P=parity bit
)LJXUH
hexadecimal: E E=ASCII 45 H
P 1 0 0 0 1 0 1 45 H
4=ASCII 34 H
P 0 1 1 0 1 0 0 34 H
$&. $FNQRZOHGJHPHQW
ACK is sent to acknowledge an accurately received information frame. An accurate information frame must comply with the following: Starts with character (^). Contains one colon (:). The fields FKHFN and OHQJWK have the accurate values. Only permitted characters exist in the WH[W and GDWD fields. No character with parity error exists. The maximum number of characters has not been exceeded in any individual field or in the complete frame. Ends with the end character (CR).
16 (217)
1
)LJXUH
*
1
sequ CR 1 1
For each frame sent, the field sequ (sequence number) should alternate between the ASCII character 0 and the ASCII character 1, except when the latest ACK on a RACK request is repeated. In that case, the last value used is sent again. The first time an ACK is sent, sequ should be the character 0. If a RACK is received before any ACK has been sent, the field sequ should contain the - (minus sign) character. sequ with the value of - (minus) is only used when the RACK is received prior to ACK being sent for the first time.
?
1
)LJXUH 6WUXFWXUH RI WKH 1$&. IUDPH
CR 1
17 (217)
Should the criteria for sending ACK or NACK not be fulfilled, no reply will be given. The frame will then be repeated by the time-out function in the sending unit.
1RWH
If the receiving unit cannot handle the incoming data flow, NACK may be used to limit the flow.
!
1
)LJXUH 6WUXFWXUH RI WKH 5$&. IUDPH
CR 1
If no ACK is received within 10 seconds after an information frame has been sent, a RACK is to be sent. The unit receiving the RACK must reply by repeating the last sent ACK. The repeated ACK must contain the last sequence number (sequ) used.
#
1
)LJXUH 6WUXFWXUH RI WKH 6(16 IUDPH
CR 1
SENS is used to check the communication link when there is no traffic. The sender decides when SENS will be sent. The time between two SENS frames should be at least 10 seconds. When a SENS is sent, a reply (SACK) will be received within 10 seconds. If no reply is received within 10 seconds, a new SENS will be sent. When two SENS have been sent and no reply is received or no information frame has been accurately transmitted, the communication link is considered to be broken. A restart must be done by sending an INIT frame. The restart will be initiated by the unit that sent the SENS. If SACK is received and no SENS has been sent, the SACK will be ignored.
18 (217)
& CR
1
)LJXUH 6WUXFWXUH RI WKH 6(16 IUDPH
'HVFULSWLRQ
Parameters for the MASC 1 protocol Route received MPAKs from Mobitex network to an output Error command or function Send/receive MPAK by radio Return of MPAK not sent Return of incorrect MPAK The PC sends an MPAK to a specified output port of the radio modem F-Commands, System Control Power save mode function Change to Mobitex operation mode Contact with the Mobitex network No contact with the Mobitex network MPAK sent by radio to the network Cancel previous transmission of MPAK
19 (217)
1DPH
FJ FK FL FM FN FO FP FQ FR FS FT FU FW FX FY FZ F 01 F 02 F 03 F 04 QA01 QA02 QA03 F! P PA01 PA02 PA03 PA04 PA05 PA06 PA07
'HVFULSWLRQ
Print out current MANs from terminal Error message Activate external call indication Transmitter on/off Change to MANUAL RADIO mode Prepare to close down the radio modem Terminal MAN request/answer MASC device identity Change network identification Change of traffic area Change TEMP_DEFAULT_LIST Power control of separate radio transceiver module Configuration of CCITT-V.24 RLSD (DCD) signal Change MASC communication parameters Battery saving mode control Product information request/answer Request/List network contact status Request/List subscription information Change network request/reply Mobitex Time Packet Filter Request/List AREA LIST information (8 kbps only) Request/List roaming parameters (8 kbps only) Request/reply radio modem locking to specific up and down channel numbers Change operation mode P-Command, Request/List Parameters Request/List radio parameters Request/List identity parameters Request/List channel parameters Request/List power control parameters Request/List roaming parameters Request/List test parameters Request/List battery saving protocol parameters
20 (217)
1DPH
PA09 PA10 K KA
'HVFULSWLRQ
Request/Reply INVALID_LIST parameters Setting the MODE/SKIPNUM parameters Receive/Transmit Frequency Number Set/Receive transmit frequency band and numbers
In the following pages, the frames are described in the same order as they are listed above.
1RWH
In the following description, only the text and data fields of the frames are described.
The contents of the remaining fields are described in the Frame structure of this chapter.
21 (217)
length B
SP len
int
check CR
PC B
)LJXUH 'LUHFWLRQ RI WKH %FRPPDQG
Radio modem
len
is a 3-digit ASCII-coded hexadecimal number which sets the maximum length of an information frame. Always set this field to the maximum possible frame size, i.e., hexadecimal 47E (1150 decimal). len and int are separated by a , (comma). is a 4-digit ASCII-coded hexadecimal number which sets the shortest time between two consecutive information frames. The value is given in 10 ms increments. If the value is not specified, the current timing value has to be used. The default value is 0 (zero, hexadecimal 30).
, int
The default values are used until a B-command has been received. A B-command should be the first frame sent after start-up.
22 (217)
After receiving a B-command, the protocol should send a start_of_line signal to a higher protocol, to make clear that the connection is established and that the start sequence can follow. Start_of_line signal is an internal signal between the link layer and higher layer.
23 (217)
This command is only required in radio modems with more than one communication port.
D 1
)LJXUH
SP 1
MAN 6
, 1
UTG 1
, 1
TYP 1
, 1
SET 1
PC D
)LJXUH 'LUHFWLRQ RI WKH 'FRPPDQG
Radio modem
MAN
is a 6 digit ASCII coded hexadecimal number stating the MAN for which MPAKs are to be routed to output UTG. The MAN must be one of the possible MANs of the terminal (terminal MAN, group MAN or personal MAN). is a single digit ASCII coded hexadecimal number stating the output to which received MPAKs are to be routed. is a single digit ASCII coded hexadecimal number stating the type of MPAK which is to be routed to UTG. sets/resets these parameters.
UTG
TYP SET
362/LZE401133,R1
24 (217)
UTG and TYP to be used as follows: UTG = 0 1 3 4 5 6 7 8 9 TYP = 0 1 2 3 5 6 7 8 9 SET = 0 1 default output printer alert terminal device: 1 (MASC protocol) terminal device: 2 terminal device: 3 terminal device: 4 terminal device: 5 terminal device: 6 no types (reset all) text data status alert all types except alert extpak hpdata dteserv set these parameters reset these parameters
After receiving the D-command, the radio modem will route incoming MPAKs (from the Mobitex network) of the specified type which are intended for the specified MAN to the function block which handles the communication (formatting etc.) for the specified output. Thus it is possible to route MPAKs to several outputs, that is, to both printer and terminal. When receiving a D-command with UTG = default output, the radio modem resets all earlier D-commands for the specified MAN and specified TYP. If, for example, the TYP is DOO W\SHV, all earlier D-commands concerning this specified MAN are reset and all types are sent to default output connection. If TYP is QR W\SHV, then all types is reset for this MAN and UTG. It is possible to set or reset an earlier D-command, using the parameter set or reset.
25 (217)
The radio modem is responsible for removing the personal subscriptions from both the flexlist (network layer) and the routing table. This is done when the PC sends a logout. When the power is switched on, the radio modem sets up default outputs, that is, text, data and status to terminals. All MPAK:DTESERV are routed to output, where terminal MAN is located (may be more than one).
26 (217)
Example: PC
E
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG DQG GLUHFWLRQ RI WKH (FRPPDQG
The data field may be used to send information about the error. This data field is a free format field with the limitations of the data field in the physical frame. The E-command data field can be used by an application. The E-command indicates that the previously received command or function cannot be executed. (Command or function is not implemented by the receiving unit or included parameters are not accepted).
1RWH
Refer to FKDSWHU 1HWZRUN 6WDWXV DQG (UURU 0HVVDJHV, for other error messages.
27 (217)
M 1
SP sequ-id
indicates that a sequence number identity is added. If there is no SP then there is no sequ-id. is a 1-digit ASCII-coded decimal number between 0 and 9. This sequence number is the identity of the MPAK.
MPAK
)LJXUH 6WUXFWXUH RI WKH 0FRPPDQG GDWD ILHOG
1RWH
A description of the different MPAKs can be found in FKDSWHU 03$. 3URWRFRO 'HVFULSWLRQ 3DFNHW )RUPDWV.
364/LZE401133,R1
PC M
Radio modem
FH
)LJXUH
28 (217)
MPAK received via the radio path, are sent over the interface to the PC with the Mcommand (MAN is included in MPAK). The sequence number is not used in this Mcommand
M8
F H8
)LJXUH 'LUHFWLRQ RI 0FRPPDQG ZLWK VHTXHQFH QXPEHU
The radio modem receiving the M-command sends MPAK via the radio path to the network. If the M-command contains a sequence number, the command F H indicating sent to Mobitex network is sent to the PC, together with the sequence number. Returned MPAK should also indicate sequence number. The received MPAK (to be sent via the radio path) should be a permitted MPAK containing valid information in the MPAK head and MPAK length (sender, trafstate, class, packet type, size of MPAK).
PC
Radio modem
29 (217)
N 1 N 1
)LJXUH
SP
indicates that an error code and/or a sequence number is added. If there is no SP then there is no error code or sequence number. is a 2-digit ASCII coded hexadecimal number between 00 and FF. Error codes are described in 1HWZRUN 6WDWXV DQG (UURU 0HVVDJHV. is a 1-digit ASCII coded decimal number between 0-9. This sequence number is an identity of the MPAK.
err-code
sequ-id
MPAK
)LJXUH 6WUXFWXUH RI WKH GDWD ILHOG IRU WKH 1FRPPDQG
1RWH
A description of the different MPAKs can be found in FKDSWHU 03$. 3URWRFRO 'HVFULSWLRQ 3DFNHW )RUPDWV.
364/LZE401133,R1
30 (217)
PC M F KE0 N
)LJXUH
Radio modem
If no sequence number is used, the radio modem has to send an F K-command containing the appropriate error code, followed by the returned packet in an Nframe. The N-command indicates to the PC that the MPAK has not been sent by radio (communication failure or transmission interrupted by F O- or F I-command). The radio modem can indicate the reason for not sending the MPAK over the radio, by adding the error code.
PC M3 N ,3
Radio modem
)LJXUH
If a sequence number (sequ-id) is indicated in the M-frame, then this sequence number should also be in the N-frame.
PC M8 N 13,8
)LJXUH
Radio modem
31 (217)
When a sequence number is used in the M-frame, the radio modem will only return the packet in an N-frame containing the appropriate error code and sequence number. If no error code or sequence number is valid, this parameter is not added.
If an R-command is received and no fault is found, the receiving unit is supposed to carry out a restart by sending an INIT frame or a B-command.
R 1 R 1
)LJXUH
SP
indicates that an error code and a sequence number are added. If there is no SP then there is no error code or sequence number. is a 2-digit ASCII coded hexadecimal number between 00 and FF. Error codes are described in FKDSWHU 1HWZRUN 6WDWXV DQG (UURU 0HVVDJHV. is a 1-digit ASCII coded decimal number between 0-9. This sequence number is an identity of the MPAK.
err-code
sequ-id
If no sequence number is used, the radio modem will send an F K-command containing the appropriate error code, followed by the returned packet in an R-frame.
MPAK
)LJXUH 6WUXFWXUH RI WKH GDWD ILHOG IRU WKH 5FRPPDQG
364/LZE401133,R1
32 (217)
PC M F K55 R
)LJXUH
Radio modem
The radio modem uses the R-command to return an MPAK which was received with the M-command and which does not comply with the format and the rules set by the network and link layers of Mobitex terminals. The radio modem can indicate the reason for not accepting the MPAK by adding the error code.
PC M3 R ,3
)LJXUH
Radio modem
PC M8 R 18,8
)LJXUH
Radio modem
When a sequence number (sequ-id) is used in the M-frame, the radio modem will only return the packet in an R-frame containing the appropriate error code and sequence number.
33 (217)
6FRPPDQG 7KH 3& VHQGV DQ 03$. WR D VSHFLILHG RXWSXW SRUW RI WKH UDGLR PRGHP
Direction: PC to Radio modem
This command is only required in radio modems with more than one communication port.
S 1
)LJXUH
SP 1
UTG 1
363/LZE401133,R1 364/LZE401133,R1
MPAK
)LJXUH 6WUXFWXUH RI WKH GDWD ILHOG IRU WKH 6FRPPDQG
PC S
)LJXUH 'LUHFWLRQ RI WKH 6FRPPDQG
Radio modem
UTG
is a single digit ASCII coded hexadecimal number which states to which output MPAK is to be sent.
When receiving the S-command, the radio modem sends MPAK to the output stated by UTG.
34 (217)
The parameter UTG is to be used as follows: UTG = 0 1 3 4 5 6 7 8 9 A B C D E F printer, without printing the MPAK-head direct to default output printer alert terminal device: 1 (MASC protocol) terminal device: 2 terminal device: 3 terminal device: 4 terminal device: 5 terminal device: 6
1RWH
When the parameter UTG = F, the data field consists of printable information except the MPAK-head. The printer should ignore the MPAK-head, this means that the information starts in byte 12.
35 (217)
F 1
)LJXUH
SP 1
listofparameters >=1
The data field is used only in the F T and F # commands with lists of channel numbers and short numbers. The list of parameters is composed by the second ASCII character (following the space SP) defining the function, plus a sequence of optional parameters in ASCII code as shown below.
1.For a description of the power saving mode, see FKDSWHU ,PSRUWDQW 0RELWH[ )XQFWLRQV.
387/LZE401133,R1
36 (217)
F 1
)LJXUH
SP A function 1 1 2
6WUXFWXUH RI WKH WH[W ILHOG LQ WKH ) $IUDPH IURP WKH 3& WR WKH UDGLR PRGHP
'HVFULSWLRQ
Request of Power saving mode information Request Roaming value Request radio modem battery level of a non-integrated product, or whole radio modem battery level of an integrated product Request of external battery status Request radio transceiver battery level (only used in non-integrated products with separate radio modem and radio transceiver)
The roaming value is the average received signal strength indication in the radio modems radio receiver.
1RWH
To change the power saving mode, an M-frame including the MODE MPAK or the F Y-command must be used.
F 1
SP A function , 1 1 2 1
parameter 2
)LJXUH
6WUXFWXUH RI WKH ) $IUDPH WH[W ILHOG IURP WKH UDGLR PRGHP WR WKH 3& 7KH GDWD ILHOG LV HPSW\
37 (217)
'HVFULSWLRQ
Power saving mode information Roaming value
3DUDPHWHU
01 = Normal mode 02 = Power saving mode RSSI average value, as an ASCII coded hexadecimal number. 00-FF in dBPV emf units. Radio modem battery value, as an ASCII coded hexadecimal number 00-64, equals 0 to 100% of full battery indication. If the product does not use an internal battery, number 64 should be returned. External battery value, as an ASCII coded hexadecimal number 00-64, equals 0 to 100% of full battery indication. Radio transceiver battery value, as an ASCII coded hexadecimal number 00-64, equals 0 to 100% of full battery indication.
03
04
05
1RWH
The radio modem inform the PC, with an F A01 indication whenever the radio has changed operating mode.
PC F A01,01
)LJXUH 3URWRFRO LQIRUPDWLRQ IURP WKH UDGLR PRGHP
Radio modem
PC F A02
Radio modem
F A02,03
)LJXUH 5HTXHVW 566, YDOXH IURP WKH UDGLR PRGHP
38 (217)
PC F A03
Radio modem
F A03,4B
)LJXUH 5HTXHVW EDWWHU\ FKDUJH OHYHO IURP WKH UDGLR PRGHP
F
1
SP
1
B
1
)LJXUH
PC FB
Radio modem
)LJXUH
39 (217)
F
1
)LJXUH
SP
1
F
1
PC FF
)LJXUH 'LUHFWLRQ RI WKH ) )IUDPH
Radio modem
40 (217)
The radio modem has no contact with the Mobitex network and is trying to establish contact again (roaming procedure started).
F 1
)LJXUH
SP G
1 1
PC FG
)LJXUH 'LUHFWLRQ RI WKH ) *IUDPH
Radio modem
41 (217)
F 1 F 1
)LJXUH
SP 1 SP 1
H 1 H 1 sequ_id 1
sequ_id
PC FH
)LJXUH 'LUHFWLRQ RI WKH ) +IUDPH
Radio modem
PC F H7
)LJXUH
Radio modem
The radio modem informs that MPAK has been sent to the network. The parameter sequ-id is added if sequ-id was included in the M-command.
42 (217)
F 1
)LJXUH
SP
1
I 1
PC FI F K62 N
)LJXUH 'LUHFWLRQ RI WKH ) ,IUDPH
Radio modem
40/2882-AE/LZT 123 778/1 A
Previously activated transmission of MPAK is cancelled. The MPAK is to be returned to the terminal by an N-command. If this command is sent from the PC after the radio modem has transmitted the MPAK to the network, the radio modem will answer with either an N-command (not acknowledged by the Mobitex network) or an F H-command (accepted by the network). If this command is sent from the PC and there are no MPAKs in the transmit buffer, the radio modem will respond with an F H-command. If no MPAK has been sent to the radio modem and the application sends an F Icommand the response from the radio modem should be F H.
43 (217)
Print current MANs in terminal on printer (terminal subscription MAN, group MANs (group_list) and personal subscription MANs (flex_list) in that order. The F K-command may sporadically be sent from the radio modem to the PC on detection of errors.
F
1
SP
1
J
1
)LJXUH
PC FJ
)LJXUH 'LUHFWLRQ RI WKH ) -IUDPH
Radio modem
44 (217)
Error message where code is the error number in ASCII coded hexadecimal digits 00 - FF (0-255).
F 1
)LJXUH
SP K 1 1
code 2
6WUXFWXUH RI WKH WH[W ILHOG IRU WKH ) .FRPPDQG IURP WKH UDGLR PRGHP WR WKH 3& 7KH GDWD ILHOG LV HPSW\
code
The error codes are listed in 1HWZRUN 6WDWXV DQG (UURU 0HVVDJHV.
PC F K01
)LJXUH 'LUHFWLRQ RI WKH ) .FRPPDQG
Radio modem
1RWH
The F K-command is used when it is not possible to return the error code in the N-command.
45 (217)
F
1
SP
1
L
1
)LJXUH
PC FL
)LJXUH 'LUHFWLRQ RI WKH ) /FRPPDQG
Radio modem
PC to Radio modem x
'HVFULSWLRQ
46 (217)
F SP M 1
)LJXUH
x 1
PC F M0
)LJXUH 'LUHFWLRQ RI WKH ) 0FRPPDQG
Radio modem
1RWH
When the radio modems transmitter is turned off, the radio modem, if required, will follow the same roaming algorithm and select the best base station. However, the radio modem will not attempt to transmit either ROAM or ACTIVE, or any other packets, when a cell change is performed. When the radio modem transmitter is inhibited the radio modem has to discard received M-frames from the network and must not present them to the PC, except when the M-frames are addressed to a group subscription MAN or the all terminals group MAN. Packets received from the PC during transmitter off has to be returned to the PC in an N-frame with the error code set to F8. When the radio transmitter is turned on again, it will transmit either an ACTIVE or ROAM packet to the network, as described in the roaming algorithm. The state of the transmitter will be stored at power down.
47 (217)
The radio modem sends an INACTIVE packet to the network. This command is used to deactivate a radio modem in the Mobitex network when changing to an other radio mode.
F
1
SP
1
N
1
)LJXUH
PC FN
)LJXUH 'LUHFWLRQ RI WKH ) 1FRPPDQG
Radio modem
48 (217)
F SP O 1
)LJXUH
PC FO F K62 N FO
Radio modem
Power off
)LJXUH 'LUHFWLRQ RI WKH ) 2FRPPDQG
49 (217)
PC FO N 62,8 N 62,9 FO
Radio modem
Power off
)LJXUH 'LUHFWLRQ RI WKH ) 2FRPPDQG
)URP WKH WHUPLQDO Command to prepare closing down (switching off) the radio modem The radio modem clears buffers of stored MPAKs. An MPAK currently being transmitted to the network will be completed. All other MPAKs will be returned to the terminal via the N-command. If there is no contact with the network, MPAKs to the network are returned by the N-command. The radio modem will store its network layer parameters, i.e., DIE/ LIVE state, GROUPLIST, FLEXLIST, AREALIST. Then the radio modem sends an INACTIVE packet to the network. Finally the radio modem confirms that its buffers are empty by sending an F O-command to the terminal. )URP WKH UDGLR PRGHP: The radio modems buffers are empty and the modem is powered down.
1RWH
If more than one device is connected, the F O-command from the radio modem should be sent to all devices.
50 (217)
F 1
)LJXUH
SP
1
P 1
6WUXFWXUH RI WKH ) 3IUDPH WH[W ILHOG IURP WKH 3& WR WKH UDGLR PRGHP 7KH GDWD ILHOG LV HPSW\
F 1
)LJXUH
SP P 1 1
xxxxxx 6
6WUXFWXUH RI WKH ) 3IUDPH WH[W ILHOG IURP WKH UDGLR PRGHP WR WKH 3& 7KH GDWD ILHOG LV HPSW\
FP
Request from the terminal subscription MAN. When the F P-command is sent during the initialization process, the radio modem will return the F Q-command, followed by the GROUPLIST and FLEXLIST. When the F P-command is sent any time, but not during the initialization process, the radio modem will only return the appropriate MAN response. Terminal subscription MAN from the radio modem to terminal as response to the request. xxxxxx is the MAN as a 6 digit ASCII coded hexadecimal number.
F Pxxxxxx
51 (217)
Example: PC
Radio modem FP
F P019968
)LJXUH 'LUHFWLRQ RI WKH ) 3IUDPH
At start-up, after responding on the F P request by sending F Pxxxxxx, the radio modem may spontaneously inform the application about, for example, MASC device identity, GROUPLIST, FLEXLIST etc.
52 (217)
F 1
)LJXUH
SP Q 1 1
MCU 3
PC F QMCU
)LJXUH 'LUHFWLRQ RI WKH ) 4FRPPDQG
Radio modem
Type of device handling the MASC protocol. F Q (MASC_DEVICE) is information to other units connected to this MASC interface. xxx = MCU xxx = MOX
53 (217)
F 1
)LJXUH
SP R 1 1
xxxx 4
, 1
yyyy 4
6WUXFWXUH RI WKH WH[W ILHOG IRU WKH ) 5FRPPDQG 7KH GDWD ILHOG LV HPSW\
xxxx yyyy
is new network_ID for mobile tx in ASCII coded hexadecimal number is new network_ID for mobile rx in ASCII coded hexadecimal number
PC F R0123,4567
)LJXUH 'LUHFWLRQ RI WKH ) 5FRPPDQG
Radio modem
1RWH
The F R-command is to be used to indicate a change of network ID. If more than one set of parameters is prestored with the same network ID or the network ID cannot be recognised by the radio modem, the radio modem will invoke a standard list of parameters and channels if available. If the standard list is not available, the last set of parameters will be used.
54 (217)
F 1
)LJXUH
SP S 1 1
outside 1
, 1
command 1
6WUXFWXUH RI WKH WH[W ILHOG IRU WKH ) 6FRPPDQG 7KH GDWD ILHOG LV HPSW\
PC F S0,0
)LJXUH 'LUHFWLRQ RI WKH ) 6FRPPDQG
Radio modem
Indication given by the radio modem when the modem enters or leaves subscribed traffic area. At start-up the radio modem has to indicate: F S0,0 When entering a subscribed traffic area and the mobile terminal is only allowed to access subscribed traffic areas. When entering a subscribed traffic area, the mobile terminal is allowed to access all traffic areas, but may be charged a different fee when outside the subscribed traffic areas. When no subscribed traffic area is available and the mobile terminal is only allowed to access subscribed traffic areas. When no subscribed traffic area is available and the mobile terminal is allowed to access all traffic areas, but may be charged a different fee when outside the subscribed traffic areas.
F S0,1
F S1,0
F S1,1
55 (217)
During continuous operation, the F S indication will be sent when there is a change in the traffic area status, that is, when changing between two subscribed traffic areas F S will not be indicated.
1RWH
No F S indication will be sent when the modem goes in or out of coverage on the same base station. The mobile terminal has entered a subscribed traffic area. The mobile terminal has left a subscribed traffic area. See definition of AREALIST in $5($/,67
The PC cannot request the status of the valid area. The F S1,x response will only be used for actions where the radio modem actually roams out of a subscribed traffic area (for example, the case where the AREALIST of the radio modem is restricted). An out-of-coverage condition should not initiate an F S1,x since there is no traffic area change. The F S1,x will be used each time the radio modem sends an F F-command, or does a seamless roaming into a new traffic area. The F S-command value will match the AREALIST of the radio modem command value. The default value is 1.
56 (217)
This command is used to initiate, activate and deactivate the temporary default list in the radio modem.
F 1
)LJXUH
SP 1
T 1
tnum 2
, 1
num 2
, 1
M 1
Channels
1 8perchannelpair
tnum
Total number of channel pairs in the temporary default list. If tnum is zero, inactivate and delete the temporary default list and return to the default list. Number of channel pairs defined in this command (num =tnum). 0= No more channels are defined in the next command. If tnum>0 the use of the temporary default list is activated. 1= Not used. 2= The temporary default list is used as a replacement for the default list. If more channels are to follow in the subsequent F T-commands, each subsequent F Tcommand will have the same M value (i.e. M=2). 3= The temporary default list is used in addition to the default list. If more channels are to follow in the subsequent F T-commands, each subsequent F Tcommand will have the same M value (i.e. M=3). Channels in the list are given in pairs and in order of upchannel and down-channel (no comma between two consecutive channels). Channels are only defined when M=2 or M=3.
num M
Channels
537/LZE401133,R2
57 (217)
PC F TA0,10,1
)LJXUH
Radio modem
PC F T00,00,0
)LJXUH
Radio modem
The scanning mode of the channel lists can be set up in two ways. The temporary default list can either be used in replacement of the default list or it can be used in addition to the default list. An F T-command with M=0 must be supplied to indicate the end of the channel list, regardless of whether num is equal or less than tnum. Parameters tnum, num and M are in ASCII coded hexadecimal digits. The list itself is sent in the data field of the frame. The data field (channels) includes the channel list. Each channel occupies two bytes (four ASCII coded hexadecimal characters). The channels are entered in terms of channel numbers and are ordered as follows: 1 2 3 4 5 Channel #1 upfreq (the frequency used to send to the base station) Channel #1 dofreq (the frequency used to receive from the base station) Channel #2 upfreq Channel #3 dofreq etc. When tnum = 0, both num and M has to be set to zero.
1RWH
58 (217)
Example 1, The temporary default list is initiated. F T03,03,2:01E60E1601E70E1701E80E18 Example 2, The temporary default list is activated. F T,03,00,0 Example 3, The temporary default list is deactivated and deleted. F T,00,00,0
59 (217)
This command is used to request the radio transceiver power ON/OFF(STANDBY) status, and to command the radio transceiver to switch ON or OFF(STANDBY). The F U-command is only used with non-integrated radio modem products (with separate radio transceiver module). 6WDWXV UHTXHVW IURP WKH 3&
F 1
)LJXUH
SP 1
U 1
6WUXFWXUH RI WKH ) 8FRPPDQG WH[W ILHOG LQ UHTXHVW IURP WKH 3& WR WKH UDGLR PRGHP
388/LZE401133,R1
F 1
)LJXUH
SP 1
U 1
TYPE_OF_REPLY(01or02) 2
6WUXFWXUH RI WKH ) 8FRPPDQG WH[W ILHOG LQ UHSO\ IURP WKH UDGLR PRGHP WR WKH 3& 'HVFULSWLRQ
Radio transceiver ON Radio transceiver OFF (STANDBY)
7<3(B2)B5(3/<
01 02
389/LZE401133,R1
60 (217)
F 1
)LJXUH
SP 1
U 1
TYPE_OF_COMMAND(01or02) 2
6WUXFWXUH RI WKH ) 8FRPPDQG WH[W ILHOG LQ D VZLWFK FRPPDQG IURP WKH 3& WR WKH UDGLR PRGHP 'HVFULSWLRQ
To switch radio transceiver ON To switch radio transceiver OFF (STANDBY)
7<3(B2)B&200$1'
01 02
PC
FU F U01
'LUHFWLRQ RI WKH ) 8FRPPDQG
Radio modem
)LJXUH
On the reception of a OFF (STANDBY) state F U-command order from the PC, the RM should send an INACTIVE packet to the network before it turns the radio transceiver module to OFF (STANDBY) state. The RM should send an ACTIVE packet to the network on the reception of an ON F U-command order after the radio transceiver module is turned on.
390/LZE401133,R1
61 (217)
This command is used by the PC to configure the CCITT-V.24 RECEIVE LINE SIGNAL DETECTOR (RLSD) signal also commonly known as DATA CARRIER DETECT (DCD), in the radio modem, and to request the current configuration of the RLSD signal. If the RLSD signal or command is not implemented, the radio modem should send the E-command as a response. &RQILJXUDWLRQ VWDWXV UHTXHVW IURP WKH 3&
F 1
)LJXUH
SP 1
W 1
6WUXFWXUH RI WKH ) :FRPPDQG WH[W ILHOG LQ UHTXHVW IURP WKH 3& WR WKH UDGLR PRGHP
Answer from the radio modem: RLSD signal configuration command from the PC:
479/LZE401133,R1
F 1
)LJXUH
SP 1
W 1
TYPE_OF_CONFIGURATION 2
6WUXFWXUH RI WKH ) :FRPPDQG WH[W ILHOG LQ FRPPDQG IURP WKH UDGLR PRGHP WR WKH 3& 'HVFULSWLRQ
No condition (always asserted) Network coverage status (asserted only when the radio modem is in coverage)
7<3(B2)B&21),*85$7,21
00 01
481/LZE401133,R1
62 (217)
PC
FW F W01
Radio modem
)LJXUH
63 (217)
F 1
)LJXUH
SP X function , parameter 1 1 2 1 2
6WUXFWXUH RI WKH WH[W ILHOG LQ WKH ) ;IUDPH 7KH GDWD ILHOG LV HPSW\
64 (217)
1R
'HVFULSWLRQ
Request to set new bitrate from PC
3DUDPHWHU
01 = 1200 bps 02 = 2400 bps 03 = 4800 bps 04 = 9600 bps
01
01 = 1200 bps
F X01, 04
PC
Radio modem
65 (217)
PC F X01,04
Radio modem
The request bit rate is not accepted by the radio modem, a lower rate is proposed.
F X01,02
F X01,02 F X01,02
)LJXUH
%LWUDWH QHJRWLDWLRQ
The F Y-command is used to change the operating mode of the radio link layer in the radio modem. If the radio modem cannot change to the requested operating mode an F Y-command will be sent back to the PC stating the actual operating mode. This response may not be immediate as the mode change in the radio modem involves communication with the network (sending a Mode packet to the network). If the radio modem is unable to handle the F Y-command, it will send an E frame to the PC. ) <FRPPDQG IURP WKH 3& RUGHU
F 1
)LJXUH
SP 1
Y 1
Mode 2
483/LZE401133,R1
The proposed bit rate is not requested by the PC, accepted by the radio modem.
66 (217)
0RGH
00 01
'HVFULSWLRQ
The radio modem is ordered to change to Normal mode. The radio modem is ordered to change to Battery saving mode
F 1
)LJXUH
SP 1
Y 1
Mode 2
0RGH
00 01
484/LZE401133,R1
PC
F Y01 FY01
'LUHFWLRQ RI WKH ) <IUDPH
Radio modem
)LJXUH
( IUDPH IURP UDGLR PRGHP WR 3& The radio modem is unable to handle the Battery saving protocol or cannot interpret the F Y-command.
67 (217)
This command is used to request the product information from a radio modem. The product information listed here includes software identification, software version and physical serial number. 5HTXHVW IURP WKH 3&
F 1
)LJXUH
SP Z function 1 1 2
6WUXFWXUH RI WKH WH[W ILHOG LQ WKH ) =IUDPH LQ UHTXHVW IURP WKH 3& 'HVFULSWLRQ
Request software identification Request software version Request of physical serial number Request radio information
)XQFWLRQ
01 02 03 04
$QVZHU IURP WKH UDGLR PRGHP The product information field is a variable field used for manufacturer-specific information.
F 1
)LJXUH
6WUXFWXUH RI WKH ) =IUDPH WH[W ILHOG FRQWDLQLQJ VRIWZDUH LQIRUPDWLRQ IURP WKH UDGLR PRGHP WR WKH 3& ) = DQG ) =
68 (217)
)XQFWLRQ
01 02 Software identification Software version
'HVFULSWLRQ
$QVZHU IURP WKH UDGLR PRGHP The physical serial number consists of three fields: xxx/yy/zzzzzz.
F 1
)LJXUH
SP Z 03 xxx / 1 1
yy / zzzzzz 1-6
2 1-3 1 1-2 1
6WUXFWXUH RI WKH ) =IUDPH WH[W ILHOG FRQWDLQLQJ SK\VLFDO VHULDO QXPEHU IURP WKH UDGLR PRGHP WR WKH 3& ) = 7KH GDWD ILHOG LV HPSW\
xxx yy zzzzzz
)XQFWLRQ
03
The physical serial number is stored in the radio modem in its fixed format, that is, 001/02/000003 but may be conveyed on the MASC link by suppressing leading zeros, that is, F Z031/2/3.
69 (217)
F SP Z TYPE_OF_REQUEST(04) ,(2Chex) 1 1 1 2 1
RadioProductInformation 120
)LJXUH
6WUXFWXUH RI WKH WH[W ILHOG LQ UHSO\ IURP WKH UDGLR PRGHP WR WKH 3& 'HVFULSWLRQ
Radio product information
)XQFWLRQ
04
The Radio Product Information is a variable field used for manufacturer specific transceiver information.
PC F Z02 F Z02,R1A
)LJXUH 'LUHFWLRQ RI WKH ) =FRPPDQG
Radio modem
396/LZE401133,R2
70 (217)
PC F#
)LJXUH 'LUHFWLRQ RI WKH ) FRPPDQG
Radio modem
1RWH
Only the one-character function can be included in an F command, for example, F P123456.
71 (217)
F 1
)LJXUH
SP 1
01 2
6WUXFWXUH RI WKH ) FRPPDQG WH[W ILHOG LQ UHTXHVW IRU SDUDPHWHUV IURP WKH 3& WR WKH UDGLR PRGHP
397/LZE401133,R1
F 1
)LJXUH
SP 1
01 2
Netw.cont. 1
, 1
DIE/LIVE 2
6WUXFWXUH RI WKH WH[W ILHOG LQ UHSO\ IURP WKH UDGLR PRGHP WR WKH 3&
The parameters can either be 1 or 2 in ASCII. 0RELWH[ 1HWZRUN &RQWDFW 1=No contact with the network. 2=Contact with the network. /,9(',( PRGH LQ WKH UDGLR PRGHP 1 = Die 2 = Live
PC
F 01 F 012,2
'LUHFWLRQ RI WKH ) FRPPDQG
Radio modem
)LJXUH
398/LZE401133,R1
72 (217)
F 1
)LJXUH
SP 1
02 2
6WUXFWXUH RI WKH ) FRPPDQG WH[W ILHOG LQ UHTXHVW IRU SDUDPHWHUV IURP WKH 3& WR WKH UDGLR PRGHP
399/LZE401133,R1
F 1
)LJXUH
SP 1
02 2
Listofparameters >=29
6WUXFWXUH RI WKH ) FRPPDQG WH[W ILHOG LQ UHSO\ IURP WKH UDGLR PRGHP WR WKH 3&
PC F 02
)LJXUH
F 02 List of Parameters
Radio modem
The list of parameters consists of a number of ASCII coded hexadecimal numbers separated by , (comma). If a parameter is not available or not given, this parameter is not included. The parameters are sent in the following order:
3DUDPHWHU
Terminal MAN Flexlist (MAN 1-7) Grouplist (MAN 1-15) 3 21 45
1R RI E\WHV
400/LZE401133,R1
73 (217)
1-8
The F 03-command is used for changing the network the radio modem is operating on and also to select the DEFAULT LIST associated with a specific operator. Three parameters are associated with using this command: The network ID (NID) synchronization patterns from BASE to MOB, the operator name and the preprogrammed DEFAULT LISTs. The command can also be used to request the current setting of NID and operator name. The network IDs are administrated by MOA.
1RWH
The F 03-command is used to change both the network ID and associated parameters for the named network prestored in the radio modem. If the network operators name is not stored or not available, or if the network ID and network operators name are mismatched, the radio modem will issue an error code (recommended F K66 - Illegal Network ID) and remain on the current network.
5HTXHVW WKH FXUUHQW VHWWLQJ IURP WKH 3& WR WKH UDGLR PRGHP
)LJXUH 6WUXFWXUH RI WKH ) FRPPDQG WH[W ILHOG LQ UHTXHVW IURP WKH 3& WR WKH UDGLR PRGHP
74 (217)
F 1
SP 1
03 2
NID:BASE 4
Networkoperatorname 1-8
)LJXUH 6WUXFWXUH RI WKH ) FRPPDQG WH[W ILHOG LQ DQVZHU IURP WKH UDGLR PRGHP WR WKH 3&
F 1
SP 1
03 2
NID:BASE 4
Networkoperatorname 1-8
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG LQ FRPPDQG IURP WKH 3& WR WKH UDGLR PRGHP
PC
F 03 F 03B433RAMUS
Radio modem
487/LZE401133,R1
486/LZE401133,R1
75 (217)
F 1
SP 1
04 2
0 1
Setting 1
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG VHQW IURP WKH 3& WR WKH UDGLR PRGHP WR HQDEOH RU GLVDEOH WKH VHWWLQJ RI WKH 0RELWH[ 7LPH 3DFNHW ILOWHU
F 1
SP 1
04 2
1 1
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG VHQW IURP WKH 3& WR WKH UDGLR PRGHP WR UHTXHVW WKH FXUUHQW VHWWLQJ RI WKH 0RELWH[ 3DFNHW )LOWHU
510/LZE401133,R1
513/LZE401133,R1
76 (217)
F 1
SP 1
04 2
2 1
Setting 1
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG VHQW IURP WKH UDGLR PRGHP WR WKH 3& DV D UHVSRQVH WR WKH UHTXHVW IRU FXUUHQW VHWWLQJ RI WKH 0RELWH[ 7LPH 3DFNHW )LOWHU
511/LZE401133,R1
PC
F 041 F 0420
Radio modem
77 (217)
QA01 4
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG LQ UHTXHVW IRU SDUDPHWHUV IURP WKH 3& WR WKH UDGLR PRGHP
401/LZE401133,R1
QA01 4
SP 1
Listofparameters 1or19
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG LQ UHSO\ IURP WKH UDGLR PRGHP WR WKH 3&
PC QA01
Radio modem
The list of parameters consists of a number of ASCII coded hexadecimal numbers separated by , (comma). If a parameter is not available or not given, this parameter is not included. The parameters are sent in the following order:
3DUDPHWHU
Arealist Command 8 1
1R RI E\WHV
402/LZE401133,R1
78 (217)
QA02 4
)LJXUH 6WUXFWXUH RI WKH 4$FRPPDQG WH[W ILHOG LQ UHTXHVW IRU SDUDPHWHUV IURP WKH 3& WR WKH UDGLR PRGHP
403/LZE401133,R1
QA02 4
SP 1
Listofparameters >=20
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG LQ UHSO\ IURP WKH UDGLR PRGHP WR WKH 3&
PC QA02
Radio modem
404/LZE401133,R1
79 (217)
The list of parameters consists of a number of ASCII coded hexadecimal numbers separated by the comma character (,). If a parameter is not available or not given, this parameter is not included. The parameters are sent in the following order:
3DUDPHWHU
Frame sync, mobile rx RSSI_PROC 0=frame mode 1=continous mode RSSI_PERIOD SCAN_TIME Number of bases in table Current base_id Current area_id roaming_value /LVW Base_id (if Frame mode) Area_id (if Frame mode) or Dofreq (if CONTINUOS mode) roaming value dbVemf 1 1 2 1 100ms 1200ms 1 1 1 1 1 1
1RWH
2 1
1R RI E\WHV
80 (217)
4$FRPPDQG 5HTXHVW5HSO\ 5DGLR 0RGHP /RFNLQJ WR 6SHFLILF 8S DQG 'RZQ &KDQQHO 1XPEHUV
This command is used by a PC to lock or unlock the radio modem to specific up and down channel numbers. When the radio modem locking is invoked, the base evaluation process in both normal channel monitoring and quick scan modes is disabled until the unlock command is issued. The radio modem will listen for the base and area IDs in ROAM frames on the specified down-link frequency, and then send a ROAM packet if the newly locked channels are different from the original ones. The radio modem in locking state must not be reset during a power-cycle. While in locking state, the radio modem has to accept and react properly to the link channel change order (<BKD>) or fleet division orders (<SVP2>) and (<SVP4>) from the base station. The radio modem will notify the PC when it goes in and out of network coverage with MASC F F and F G commands. Only the PC or application can determine when locking or unlocking is required.
1RWH
The use of this command may cause the radio modem to lose the network contact for a prolonged period of time due to shadowing affects of the base station, change of frequency planning and rearrangement of channel numbers by the network operator, etc.
+RZ WR ORFN WKH UDGLR PRGHP WR VSHFLILF XS DQG GRZQ FKDQQHO QXPEHUV
QA03 4
SP 1
UP_FREQ 4
, 1
DO_FREQ 4
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG LQ UHTXHVW IURP WKH 3& WR WKH UDGLR PRGHP
488/LZE401133,R1
81 (217)
PC
Radio modem
'HVFULSWLRQ
Channel number for the up-link frequency; range 0001 - 1FFF (decimal 0001 - 8191) Channel number for the down-link frequency; range 0001 - 1FFF (decimal 0001 - 8191)
1RWH
The UP_FREQ and DO_FREQ must be in pairs with a fixed network dependent frequency separation.
QA03 4
SP 1
STATES_CODE , 2
, 1
RSSI 2
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG LQ UHSO\ IURP WKH UDGLR PRGHP WR WKH 3&
82 (217)
3DUDPHWHU
STATUS_CODE
'HVFULSWLRQ
Status for locking request in bitmapped ASCII coded hexadecimal format: 00 - invalid UP_FREQ and DO_FREQ; request aborted (see NOTE) 01 - invalid DO_FREQ; request aborted (see NOTE) 10 - invalid UP_FREQ; request aborted (see NOTE) 11 - locked OK
RSSI
Average RSSI value of locked base station in ASCII coded hexadecimal format, ranging from 00-FF in dBV emf units. The parameter is only included when STATUS_CODE is 11
1/2
1RWH
An invalid parameter indicates that the stated parameter is not a valid Mobitex channel, or a low RSSI value prevents the radio modem from locking onto the base (in case of invalid DO_FREQ), or unsuccessful transmission on the specified UP_FREQ. The radio modem will return to the original state when request is aborted. The radio modem and the PC will suspend the transmission of MPAKs on the MASC interface until the QA03 reply is sent by the radio modem.
+RZ WR XQORFN WKH UDGLR PRGHP ORFNLQJ VWDWH Direction: PC to Radio modem
This command will cause the radio modem to unlock and resume/continue normal operation.
QA03 4
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG LQ UHTXHVW IURP WKH 3& WR WKH UDGLR PRGHP
490/LZE401133,R1
83 (217)
SP
)LJXUH 6WUXFWXUH RI WKH ) FRPPDQG WH[W ILHOG VHQW IURP WKH 3& WR WKH UDGLR PRGHP 7KLV VWUXFWXUH DOVR DSSOLHV WR WKH UHVSRQVH VHQW IURP WKH UDGLR PRGHP WR WKH 3&
PC
F !000 F !000
Radio modem
5HSRUW RQH $6&,, FKDUDFWHU The parameter 5HSRUW in this command is used to determine whether an MPAK MODE or MPAK LOWPOWER, subtype MODE, is to be sent to the Mobitex network. 0 1 do not send MODE to the Mobitex network. This value is only used for test purposes. send MODE to the Mobitex network. This value must be used by all applications using the MASC interface.
84 (217)
02'( RQH $6&,, FKDUDFWHU 0 1 The radio modem is ordered to change to 1RUPDO 0RGH The radio modem is ordered to change to %DWWHU\ 6DYLQJ 0RGH.
6.,3180 RQH $6&,, FKDUDFWHU 0, 1, 2, 3 or 4 SKIPNUM = 2n, where Q is the value passed in this MASC command. For example, if the value three is passed in the command then the SKIPNUM value shall be set to eight. The radio modem is ordered to change the given SKIPNUM value. If any other value than those specified here is given, the radio modem shall respond with an E frame. Responses from the radio modem to the PC.
SP
)LJXUH 6WUXFWXUH RI WKH ) FRPPDQG WH[W ILHOG VHQW IURP WKH UDGLR PRGHP WR WKH 3& 7KLV VWUXFWXUH DOVR DSSOLHV WR WKH UHVSRQVH VHQW IURP WKH 3& WR WKH UDGLR PRGHP
The figure above shows the layout of the response from the radio modem to the PC. The fields will be interpreted as described below. 5HSRUW 0 The new parameters were successfully set. No MPAK MODE or MPAK LOW_POWER was sent to the base radio station. The new parameters were successfully set. The new parameters were reported to the base radio station.
491/LZE401133,R1
85 (217)
0RGH The response states the actual operation mode. 0 1 The radio modem is ordered to change to 1RUPDO 0RGH The radio modem is ordered to change to %DWWHU\ 6DYLQJ 0RGH.
6.,3180 The response states the actual SKIPNUM value. SKIPNUM = 2n, where Q is the value given in the response. (IUDPH IURP WKH 5DGLR 0RGHP WR WKH 3& An E-frame sent from the radio modem to the PC indicates that the radio modem is unable to handle the battery saving protocol or illegal values were given to the parameters in the command.
86 (217)
1RWH
These functions should only be used during type testing and must be disabled for normal use.
P 1
)LJXUH 6WUXFWXUH RI WKH 3FRPPDQG WH[W ILHOG LQ UHTXHVW IRU LQWHUQDO SDUDPHWHUV IURP WKH 3& WR WKH UDGLR PRGHP 7KH GDWD ILHOG LV HPSW\
368/LZE401133,R1
P 1
SP 1
listofparameters >=1
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG LQ UHSO\ IURP WKH UDGLR PRGHP WR WKH 3& OLVW RI SDUDPHWHUV
The P-command is used by the terminal to request radio protocol parameters and by the radio modem to send these parameters as a reply to the request. The list of parameters consists of a number of ASCII coded hexadecimal numbers separated by , (comma). The parameters are to be sent in the following order:
3DUDPHWHU
Slot_length Timeout_short Timeout_long Free_slots Rand_slots Current_base (internal parameters in the radio modem) Chosen_slot (internal parameters in the radio modem) 1 1 1 1 1 2 1
1R RI E\WHV
369/LZE401133,R1
87 (217)
3DUDPHWHU
Max_access Max_rep Priority (internal parameter in the radio modem) Sequential number up (term. MAN) Sequential numbers down (term. MAN + 15 groups) Upfreq (current) Dofreq (current) Flexlist (MAN 1- 7) Grouplist (MAN 1 - 15) 1 1 1 1 16 2 2 21 45
1R RI E\WHV
88 (217)
PA01 4
<SPACE> 1
LIST_OF_PARAMETERS >24
)LJXUH 6WUXFWXUH RI WKH 3$FRPPDQG WH[W ILHOG 7KH GDWD ILHOG LV HPSW\
PC
RM
PA 01 PA 01
LIST OF PARAMETERS
PA01,TIMEOUT, SLOT-LENGTH, FREE-SLOTS, RAND-SLOTS, MAXACCESS, MAX-SPEECH, TXPOWQ, RSSI-PROC, RSSI-PERIOD, SCANTIME, BAD-BASE, GOOD-BASE, BETTER-BASE, QPOS, CURRENT-BASE All values are given in ASCII coded Hexadecimal numbers:
3DUDPHWHU
TIMEOUT
6RXUFH
<BKD>
6L]H
1 byte
'HILQLWLRQ
When attempting to access a traffic channel, the original channel if no ACK is received within TIMEOUT seconds. Value is 1-255 seconds. The length of each slot in a <FRI> cycle. Value is (32/bitrate)x SLOT_LENGTH.
SLOT_LENGTH
<FRI>
1 byte
371/LZE401133,R1
89 (217)
3DUDPHWHU
FREE_SLOTS RAND_SLOTS MAX_REP
6RXUFH
<FRI> <FRI> <FRI>
6L]H
1 byte 1 byte 1 byte
'HILQLWLRQ
The total number of slots available in a <FRI> cycle The total number of random slots available in i <FRI> cycle. The maximum number of retransmissions before a packet is considered failed. If no acknowledgement is received after MAX_REP retransmissions, the radio modem starts evaluating other base stations. The number of blocks that may be sent in an <MRM> frame without using access request. The number of blocks that may be sent in a line connection request without using access request. The decrease in output power (0-255 dB below nominal level) to be used by the mobile. 0 is used until the signal is received. The method of signal strength measurement: 0 = FRAME; 1 = Continuous. Time used by the roaming algorithm (0-255x20ms). The length of time when the radio modem scans surrounding system channels (0-255x100ms). Used by the roaming algorithm to define the lowest signal strength from the current base station that is considered usable. Used by the roaming algorithm to determine when a base station signal is acceptable as a current base. Used by the roaming algorithm to determine when to roam to a better base station signal. This is the signal strength improvement above which the radio modem should switch to a new current base. Current position in the queue, waiting for speech.
MAX_ACCESS
<FRI>
1 byte
MAX_SPEECH
<FRI>
1 byte
TXPOW
<SVP>
1 byte
RSSI_PROC
<SVP>
1 byte
RSSI_PERIOD SCAN_TIME
<SVP> <SVP>
1 byte 1 byte
BAD_BASE
<SVP>
1 byte
GOOD_BASE
<SVP>
1 byte
BETTER_BASE
<SVP>
1 byte
QPOS
<VKT>
1 byte
90 (217)
3DUDPHWHU
CURRENT_BASE
6RXUFH
<SVP>
6L]H
2 byte
'HILQLWLRQ
Base and Area ID of the base station to which the radio modem is currently roamed. Derived from the frame head of a ROSI frame sent from the base. (Bits 0-5=AREA_ID, bits 6-11=BASE_ID, bits 12-15=0). A random slot is chosen by the radio modem. Internal to the radio modem. Used to give access only to mobile terminals above a stated priority level. A radio modem belongs to one of four priority groups. Each group will be either in a normal or raised state. The sending radio modem will change to a raised state when MAX_REP is exceeded. The channel on which the base station is receiving. The channel on which the base station is transmitting. The channel on which the base station will receive after switching to a traffic channel in response to a change channel order. The channel on which the base station will transmit after switching to a traffic channel in response to a change channel order. The network ID of the base station to which the radio modem is transmitting. This ID is derived from the frame head of a ROSI frame sent from the base. The network ID of the base station from which the radio modem is receiving. This ID is derived from the frame head of a ROSI frame sent from the base. The Area ID of the base station with which the radio modem is communicating. This ID is derived from the frame head of a ROSI frame sent from the base.
1 byte 3 bits
<BKD>
2 bytes
<SVP>
2 bytes
NETWORK ID (RX)
<SVP>
2 bytes
Area ID
<SVP>
1 byte
91 (217)
PA01 0A ,11 ,05 ,05 ,08 ,01 ,00 ,00 ,01 ,05 ,0F ,01 ,05 ,06 ,00 ,00CF ,03 ,00 ,02FB ,0F2B CURRENT_BASE=BASE3,AREA 15 CHOSEN SLOT=3 TIME_OUT=10 seconds SLOT_LENGTH=68 ms FREE_SLOTS=5 ACCESS_CHANNEL_DOFREQ=channel 3602 RAND_SLOTS=5 MAX_REP=8 MAX_ACCESS=1 MAX_SPEECH=0 RSSI_PROC=Continous TXPOW=0 dB RSSI_PERIOD=100 ms SCAN_TIME=1.5 seconds BAD_BASE=1 dB GOOD_BASE=5 dB BETTER_BASE=6 dB QPOS=0 UPFREQ=channel 763 DOFREQ=Channel 3883 PRIORITY=0
,01E2 ,0E12 ,BF33 ,B433 ,0F ACCESS_CHANNEL_UPFREQ=channel 482 NETWORK ID (TX)=RMDUS NETWORK ID (RX)=RMDUS AREA ID=15
PA02 4
<SPACE> 1
LIST_OF_PARAMETERS >40
)LJXUH 6WUXFWXUH RI WKH 3$FRPPDQG WH[W ILHOG 7KH GDWD ILHOG LV HPSW\
92 (217)
PC
RM
PA 02 PA 02
LIST OF PARAMETERS
PA02, Terminal MAN, ESN, FLEXLIST, GROUPLIST......SEQ_NUM_UP, SEQ_NUM_DO1......SEQ_NUM_DO15 All values are given in ASCII coded Hexadecimal numbers:
3DUDPHWHU
Terminal MAN ESN
6L]H
3 bytes 4 bytes
'HILQLWLRQ
24-bit number stored in the radio modem. Programmable by the network operator. 32-bit Electronic Serial Number programmed by the radio modem manufacturer. Manufacturers Code = 8 bits (0-255), Model Number = 6bits (0-63), Security number = 18 bits displayed using an algorithm. A list of up to seven Personal MANs stored in the radio modem. A list of up to 15 Group MANs stored in the radio modem. Contains the next sequence number to be used for transmitting from the radio modem to the base station (0-14). This number is incremented by one for each new <MRM> frame that is transmitted. Contains the next sequence number of the last <MRM> frame received from the base station. The sequence numbers are stored for the Terminal MAN and each of the 15 possible Group MANs. A 24-bit number stored in the radio modem. The number is programmable by the network operator. A 32-bit Electronic Serial Number programmed by the radio modem manufacturer. Manufacturers Code = 8 bits (0-255), Model Number = 6 bits (0-63), Security number = 18 bits displayed using an algorithm. A list of up to seven Personal MANs stored in the radio modem. A list of up to 15 Group MANs stored in the radio modem.
SEQ_NUM_DO1-15
16 bytes
3 bytes 4 bytes
FLEXLIST GROUPLIST
21 bytes 45 bytes
93 (217)
3DUDPHWHU
SEQ_NUM_UP
6L]H
1 byte
'HILQLWLRQ
Contains the next sequence number to be used for transmitting from the radio modem to the base station (0-14). This number is incremented by one for each new <MRM> frame that is transmitted. Contains the next sequence number of the last <MRM> frame received from the base station. Sequence numbers are stored for the Terminal MAN and each of the 15 possible Group MANs.
SEQ_NUM_DO1-15
16 bytes
PA02
F42EA1 ,8DE66B00 ,,,,,,, ,000007 ,,,,,,,,,,,,,, ,0B ,01 ,00 ,,,,,,,,,,,,,, Grouplist
SEQ_NUM_UP=11 SEQ_NUM_DO3-15=empty Terminal MAN=16002721 SEQ_NUMDO1=1 ESN SEQ_NUMDO2=1 FLEXLIST (empty) Groups 2-15 are empty Group 1=7
94 (217)
PA03 4
<SPACE> 1
LIST_OF_PARAMETERS >4
)LJXUH 6WUXFWXUH RI WKH 3$FRPPDQG WH[W ILHOG 7KH GDWD ILHOG LV HPSW\
PC
RM
PA 03 PA 03
LIST OF PARAMETERS
PA03, CHANNEL-LIST, NO-CHAN-IN-LIST, NO-CHAN-IN-COM, CH1UPFREQ, CH1-DOFREQ...... All values are given in ASCII coded Hexadecimal numbers:
3DUDPHWHU
CHANNEL_LIST
6L]H
1 byte
'HILQLWLRQ
Represents the contents of the following list. 01 = DEFAULT_LIST 02 = CURRENT_LIST 03 = TEMP_DEFAULT_LIST The radio modem responds with the list it is currently evaluating. The total number of channels included in the following list. In cases such as the DEFAULT_LIST, multiple <MRM> frames are used to send the list.
NO_CHAN_IN_LIST
2 bytes
95 (217)
3DUDPHWHU
NO_CHAN_IN_COM
6L]H
1 byte
'HILQLWLRQ
When multiple <MRM>s are used to send a list, this is the number of channels included in the current <MRM> frame. The order of the channels in the default list is determined by the manufacturer.
For DEFAULT_LIST: CH1_UPFREQ CH1_DOFREQ . . . CHn_UPFREQ CHn_DOFREQ For CURRENT_LIST 2 bytes 2 bytes . . . 2 bytes 2 bytes
Receive channel of the first base station in the default list. Transmit channel of the first base station in the default list. . . . Receive channel of the last base station in the default list. Transmit channel of the last base station in the default list. Received by the mobile terminal in the <SVP> frame and lists the system channels used by neighbouring base radio stations. Used in Normal channel monitoring when scanning other system channels. The channels in the CURRENT_LIST are in signal strength order. The list contains the channel numbers that are currently being scanned by the radio modem.
Receive channel of the first base station in the current list. Transmit channel of the first base station in the current list. . . . Receive channel of the last base station in the current list. Transmit channel of the last base station in the current list. A shortened list stored in the radio modem that replaces or supplements the default list when scanning. Used to speed up the roaming procedure.
2 bytes 2 bytes
Receive channel of the first base station in the temporary default list. Transmit channel of the first base station in the temporary default list.
96 (217)
3DUDPHWHU
. . . CHn_UPFREQ CHn_DOFREQ . . .
6L]H
. . .
'HILQLWLRQ
2 bytes 2 bytes
Receive channel of the last base station in the temporary default list. Transmit channel of the last base station in the temporary default list.
([DPSOH
PA03 ,02 ,0005 ,05 ,021D ,08 ,0E4D ,021E ,0E4D ,021F ,0E4F ,0220 ,0E50 ,0221 ,0E51
CH1_UPFREQ=541 CH1_DOFREQ=3661 CH3_UPFREQ=543 CH4_DOFREQ=3664 CH5_UPFREQ=545 CH5_DOFREQ=3665 NO_CHANNEL_IN_LIST=5 ACCESS_CHANNEL_DOFREQ=channel 3602 NO_CHAN_IN_COM=5 RAND_SLOTS=5 CH2_UPFREQ=542 CH2_DOFREQ=3662 CH3_DOFREQ=3663 CH4_UPFREQ=544 CHANNEL_LST=CURRENT_LIST
)LJXUH ([DPSOH RI D UHVSRQVH WR 3$ &855(17B/,67 ZLWK ILYH QHLJKERXULQJ EDVH VWDWLRQV
([DPSOH Example of a response to PA03 (DEFAULT_LIST): PA03 01, 0014, 0A, O1E1, OE11, 01E2, 0E12, 01E3, 01E4, 0E14, 01E5, 0E15, 01E6, 0E16, 01E7, 0E17, 01E8, 0E18, 01E9, 0E19, 01EA, 0E1A
97 (217)
PA03 01,0014, 0A, 01FT, 0E25, 01F6, OE26, 01F7, 0E27, 01F8, 0E28, 01F9, 0E29, 01FA, 0E2A, 01FB, 0E2B, 01FC, 0E2C, 01FD, 0E2D, 01FE, 0E2E ([DPSOH Example of a response to PA03 (TEMPORARY_DEFAULT_LIST): PA03 03, 00A, 0A, 01E1, 0E11, 01E2, 0E12, 01E3, 0E13, 01E4, 0E14, 01E5, 0E15, 01E6, 0E16, 01E7, 0E17, 01E8, 0E18, 01E9, 0E19, 01EA, 0E1A
PA04 <SPACE> 4 1
LIST_OF_PARAMETERS =20
PC
RM
PA 04 PA 04
LIST OF PARAMETERS
98 (217)
6L]H
1 byte 1 byte
'HILQLWLRQ
Maximum output capability of the radio modem. The RSSI_OFFSET is the calculated offset added to the GOOD_BASE and BAD_BASE parameters due to the radio modem having an output power lesser than the stated nominal output power in the network. The ROAM_VALUE is the latest Roam Value (RV) of the CURRENT_BASE This is the current threshold used in the roaming algorithm. The GOOD_BASE value in the answer includes the RSSI_OFFSET correction. This parameter is used in the dynamic output power control algorithm and is a programmable parameter in the radio modem. This is a power reduction order sent from the base station in the <SVP> frames. The Pout parameter is the current actual output power of the radio modem after the dynamic output power control is applied.
1 byte 1 byte
TXADJ (dB)
1 byte
1 byte 1 byte
99 (217)
PA05 4
<SPACE> 1
LIST_OF_PARAMETERS >4
)LJXUH 6WUXFWXUH RI WKH 3$FRPPDQG WH[W ILHOG 7KH GDWD ILHOG LV HPSW\
PC
RM
PA 05 PA 05
LIST OF PARAMETERS
PA05 NO_BASE_IN LIST, CURRENT_BASE_ID, ROAMING_VALUE, DO_FREQ_CH1, ROAMING_VALUE_CH1.....DO_FREQ_CHxx, ROAMING_VALUE_CHxx All values are given in ASCII coded Hexadecimal numbers, except CURRENT_BASE_ID:
3DUDPHWHU
NO_BASE_IN_LIST CURRENT_BASE_ID
6L]H
1 byte 2 bytes
'HILQLWLRQ
The total number of channels in the following list. Area Base ID of the base station to which the radio modem is currently roamed.
100 (217)
3DUDPHWHU
ROAMING_VALUE_CURRENT DO_FREQ_CH1 ROAMING_VALUE_CH1 . . . DO_FREQ_CHn ROAMING_VALUE_CHn
6L]H
1 byte 2 bytes 1 byte . . . 2 bytes 1 byte
'HILQLWLRQ
Average value of the received signal strength of CURRENT_BASE. Transmit channel of a base station that is being monitored by the radio modem. Average value of the received signal strength of CH1. . . . The last transmit channel of a base station that is being monitored by the radio modem. Average value of the received signal strength of CHxx.
1RWH
ROAMING_VALUE_CH1 through ROAMING_VALUE_CHxx will be in descending order. The DO_FREQ_XX or Base IDs need not to be entirely in the current list.
BASE_ID AREA_ID 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 0 0 0 0 X X X X X X X X X X X X
)LJXUH 'DWD UHSUHVHQWDWLRQ RI SDUDPHWHU &855(17B%$6(B,'
%DVH ,'
15
$UHD ,'
,PA05 0F ,00CF ,30 ,0E4E ,19 ,0F30 ,19 ,0F29 ,16 ,0F2A ,16 ,0E4D ,15 ,0F31 ,15 ,0E53 ,14 ,0F2F ,11
101 (217)
ROAMING_VALUE CH8=17 dB DO_FREQ of CH8=Channel 3887 ROAMING_VALUE CH7=20 dB DO_FREQ of CH7=Channel 3667 ROAMING_VALUE CH6=21 dB DO_FREQ of CH6=Channel 3889 ROAMING_VALUE CH5=21 dB ,0F2D ,10 ,0F32 ,0F ,0E54 ,09 ,0F2C ,08 ,0E52 ,06 ,0E50 ,04 DO_FREQ of CH5=Channel 3661 ROAMING_VALUE CH4=22 dB DO_FREQ of CH4=Channel 3882 ROAMING_VALUE CH3=22 dB DO_FREQ of CH3=Channel 3881 ROAMING_VALUE CH2=25 dB DO_FREQ of CH2=Channel 3888 ROAMING_VALUE CH1=25 dB DO_FREQ of CH1=Channel 3662 ROAMING_VALUE for CURRENT_BASE=48 dB CURRENT_BASE_ID=ID 3, AREA ID 15 NO_BASE_IN_LIST=15 ROAMING_VALUE_CH14=4 dB DO_FREQ of CH14=Channel 3664 ROAMING_VALUE_CH13=6 dB DO_FREQ of CH13=Channel 3666 ROAMING_VALUE_CH12=8 dB DO_FREQ of CH12=Channel 3884 ROAMING_VALUE_CH11=9 dB DO_FREQ of CH11=Channel 3668 ROAMING_VALUE_CH10=15 dB DO_FREQ of CH10=Channel 3890 ROAMING_VALUE_CH9=16 dB DO_FREQ of CH9=Channel 3885
([DPSOH
102 (217)
PA06 4
<SP ACE> 1
Function 2
, 1
LIST_OF_PARAMETERS >0
)LJXUH 6WUXFWXUH RI WKH 3$FRPPDQG WH[W ILHOG 7KH GDWD ILHOG LV HPSW\
PC
RM
PA 06 PA 06
LIST OF PARAMETERS
The function is an ASCII coded decimal number ranging between 00 to 99, and is used to describe a specific request or reply. The LIST_OF_PARAMETER consists of ASCII coded hexadecimal numbers separated by the character comma (,). The parameter will not be included if it is not available or not provided. The table below describes how to use the parameters FUNCTION and LIST_OF_PARAMETERS.
)XQFWLRQ
01
'HVFULSWLRQ
Request current_base information Reply current_base information N/A
3DUDPHWHU
0
6L]H
2 bytes 2 bytes
02
An ASCII coded hexadecimal number area and base IDs of the current_base
103 (217)
)XQFWLRQ
03
'HVFULSWLRQ
Disable base_search_mode2 (The base evaluation process in normal channel monitoring and quick scan is disabled.) Enable base_search_mode (The base evaluation process is reinvoked and the RM reverts to normal operation.) Clear all dynamic Mobitex parameters3. Enable copy REPMAP when receiving or transmitting <REB>. The RM spontaneously replies with a copy REPMAP for every <REB> received or sent until a PA06 07 command is received or at power down4. Disable copy REPMAP Enable loudspeaker Disable loudspeaker Request a NUMRET value The RM replies with the current value of NUMRET found in <ABD>, <ABT> or <ABL>5. N/A
3DUDPHWHU
0
6L]H
04
N/A
05
N/A
06
An ASCII coded hexnumber for each bit set to 1 in <REB>. The numbers are separated by commas.
Varied
07 08 09 10
N/A N/A N/A N/A An ASCII coded hexadecimal number of NUMRET value N/A
0 0 0 0 1 byte
11
12
N/A
The CURRENT_BASE is not permanently set and may be changed by the base evaluation process in the roaming algorithm. This function will cause the radio modem to lock on to a specific base station as currently defined in CURRENT_BASE and not to roam to other base stations. The lock state is maintained until a PA06 04 command is issued or the radio modem is powered down.
3 2
This command will set the dynamic parameters to defined states as follows:
3DUDPHWHUV
AREA LIST NETID ALL AREAS The first NETID according to the operator configuration
6HW WR
104 (217)
3DUDPHWHUV
TEMP_DEFAULT_LIST CURRENT_LIST UP/DOWN frame sequence number OPERATING MODE BORN/UNBORN Received/send buffers
6HW WR
The list is set to contain zero (0) number of entries The list is set to contain zero (0) number of entries 1/1 NORMAL MODE UNBORN (The first message that will be sent to the network is BORN.) Erased zero (0) entries.
All other non-dynamic parameters (such as ESN, TTI, FBI, TXADJ, channel class,...) are set to their manufacturer and operator value. This function enables the radio modem to copy the REPMAP field from all received or sent <REB> frames to the PC. After this command is issued by the PC, the radio modem should spontaneously send the PA06 06 reply to the PC for every <REB> received or sent. For example, the code 0F indicates that the 15th bit is set in REPMAP and represents a retransmission request for block 15. Every bit set in REPMAP is represented in the same way separated by commas. This state is maintained until the radio modem receives a PA06 07 command or is switched off. This function will enable the radio modem to copy the current value of NUMRET to the PC, where NUMRET is a link layer parameter that is included in access frames such as <ABD>, <ABT> and <ABL>. This parameter represents the number of retransmission attempts completed when accessing a channel, and is always set to zero at the initial attempt. For instance, a PA06 10,02 command indicates to the PC that the second retransmission attempt has been completed.
6 This function will cause the radio modem to continuously transmit the scrambling 5 4
sequence (or pseudo-random sequence pattern) until a PA06 12 command is received from the PC or the radio modem is powered down. The command is used for testing the physical layer in the radio modem, and must only be activated in a test environment. A radio modems transmitter may be damaged if this function is being tested for a prolong period of time.
105 (217)
PA06 06 ,0F ,0F ,14 Function=6 REPMAP bit 15 is set to 1 REPMAP bit 15 is set to 1 REPMAP bit 20 is set to 1
106 (217)
PA07 4
<SPACE> 1
)LJXUH 6WUXFWXUH RI WKH 3$FRPPDQG WH[W ILHOG 7KH GDWD ILHOG LV HPSW\
PC
RM
PA 07 PA 07
LIST OF PARAMETERS
107 (217)
6L]H
1 byte 1 byte
'HILQLWLRQ
The time between the start of the operated states in the radio modem. Value is 0-255 x 250ms. The time measured from the first bit of the frame head of the received <SVP6> to the time the radio modem should enter the Operating state. Value is 0-255 x 250 ms. The amount of time the radio modem will stay in the Operating state after receiving or transmitting an <ACK>. Value is 0-255 x 250ms. Time used to evaluate base stations on the CURRENT_SYSTEM_CHANNEL. Value is 0-255 sec. Time used to evaluate base stations on other channels. Value is 0-255 RSSI periods.
TRANSACTION_TIME
1 byte
EVAL_CURRENT
1 byte
EVAL_OTHERS
1 byte
PA07
28 CYCLE_TIME=10 seconds
108 (217)
6L]H
1 byte
'HILQLWLRQ
This parameter states the maximum number of rejections on a channel or a base station before it is marked in the INVALID_LIST. This states the maximum time in 5 minute steps where a channel or base station can be marked in the INVALID_LIST. This parameter is set to 00 if FRAME mode is used and set to 01 if CONTINOUS mode is used in the network. The parameter COUNT states the number of base stations in the list. A base station is identified by the channel number in CONTINOUS mode and by the base ID in FRAME mode. The channel number is presented with the FBI bits excluded in channel number, that is, the FBI bits are set to zero. The base ID is presented in the second byte of the field and all the bits in the first byte is set to zero. The parameter REPCOUNT states the current value of the repetition counter. This parameter states the elapsed number of 5 minutes steps of the REJTIME. . . .
REJTIME
1 byte
109 (217)
PC
RM
PA 09 PA 09
LIST OF PARAMETERS
PA09 03 ,06 ,01 ,02 ,OF29 ,01 ,00 ,OF31 ,03 ,02 REPTIME=10 minutes (Channel marked) REPCOUNT_CH1=1 time Number of channels in the INVALID LIST = 2 DO_FREQ_CH1=3881 REPCOUNT_CH1= 1 time REPTIME=0 minutes (Channel not marked) RSSI_PROC=01 (Continous) DO_FREQ_CH2=3889 REJTIME=30 minutes MAXREJ=3 times
110 (217)
PC
RM
PA 10 PA 10
LIST OF PARAMETERS
KM 2
SP 1
parameters 3
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG WR IUHTXHQF\ QXPEHU UHFHSWLRQ 7KH GDWD ILHOG LV HPSW\
111 (217)
PC
RM
KM
KS 2
SP 1
parameters 3
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG WR IUHTXHQF\ QXPEHU WUDQVPLVVLRQ 7KH GDWD ILHOG LV HPSW\
PC
RM
KS
The parameter field states the frequency number. The number is given as the ASCII codes of the hexadecimal digits of the frequency number in hexadecimal notation. The K command is used to set up the frequency pair to be used for reception and transmission. The frequency number range is hexadecimal 001-617 (decimal 00011559). If the frequency number included in the frame is not implemented in the equipment, the radio modem will respond with an E command (error function).
112 (217)
These commands are used to force the radio modem to lock on specific transmit channel, receive channel and FBI (frequency band information) for test purposes. The up and down frequencies can be set independently and with any restriction to fixed duplex spacing. This frequency locking overrides and disables the roaming algorithm, and link layer channel orders, such as <BKD>, <BKT> and <BBT>. The radio modem is locked on the specified frequencies until it is powered down. If the FBI or frequency (channel) number included in the frame is not implemented in the equipment, the radio modem will respond with an E command (error function).
)LJXUH 6WUXFWXUH RI WKH WH[W ILHOG IRU WKH .$FRPPDQGV[[[[ /=(
PC
RM
KAB
PC
RM
KAM
178/2882-AE/LZT 123 778 A
PC
RM
KAS
113 (217)
6L]H
1 byte
'HILQLWLRQ
The frequency band information, FBI, is used in conjunction with the DOFREQ and UPFREQ on the airlink. The actual FBI information in the INFO MPAK is not affected by this setting.
DO_FREQ UP_FREQ
2 bytes 2 bytes
KAB 04
FBI=4 (900 MHz, 8Kbit/s
KAM 0E4D
DOFREQ=3661
KAS 021D
UPFREQ=541
530/LZE 401 133, R1
114 (217)
'HVFULSWLRQ
DIE mode. Ordered from the network. LIVE mode. Ordered from the network.
MANUAL mode. The radio modem is in manual mode and not in contact with the Mobitex network. Reserved Reserved Reserved Reserved Reserved Transmit buffer space upper limit reached: the last MPAK was added to the transmit buffer queue, but there is now insufficient space left for another full size MPAK. The radio modem cannot receive more MPAKs from the network. Buffer/memory free. The radio modem can receive MPAKs from the network. Receiver buffers for data from PC are full. # Receiver buffers for data from PC are free. Reserved Reserved Returned command during DIE mode. Returned command during SPEECH mode. Returned command during MANUAL mode. The radio modem returns MPAK to PC during transmit due to transmit memory space buffer full condition, that is, the memory space in Kbytes allocated for transmit buffer is used up, so the last MPAK could not be queued. Reserved Reserved Login request denied, MAN already exists in the FLEXLIST. Login request denied. The FLEXLIST is full. MPAK sender MAN is not the TMAN nor in the FLEXLIST. Reserved
0B 0C 0D 0E 0F 10 11 12 13
14 15 16 17 18 19
115 (217)
Reserved Reserved Reserved Reserved Reserved Reserved
'HVFULSWLRQ
Illegal MPAK type, must not be transmitted. Illegal MPAK state. Illegal MPAK flags. Illegal sendlist. Illegal MPAK length. Illegal addressee in MPAK. TEMP_DEFAULT_LIST received from PC is incorrect. MPAK returned on command (frame FI or FO). User tries to change into already ACTIVE mode (normal/battery saving mode).
Mode change already in progress. The message will be sent or displayed if two equal mode change orders are received consecutively. Invalid network ID. Transmit buffer full. Not enough memory in the buffer to hold an MPAK of maximum length. Unsuccessful radio transmission. Transmit buffer full condition, that is, the number of MPAKs in the transmit buffer has exceeded the maximum allowable number of MPAKs. The last MPAK could not be added to the transmit buffer. Note that this error is not the same as the F K13 frame because it deals with the number of MPAKs in the buffer instead of total memory space allocated for the transmit buffer. * Modem battery OK. This message is sent when the battery level has been restored in the radio modem or in the modem module of a nonintegrated radio modem. The radio modems transmitter has been turned off. * Incompatible radio transceiver module. This error is only used in non-integrated radio modems (separate radio modem and radio transceiver).
66 A0 E0 F0
F1
F8 F9
116 (217)
'HVFULSWLRQ
Radio transceiver low battery. This error is sent when low battery is detected in the radio transceiver of a non-integrated radio modem. Modem battery low. This error is sent when low battery is detected in the radio modem or in the modem module of a non-integrated radio modem. Fatal radio error (unrecoverable fault in the radio transceiver). Other error. The radio modem is not able to transmit any MPAKs.
FC FD
* *
(1) These error codes may be sent unsolicited by the radio modem in F K commands. * indicates that an F K command with this error code may be received by the PC during any state. # indicates that an F K command with this error code may be received by the PC during specific states like buffer full conditions but not directly as a response to a packet sent from the PC.
117 (217)
03$.
TEXT DATA STATUS HPDATA EXTPAK Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional
5HPDUNV
DTESERV:
Directed from the mobile terminal to the network Directed from the network to the mobile terminal Directed from the network to the mobile terminal Directed from the mobile terminal to the network Directed from the network to the mobile terminal Directed from the mobile terminal to the network Directed from the mobile terminal to the network
118 (217)
3DFNHW FODVV
03$.
INACTIVE DIE LIVE ROAMORD ROAM GROUPLIST FLEXREQ FLEXLIST INFOREQ INFO TIME AREALIST ESNREQ ESNINFO MODE LOWPOWER
5HPDUNV
Directed from the mobile terminal to the network Directed from the network to the mobile terminal Directed from the network to the mobile terminal Directed from the network to the mobile terminal Directed from the mobile terminal to the network Directed from the network to the mobile terminal Directed from the network to the mobile terminal Bi-directional Directed from the network to the mobile terminal Directed from the mobile terminal to the network Directed from the network to the mobile terminal Directed from the network to the mobile terminal Directed from the network to the mobile terminal Directed from the mobile terminal to the network Directed from the mobile terminal to the network Directed from the mobile terminal to the network
3DFNHW &ODVVHV
MPAKs are divided into different classes depending on how the information they contain is to be used. These classes are: PSUBCOM, for packet-switched subscriber communication DTESERV, for data-terminal service communication
A third class of MPAKs is called PSOSCOM for circuit-switched subscriber and alert communication. MPAKs of this class are not used in radio modems that are used for data communication only. Packets of this type are not described in this manual.
119 (217)
368%&20
Five different MPAKs belong to this packet class: TEXT, DATA, STATUS, HPDATA and EXTPAK. The first four MPAKs are packets transferred between subscribers within the Mobitex network, while EXTPAK is used for communication between external networks and subscribers in the Mobitex network. All of these packets are used for communication between the mobile terminal and the network. The difference between the packets are described in detail in FKDSWHU 03$. 3URWRFRO 'HVFULSWLRQ 3DFNHW )RUPDWV.
'7(6(59
The DTESERV packets transfer information between a subscriber or mobile terminal and the network. The purpose of DTESERV packets is to update the data necessary for network traffic switching in the mobile terminal or network.
'HVFULSWLRQ RI 03$.V
03$. )RUPDW DQG 6WUXFWXUH
This section describes the parts of the MPAK that are common to all types of packets. A description of the design of the various type-dependent parts of the packets in found later on in the Packet Formats chapter.
3DFNHW /HQJWK
An MPAK may be up to 560 bytes long.
120 (217)
3DFNHW &RPSRQHQWV
Each packet is divided into various components: Common component, that is, components that is common to all MPAKs. Address list, included in some types of PSUBCOM MPAKs. The PC creates the MPAK with an address list. The radio modem transmits it to the network which, in turn, copies the common and type-dependent components and forms a number of new MPAKs. These new MPAKs are sent to the addressees on the address list. Type-dependent components, included in all PSUBCOM, (PSOSCOM) and most DTESERV MPAKs. The size and application depends on the packet in question. Please refer to FKDSWHU 03$. 3URWRFRO 'HVFULSWLRQ 3DFNHW )RUPDWV.
The figure below describes the contents of the components that are common to all MPAKs, and the placement of the type-dependent components.
7 8
sender
addressee
type-dependent components
10
31
sender
0 traffic state packet class subscription flags external flag packet type reserve flag
no addressee 1 .. 7 of addressees
type-dependent components
121 (217)
The PC should be capable of storing the following MANs: 1 MAN for the terminals own subscription 1 MAN for the All-Terminals Group 14 MANs for optional individual group subscriptions 7 MANs for personal subscriptions
The MANs constitute sender identification when MPAKs are sent and addressee identification when they are received.
122 (217)
sender
addressee
X
020/LZE 401 133, R2
traffic states
byte 8
packet type
(x = optional 0 or 1)
)LJXUH &RPPRQ FRPSRQHQWV LQ DOO 03$.
6HQGHU E\WHV The sender is the originating subscription or network. The senders MAN is given in binary code in bytes 1-3. The senders MAN is either a terminal subscription, a personal subscription or a network MAN.1 $GGUHVVHH E\WHV The addressee is the subscription, group or network originally intended as the receiver - the original destination. The addressees MAN is given in binary code in bytes 4 - 6. The addressees MAN is either a terminal subscription, a personal subscription, a group or a network MAN.
1RWH
The SENDER and ADDRESSEE fields always indicate the original sender and addressee, that is, the contents of these fields are not swapped in return messages.
1.For a description of the different subscription types, see FKDSWHU ,PSRUWDQW 0RELWH[ )XQF WLRQV.
2/198 17 - KRD 102 303 Uen, Rev B, 2002-02-27
123 (217)
6XEVFULSWLRQ IODJV E\WH ELWV A subscription or mobile terminal can raise a number of flags in the common component of an MPAK. A flag is raised to the logical value one when its content is applied. Flags are raised independently of each other.
)ODJ 0$,/%2;B) E\WH ELW
MAILBOX_F = 0: MAILBOX_F = 1: The message must not be placed in the network mailbox The message may be placed in the network mailbox
5HVHUYH )ODJ E\WH ELW This flag, which may be assigned a particular function in the future, must always be set to zero. 7UDIILF 6WDWH E\WH ELWV The packets traffic state is indicated by 3 bits which makes it possible to have seven different states. The traffic state must always be set to zero when a packet is to be sent. In the following table, the action paragraph states the action that an application is expected to perform when a packet is received.
124 (217)
2.
OK No problems have occurred during switching. Display the message to the user. The traffic state does not need to be displayed.
6WDWH
Meaning:
)520B0$,/
From mailbox This message comes from the network mailbox. For packets requesting positive acknowledgement that have been put in the addressees mailbox, this message is an acknowledgement of the packet having been delivered to the addressee. The message is displayed in the same way as other received messages. The traffic state, as well as the time of the day when the message was placed in the mailbox, should be displayed.
Action:
6WDWH
Meaning:
,1B0$,/
Has been placed in mailbox The addressee cannot be reached at the moment. The message has been placed in the network mailbox. The message is a returned copy and should be displayed in the same way as other received messages. In certain cases, the presentation of the text and data in the type-dependent component may be omitted. The traffic state should be displayed.
Action:
6WDWH
Meaning:
12B75$16)(5
The addressee cannot be reached The message can neither be transferred nor put in the network mailbox. The message is returned from the network and should be displayed in the same way as other received messages. In certain cases, the presentation of the text and data in the type-dependent component may be omitted. The traffic state should be displayed.
Action:
6WDWH
Meaning: Action:
,//(*$/
The message could not be switched by the network. The message is returned from the network and should be displayed in the same way as other received messages. In certain cases, the presentation of the text and data in the type-dependent component may be omitted. The traffic state should be displayed.
125 (217)
6WDWH
Meaning: Action:
&21*(67
Line or radio channels are congested The message is returned from the network and should be displayed in the same way as other received messages. In certain cases, the presentation of the text and data in the type-dependent component may be omitted. The traffic state should be displayed.
6WDWH
Meaning: Action:
(5525
Technical error The message cannot be transferred because of a technical error. The message is returned from the network and should be displayed in the same way as other received messages. In certain cases, the presentation of the text and data in the type-dependent component may be omitted. The traffic state should be displayed.
1RWH
States 2, 3, 4, 5 and 6 indicate returned messages in which the SENDER and ADDRESSEE fields have not been swapped. When the terminal receives a packet with one of these states, the SENDER field contains one of the mobile terminals own MANs (messages returned to original sender).
3DFNHW W\SH E\WH ELWV Within packet class = 0, that is, PSUBCOM: EXTERN_F = 0: Packet type 1: Packet type 2: Packet type 3: Packet type 4: EXTERN_F = 1: Packet type 1: TEXT DATA STATUS HPDATA EXTPAK
Within packet class =3, that is, DTESERV: EXTERN_F = 0: Packet type 1: Packet type 2: Packet type 3: Packet type 4: Packet type 5: Packet type 6: Packet type 7: LOGINREQ LOGINGRA LOGINREF LOGOUT LOGOUTORD BORN ACTIVE
126 (217)
Packet type 8: Packet type 9: Packet type 10: Packet type 11: Packet type 12: Packet type 15: Packet type 16: Packet type 17: Packet type 18: Packet type 19: Packet type 20: Packet type 21: Packet type 22: Packet type 23: Packet type 24: Packet type 31: ([WHUQDO )ODJ E\WH ELW
INACTIVE DIE LIVE ROAMORD ROAM GROUPLIST FLEXREQ FLEXLIST INFOREQ INFO TIME AREALIST ESNREQ ESNINFO MODE LOWPOWER
The external flag is raised to indicate that the packet is being used in traffic with an external network. The flag must be lowered to indicate internal traffic in Mobitex. EXTERN_F = 0: Internal traffic EXTERN_F = 1: External traffic 3DFNHW &ODVV E\WH ELWV This 2-bit field in the common component of the MPAK, indicates the class to which the packet belongs. The packet class can thus have the decimal value 0-3. Three classes are implemented. There are four classes, but only three are implemented in the radio modem. The three classes are: Packet class = 0: PSUBCOM Packet class = 3: DTESERV
127 (217)
$GGUHVV /LVW
In order to increase network efficiency, messages with more than one designated addressee should be sent to the network along with an address list containing all the MANs of the addressees. A maximum of seven addressees may be listed in one MPAK. An address list is included in transmitted messages; received messages, on the other hand, do not usually contain an address list. A packet with an address list is usually converted by the network to a number of packets, one for each addressee. These packets are identical except for the addressee information. If an address list is included in the MPAK, it must be indicated by a raised flag, SENDLIST_F, in the common component of the MPAK. The address list must always begin with byte 9 and end with byte 30.
1RWH
The address list is always 22 bytes long, irrespective of how many addresses the sender wishes to send.
The address list always starts with a field called number of addresses which indicates how many of the following seven address fields hold valid addresses. The number of addresses field is 1 byte long while the address fields are 3 bytes. The empty address fields must be filled with zeroes.
7\SH'HSHQGHQW &RPSRQHQW
If an address list is included in the MPAK, the type-dependent component begins with byte 31. Otherwise it begins with byte 9, immediately after the common component of the MPAK. The fields of the type-dependent components are described in detail in FKDSWHU 03$. 3URWRFRO 'HVFULSWLRQ 3DFNHW )RUPDWV.
3URWRFRO
The protocol used for the interchange of packets between a mobile terminal and the Mobitex network is described in this chapter. Packet interchange is carried out in the form of dialogues in the network layer. The main theme of these dialogues will be outlined in this section. Examples of dialogues of this type are given later in FKDSWHU 0RELWH[ 'LDORJXHV. Some packets sent by the mobile terminal should be transferred to another subscriber, while others are meant for the network itself.
128 (217)
Only packets containing an address or sender included in the radio modems own list of MANs will be handled. If a packet with an address that does not exist in the radio modems list of MANs reaches the radio modems network layer, it will be returned to the network with the subscription flag UNKNOWN_F set to 1. See the Flags paragraph in FKDSWHU +RZ WR 8VH WKH &RPPRQ &RPSRQHQW )LHOGV RI WKH 03$..
1RWH
Positive acknowledgement is not available in all networks. Please refer to the network operator to find out if positive acknowledgement is implemented. Positive acknowledgement is only available to mobile subscribers.
If positive acknowledgement is available, two conditions must be met in order to use it: The sender must have the service included in his subscription. The service must be ordered for each packet data transmitted.
The function is activated by raising the flag POSACK_F in packets of the types TEXT, DATA, HPDATA, and STATUS. The addressee may only be a mobile terminal, or a personal subscriber who is logged in to a mobile terminal. Positive acknowledgement cannot be used for packets sent to groups, fixed terminals, or personal subscribers who are logged in to fixed terminals. When positive acknowledgement is requested, the transmitted packet will be returned with the POSACK_F flag raised when the addressee has received the packet. The returned packet is the acknowledgement. If the addressee is unreachable at the time of the packet being transmitted from the sender, if he has subscribed to the mailbox service, and if the MAILBOX_F flag is raised on the outgoing packet, the acknowledgement packet will be transmitted to the sender when the addressee becomes active in the network and receives the packets stored in the mailbox.
129 (217)
Packets sent with both sendlist and positive acknowledgement activated, will receive an acknowledgement from every addressee. A positive acknowledgement returned to the sender will not be put in the mailbox. A positive acknowledgement that cannot be returned to the original sender, will be discarded by the network.
$FWLYDWLRQ,QDFWLYDWLRQ
In order to avoid transmission attempts to contact terminals which cannot be reached, an activation/inactivation procedure is included at the terminals. ,QDFWLYDWLRQ The terminal should deactivate itself by automatically transmitting an INACTIVE packet to the network: Before it is powered off. When the terminals message buffer is full and the terminal is incapable of handling more packets from the network.
A terminal may also be deactivated by the network. This occurs if the network repeatedly fails to reach the terminal with traffic. The terminal and its personal subscriptions are then regarded as inactive by the network until it receives any packet from the terminal. When a subscription is inactive, traffic to it is forwarded to the network mailbox, or returned to the sender without attempting to reach the terminal. Messages are stored in the network mailbox according to the principle described in 0RELWH[ 1HWZRUN 0DLOER[. If contact is lost during an attempt to transmit the INACTIVE packet no further attempts are made. If contact is already lost when INACTIVE is to be sent, no transmission at all is attempted. $FWLYDWLRQ The terminal should activate itself by automatically transmitting an ACTIVE packet to the network: When it is switched on. When the terminals buffer has space for at least 6 messages of maximum length. When the data link layer in the mobile terminal indicates that the terminal should activate itself. This situation arises when the data link layer has lost contact with the radio base station, and the contact is re-established with the same base station again (while in express mode). Also in all cases when a
130 (217)
mobile terminal roams to or from a donor base station and its corresponding Frequency Translation Repeater.
1RWH
If the message is stored in the mailbox, a copy will be returned to the sender with the traffic state set to IN_MAIL (state 2). When the subscription becomes activated again, packets stored in the mailbox will be sent to the subscription. Packets stored with OK traffic state (state 0) will be given the new traffic state FROM_MAIL (state 1). Packets stored with other traffic states will pass the mailbox unchanged. No other changes will be made in packets forwarded through the mailbox.
131 (217)
The following rules apply: It is not possible to indicate more than one traffic state in the traffic state field. A traffic state relates only to the packet in which it is included. A packet should always have the traffic state OK when it is generated by a PC. The PC must never change the traffic state of a packet.
)ODJV The PC must be able to raise a number of flags in the MPAK common component. The flags are: MAILBOX_F This flag is used by the sending PC to indicate to the network that it is allowed to store the packet in the network mailbox. The packet is stored in the mailbox if it cannot be forwarded to the addressee. MAILBOX_F should be raised when ordered by the user; however, it may also be raised by default. POSACK_F This flag is raised by the PC to request a positive acknowledgement in packets of the types TEXT, DATA, HPDATA, and STATUS. SENDLIST_F This flag indicates an MPAK with an address list. SENDLIST_F is raised by the PC when the sender gives more than one address for a message. UNKNOWN_F The receiving mobile terminal raises this flag if the addressee (or the sender in case of returned packets, traffic states 2, 3, 4, 5 and 6) of a received message is not in the mobile terminals list of subscriptions. The message is then returned to the last sender. EXTERN_F This flag is raised by the sending PC to indicate that the packet belongs to traffic with an external telecommunication network connected to Mobitex. RESERV_F This flag is not used. It must always be set to 0 by the PC.
Two of the flags in the message received, POSACK_F and EXTERN_F, are important for the PC to read.
*HQHUDWLQJ 03$.V
The fields in the common components of the MPAK should be used as per the description in this and the following chapters.
132 (217)
(UURQHRXV 03$.V
If the MPAK sent from the PC is erroneous, the radio modem will respond with an FK-frame containing an error code. See FKDSWHU ) . (UURU 0HVVDJH DERXW D )DXOW 6LWXDWLRQ.
5HFHLYLQJ 03$.V
Packets are received by the PC for one of the following reasons: Normal transmission: The packet is sent to the addressee, the ADDRESSEE field matches a MAN stored in the receiving mobile terminal. The application should present the message to the subscription that holds the addressees MAN. Packets returned from the network: The packet is returned to the original sender, the SENDER field matches a MAN in the mobile terminal. In this case, the packet was originally generated by one of the mobile terminals subscriptions, but for some reason was returned from the network. The traffic state field indicates the reason for return, that is, by indicating one of the traffic states 2, 3, 4, 5 or 6. Returned packets must not be sent back to the network. They should be forwarded to the application layer. If SENDLIST_F is set, the packet has not been forwarded to any addressee. Either the packet type was not acceptable, or an error occurred before the network unpacked the address list. If POSACK_F is set, the packet is a positive acknowledgement of a request sent earlier. If the traffic state is either OK or FROM MAIL, the message has been forwarded to the addressee. Packets sent to subscribers not listed in the mobile terminal: 1RWH The radio modem will perform the following actions automatically, that is, without any assistance from any application program. The received packet is addressed to a subscriber who is not in the mobile terminals list of MANs at present. This may occur if a packet was addressed to a personal subscription that logged out at the instant the packet was received. The packet will be returned by the radio modem with the UNKNOWN_F flag raised. All other flags and the SENDER, ADDRESSEE, and TRAFFIC STATE fields will remain unchanged.
133 (217)
134 (217)
6HQGLQJ 7UDIILF ZKLOH WKH %XIIHU LV )XOO The application may send user traffic (PSUBCOM) when the reception buffer is full. The packets will be queued in the radio modems transmission buffer and transmitted as soon as the radio modem becomes active again, that is, when the reception buffer has been emptied. 7UDQVPLVVLRQ %XIIHU The size of the transmission buffer is enough to store at least one packet of maximum length. If the transmission buffer is full, the PC will be notified by an F K-frame (F KA0). If a packet is sent to the radio modem from the PC when the transmission buffer is full, it will be returned in an N-frame.
7H[W'DWD+3GDWD6WDWXV 0HVVDJH
The following section explains the different uses of the information part of typedependent components of the MPAK.
7H[W 0HVVDJHV
The information part of a text message must be coded according to international ASCII standards, ISO 646. The maximum size of a text message is 512 characters of user information.
'DWD 0HVVDJHV
Data messages can be used instead of text messages when information is to be transferred in formats other than ASCII. In contrast to text messages, the information parts of data messages may be freely coded by the individual application. A data message can consist of maximum 512 bytes of user information.
+3GDWD 0HVVDJHV
HP-data (that is, higher protocol data) can for example handle messages that exceed the maximum size for text or data messages. In the transport layer (in the user application), the original message is disassembled into several sub-messages. Each sub-message can consist of a maximum of 512 bytes of user information and one byte of protocol identification. The sub-messages are transmitted as HP-data MPAKs by the network layer. The transport layer of the receiving PC reassembles the sub-messages back into the complete message.
135 (217)
1RWH
The order in which the different sub-messages are sent to the receiving PC is controlled by the network.
6WDWXV 0HVVDJHV
A status message consists of a numerical code between 0 and 255, which provides 256 different status messages that can be transferred. These are coded by the subscriber as per the user application. Coding the message provides extra security.
136 (217)
0$1
Always uses 3 bytes. The MAN is in the range of 1-16,777,215 (decimal notation), see also 0RELWH[ 6XEVFULSWLRQ 1XPEHU 0$1. The MAN is always given as a 24-bit binary-coded number. Example: MAN 12345678 (decimal) equal BC614E hexadecimal. The binary equivalent will be:
1 0 0
0 1 1
1 1 0
1 0 0
1 0 1
1 0 1
0 0 1
0 1 0
BC 61 4E
Hexadecimal value
137 (217)
7LPH
The time field must be set to zero when a message is sent from a PC. The time information is inserted by the network when the packet enters the first node. Time information may be used by the PC when it receives an MPAK. The time is given as 0RELWH[ 0LQXWH in 3 bytes, indicating how many minutes have elapsed since 12.31.1984 at 12:00 midnight, 0RELWH[ /RFDO 7LPH. The time indication is given as a hexadecimal number. Description of formulas for calculating 0RELWH[ 0LQXWH to 0RELWH[ /RFDO 7LPH: hour = minute = MD = MT = year = month = day = (Mobitex_minute MOD 1440) DIV 60 (Mobitex_minute MOD 1440) MOD 60 Mobitex_minute DIV 1440 (4291 + 10 * (MD - (36525 * ((100 * MD + 30690) DIV36525)) DIV100)) DIV10 1984 + (100 * MD + 30690) DIV 36525 + MT DIV 429 (100 * MT) DIV 3061 - 1 - 12 * (MT DIV 429) MT - ((100 * MT) DIV 3061 * 3061) DIV 100
Note that the calculated time of day is given in 24-hour format. In the formulas above, DIV is the integer of a division while MOD is the remainder of the division (7 DIV 3 = 2 and 7 MOD 3 = 1) Example: We assume that the time is given as 876241 in decimal notation (0D5ED1 hexadecimal) The time-indicating field looks like this:
0 0 1
0 1 1
0 0 0
0 1 1
1 1 0
1 1 0
0 1 0
0 1
5E D1
Hexadecimal value 0D 1
138 (217)
Using the formulas given above, the following values will apply: hour = 12 minute = 1 MD = 608 MT = 307 year = 1986 month = 9 day = 1 Thus, the time is 12:01 PM (one minute after noon) on September 1st, 1986.
3URWRFRO ,GHQWLILFDWLRQ
1 byte (0-255 decimal) selected by the sender. 'HVFULSWLRQ The field is used in the HPDATA MPAKs to indicate that a protocol above the network layer is in use. The decimal number 0 implies that no protocol is being used. The decimal number 1 to 127 is regulated by the 0RELWH[ 2SHUDWRUV $VVRFLDWLRQ 02$ Protocols that are registered by the network operator use decimal numbers 128 to 255. For more information refer to the 0RELWH[ ,QWHUIDFH 6SHFLILFDWLRQ 0,6
139 (217)
368%&20
This part of the description deals with MPAKs in the packet class 0, Packet Subscriber Communications or PSUBCOM. The following applies to all PSUBCOM packets except EXTPAK: 'HVLJQDWHG 6HQGHU A terminal or personal subscription. 'HVLJQDWHG $GGUHVVHH 03$.V ZLWKRXW $GGUHVV /LVW Terminal subscription, personal subscription or group. 'HVLJQDWHG $GGUHVVHH 03$.V ZLWK $GGUHVV /LVW The network is stated in the ordinary addressee field. The intended message receivers are indicated in the address list. 5DLVHG )ODJV 03$.V ZLWKRXW $GGUHVV /LVW MAILBOX_F and POSACK_F are optional. 5DLVHG )ODJV 03$.V ZLWK $GGUHVV /LVW SENDLIST_F is compulsory. MAILBOX_F and POSACK_F are optional. 03$. 6WUXFWXUH Accompanying each description is a structure diagram of the unique fields of each packet. For fields not shown, see FKDSWHU 'HVFULSWLRQ RI 03$.V. 7LPH )LHOG The time field must always be set to 0 (zero) by the sending PC. The network will insert the time as the packet reaches the networks first node.
140 (217)
141 (217)
142 (217)
143 (217)
144 (217)
145 (217)
146 (217)
147 (217)
148 (217)
7KH 1HWZRUNV 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW An EXTPAK from a Mobitex subscriber will be dispatched to the designated external network, which will send the packet to the addressee. An EXTPAK from an external network will be dispatched to the addressee in Mobitex. 7KH 3&V 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The information in the packet is stored, processed and/or presented to the user of the addressed subscription.
149 (217)
/HQJWK RI WKH 3DFNHW The length varies between 12 and 560 bytes.
'DWD E\WH DQG XS WR FRPSOHWH E\WHV The coding of this field is optional since the Mobitex network layer is transparent to all EXTPAK packets. The use of EXTPAK and the contents and format of this component is defined by the operator of the external network.
'7(6(59
This part of the description deals with the MPAKs in the packet class 3, 'DWD 7HUPLQDO 6HUYLFH &RPPXQLFDWLRQ or DTESERV. Only those packets applicable to Mobidem are described.
*HQHUDO
In this section the following applies: If the heading Raised Flags is left out, this means that no flags are raised. If one of the headings 7KH QHWZRUNV QRUPDO DFWLRQ or 7KH 3&V QRUPDO DFWLRQ is omitted, it means that the network or the mobile terminal does not normally receive the packet in question.
150 (217)
1RWH
LOGINREQ should be sent if there is enough space for another subscriber in the FLEXLIST and/or the subscription is not already present.
If the subscription is already present in the Mobidems FLEXLIST, the PC will be notified by an FK-frame and the user should be notified that he is already logged in. 7KH 1HWZRUNV 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The network checks that the login can take place. 7KH 3&V 1RUPDO DFWLRQ ZKHQ UHFHLYLQJ WKH 3DFNHW The PC does not normally receive the packet. However, if it does, it should be displayed to the user that the login request has failed. /HQJWK RI WKH 3DFNHW 19 bytes.
151 (217)
3DVVZRUG E\WHV Selection of 8 ASCII coded characters. Passwords with less than 8 characters should be filled with leading spaces.
8 0 0 0 0 0 0 0 0
7 0 0 1 1 1 1 1 1
6 1 1 0 0 0 0 0 0
5 0 0 0 0 0 1 0 0
4 0 0 0 0 1 0 1 1
3 0 0 1 0 1 1 1 1
2 0 0 1 0 1 0 1 0
1 0 0 0 1 0 0 1 1
152 (217)
153 (217)
154 (217)
/2*287
'HVLJQDWHG 6HQGHU Personal subscription and host group subscription. 'HVLJQDWHG $GGUHVVHH The network. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW A personal subscription, or a host group subscription, requests logout from the PC. The PC sends the packet only if the subscription is included in the FLEXLIST. After generating the packet, the subscription is deleted from the FLEXLIST. 7KH 1HWZRUNV 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The network deletes the login. The subscription is at rest until further notice. /HQJWK RI WKH 3DFNHW 11 bytes.
155 (217)
156 (217)
%251
'HVLJQDWHG 6HQGHU The terminal subscription. 'HVLJQDWHG $GGUHVVHH The network. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW The radio modem is in the XQERUQ state. The radio modem is XQERUQ when it is powered for the first time, switched to operate on another Mobitex network or when any of its stored network layer parameters (that is DIE/LIVE state, GROUPLIST, FLIEXLIST, AREALIST) have been lost. If any of the stored network parameters are lost, BORN replaces ACTIVE or ROAM until GROUPLIST is received. In this case the radio modem should clear all Parameters to be stored at power off (that is become XQERUQ) and personal subscriptions should log-in again.
1RWH
At power up it is recommended that the information stored in the network layer is checked against the checksum. If the checksum is found to be incorrect, the radio modem will revert to the unborn state and a BORN packet will be sent to the network in order to update the information.
7KH 1HWZRUNV 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The network sends the necessary information to the terminal (that is GROUPLIST). The network also checks the terminals Electronic serial number (ESN). If the ESN checking is successful the network will send a LIVE, followed by a GROUPLIST, to the terminal. If the ESN checking fails the network will not send any LIVE and GROUPLIST but may send a DIE instead (depending on the network configuration).
157 (217)
ESN
$&7,9(
'HVLJQDWHG 6HQGHU The terminal subscription. 'HVLJQDWHG $GGUHVVHH The network. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW There are four different criteria for the radio modem to send an ACTIVE packet: When the radio modem is turned on. When the reception buffer of the radio modem, after having been full, has been emptied. When contact with the network is re-established after having been broken. An ACTIVE packet is generated by the PC.
The transmission of ACTIVE may be delayed, see FKDSWHU $FWLYDWLRQ ,QDFWLYDWLRQ.
158 (217)
7KH 1HWZRUNV 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The network updates the terminal subscription information. Messages stored in mailbox, which are intended for the mobile terminal and subscribers logged in at the mobile terminal, are transmitted to the radio modem. The network checks the radio modems electronic serial number (ESN). /HQJWK RI WKH 3DFNHW 12 bytes.
ESN
1RWH
The contents of bytes 9 to 12 must be set to 0 (zero) by the application or PC. The electronic serial number will be set by the radio modem.
,1$&7,9(
'HVLJQDWHG 6HQGHU The terminal subscription. 'HVLJQDWHG $GGUHVVHH The network. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW INACTIVE is sent by the radio modem: Before the radio modem is turned off. When the reception buffer of the radio modem is full. When an INACTIVE packet is generated by the PC.
159 (217)
7KH 1HWZRUNV 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The network registers the mobile terminal as inactive. No messages will be sent to the mobile terminal until it is again activated. /HQJWK RI WKH 3DFNHW 8 bytes.
8 byte 7 byte 8 0 1
7 0 1
6 0 0
5 0 0
4 0 1
3 0 0
2 0 0
1 0 0
',(
'HVLJQDWHG 6HQGHU The network. 'HVLJQDWHG $GGUHVVHH The terminal subscription. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW The network generates this packet in order to prevent a terminal from sending any user traffic to the network. 7KH 3&V 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW After DIE is received, the terminal must not send any user traffic (PSUBCOM, PSOSCOM). Only DTESERV packets are permitted until a LIVE packet has been received. It should also be shown to the user, that the terminal has received a DIE, and cannot send any user traffic. Exceptions: The terminal may return packets to the network with the UNKNOWN_F raised.
160 (217)
161 (217)
52$025'
'HVLJQDWHG 6HQGHU The network. 'HVLJQDWHG $GGUHVVHH The mobile terminal subscription or group. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW The network orders the terminal to send ROAM. 7KH 3&V 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The terminal sends ROAM. /HQJWK RI WKH 3DFNHW 8 bytes.
162 (217)
52$0
'HVLJQDWHG 6HQGHU The mobile terminal subscription. 'HVLJQDWHG $GGUHVVHH The network. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW The terminal has decided to send ROAM according to the roaming algorithm procedure in the mobile terminal link layer or the terminal has received ROAMORD from the network. 7KH 1HWZRUNV 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The network registers URDPLQJ for the terminal. The network also checks the ESN. /HQJWK RI WKH 3DFNHW 12 bytes.
ESN
*5283/,67
'HVLJQDWHG 6HQGHU The network. 'HVLJQDWHG $GGUHVVHH The terminal subscription.
163 (217)
5DLVHG )ODJV MAILBOX_F The packet may be stored in the networks mailbox if the addressee can not be reached, even if MAILBOX is not included in the subscription service. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW Changes in the subscriber information have taken place, the mobile/fixed terminal has sent BORN. 7KH 3&V 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The new group list replaces the former stored list of group numbers. /HQJWK RI WKH 3DFNHW 54 bytes.
7 0 1
6 0 0
5 0 0
4 0 1
3 0 1
2 0 1
1 X 1
0 1
Type-dependent component : byte 9 bytes 10 to 12 (bytes 13 to 51) bytes 52 to 54 number of MANs MAN 1 (MAN 2 -14) MAN 15
93/2882-AE/LZT 123 778/1 A
1RWH
MAN 1 (bytes 10 to 12) is used for the $OO 7HUPLQDOV *URXS 1XPEHU.
164 (217)
)/(;5(4
'HVLJQDWHG 6HQGHU The network. 'HVLJQDWHG $GGUHVVHH The terminal subscription. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW The network requires current information about which subscription that are loggedin at the terminal. 7KH 3&V 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The terminal sends current information in the FLEXLIST packet. /HQJWK RI WKH 3DFNHW 8 bytes.
165 (217)
&ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW 1. 2. 3. The radio modem sends FLEXLIST to the PC during the start up procedure. The network: Changes in the information have occurred. The radio modem: The radio modem has received a request for the flexlist from the network. This procedure is handled automatically by the radio modem.
7KH 1HWZRUNV 1RUPDO 5HDFWLRQ RQ 5HFHLYLQJ WKH 3DFNHW The network checks the list of logged in personal subscriptions at the mobile terminal. 7KH 5DGLR 0RGHPV RU WKH 3&V 1RUPDO 5HDFWLRQ RQ 5HFHLYLQJ WKH 3DFNHW Replace former list of personal subscriptions with a new list.
166 (217)
Type-dependent component : byte 9 bytes 10 to 12 (bytes 13 to 27) bytes 28 to 30 number of MANs MAN 1 (MAN 2 -6) MAN 7
92/2882-AE/LZT 123 778/1 A
167 (217)
,1)25(4
'HVLJQDWHG 6HQGHU The network. 'HVLJQDWHG $GGUHVVHH The mobile terminal subscription. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW The network requires updating on terminal information. 7KH 3&V 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The terminal sends INFO. /HQJWK RI WKH 3DFNHW 8 bytes.
168 (217)
,1)2
'HVLJQDWHG 6HQGHU The mobile terminal subscription. 'HVLJQDWHG $GGUHVVHH The network. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW The terminal has received INFOREQ. 7KH 1HWZRUNV 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The network updates the register. /HQJWK RI WKH 3DFNHW The length may vary between 44 and 46 bytes.
Type-dependent component : byte 9 bytes 10 to 12 (bytes 13 to 27) bytes 28 to 30 bytes 31to 44 number of MANs MAN 1 (MAN 2 -6)
190/2882-AE/LZT 123 778/1 A
MAN 7
Technical information
bytes 45 to n
169 (217)
7HFKQLFDO ,QIRUPDWLRQ 14 bytes. This field states whether the mobile terminal is equipped with technical media for generating and presenting different traffic types. The field also describes the characteristics of the radio station. The information to be stated in this field must be provided when opening the subscription.
8 bytes 31 bytes 32 bytes 33 bytes 34 bytes 35 bytes 36 bytes 37 bytes 38 bytes 39 bytes 40 bytes 41 bytes 42 bytes 43 bytes 44 0 0
Generate connection
receive connection
present text partially active in MBX radio: superv. sign. loop radio: terminal type radio: working method radio: output power radio: rx/tx switch time radio: FBI radio: priority
0 0
0 0
0 0
0 0
&KDQQHO &ODVV 'HSHQGHQW ,QIRUPDWLRQ 0-2 bytes. This field states which radio channels the relevant mobile equipment can use. There are 2 possible channel classes that may be used: channel class 4 or 5. Channel class 4: Channel class 5: Full band station with independent channels for receiving and transmitting channels. Full band station with fixed duplex spacing. The duplex spacing is given as the channel difference.
170 (217)
&KDQQHO &ODVV
bytes 45 to 46
1RWH
The radio output power parameter (byte 8) indicates the maximum output power of the mobile terminal.
1RWH
Do not confuse the TIME packet with the time information given in the time field of other packets. The time information embedded in the PSUBCOM packets gives the time when the network first received the packet - not the time for retransmission.
171 (217)
time
$5($/,67
'HVLJQDWHG 6HQGHU The network. 'HVLJQDWHG $GGUHVVHH The mobile terminal subscription. 5DLVHG )ODJV MAILBOX_F This packet can be placed in the network mailbox if the addressee cannot be reached even if MAILBOX is not included in the subscription. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW Changes in the subscriber information concerning the operational areas have taken place or the mobile terminal has sent BORN. 7KH 3&V 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The terminal should forward the area list information to the data link layer. /HQJWK RI WKH 3DFNHW 17 bytes.
172 (217)
%LWPDS Bitmap representing the area IDs. The bitmap will be transferred to the Data Link Layer. Each bit position (0-63) of the bitmap represents the numerical value (0-63) of an area ID. For example, the bit in position 60 corresponds to the area ID 111100 (binary representation). The area ID is received by the Physical Layer and then used by the roaming algorithm in the Data Link Layer. 0=invalid area ID. 1=valid area ID.
a64 a63 a62 a61 a60 a59 a58 a57 a56 a55 a54 a53 a52 a51 a50 a49 a48 a47 a46 a45 a44 a43 a42 a41 a40 a39 a38 a37 a36 a35 a34 a33 a32 a31 a30 a29 a28 a27 a26 a25 a24 a23 a22 a21 a20 a19 a18 a17 a16 a15 a14 a13 a12 a11 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1
173 (217)
&RPPDQG Mobile performance in areas which are indicated as QRW YDOLG in the bitmap. The command should also be transferred to the data link layer. 0=invalid area IDs must not be used by the terminal. 1=not valid area IDs may be used, but traffic may be charged a different fee.
1RWH
If both the %LWPDS and the &RPPDQG is set to zero (0), this means that the mobile terminal is not allowed to operate any traffic area and roam into any base station. This case should be notified to the user who should contact the network operator or a service centre. When changing local network, the terminal shall reset its AREALIST to allow all valid area IDs (that is, all bits in the bitmap are set to 1).
1RWH
8 byte 7 byte 8 0 1
7 0 1
6 0 0
5 0 1
4 0 0
3 0 1
2 0 1
1 0 0
174 (217)
(61,1)2
'HVLJQDWHG 6HQGHU The mobile terminal subscription. 'HVLJQDWHG $GGUHVVHH The network. &ULWHULD IRU *HQHUDWLQJ WKH 3DFNHW The terminal has received ESNREQ. 7KH 1HWZRUNV 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The network checks the electronic serial number. /HQJWK RI WKH 3DFNHW 12 bytes.
ESN
175 (217)
1RWH 1RWH
The mode change may also be initiated by pressing the MODE key on the M1000. If two consecutive equal MODE changes are given, the radio modems MASC protocol will send an error message to the PC. This situation may for example occur if the user orders mode change by using the MMODE key on the M1000, and immediately thereafter gives the same order from the PC. See FKDSWHU 0$6& 3URWRFRO 'HVFULSWLRQ for the error message.
7KH 1HWZRUNV 1RUPDO $FWLRQ ZKHQ 5HFHLYLQJ D 3DFNHW The network registers the operating mode of the mobile terminal (radio modem). Some applications may require H[SUHVV PRGH to achieve a communication without a delay. The normal operating mode is SRZHU VDYLQJ PRGH.
1.For a description of the different operating modes, see FKDSWHU ,PSRUWDQW 0RELWH[ )XQF WLRQV.
176 (217)
7 0 1
6 0 0
5 0 1
4 0 1
3 0 0
2 0 0
1 0 0
0 1
Type-dependent component :
95/2882-AE/LZT 123 778/1 A
byte 9
mode identifier mode identifier: 0= EXPRESS MODE 1= POWER SAVING MODE 2- 255 = reserved
1RWH
Using the express mode will mean higher power consumption and shorter battery operating time in radio modems with built in batteries.
/2:32:(5
The MPAK LOWPOWER should be used by portable radio modems if the base radio station supports the extended battery saving protocol. The MPAK LOWPOWER must not be used if the extended battery saving protocol is not supported. The MPAK LOWPOWER replaces the following MPAK packets when a portable radio modem uses the extended battery saving protocol: ACTIVE BORN ESNINFO INFO MODE ROAM
177 (217)
03$. &RPPRQ &RPSRQHQW The common component of an MPAK is modified when it is used together with the new MPAK type LOWPOWER. The value in the field packet type in the common component will be set to 31 for the MPAK LOWPOWER. This modified common component must not be used with any other MPAK.
8 byte 7 byte 8 0 1
7 0 1
6 0 0
5 0
4 0
3 0
2 0
1 0
8 S 1
7 S 1
6 S 0
5 T 1
4 T 1
3 T 1
2 T 1
1 T 1
M M M M M
)LJXUH 7KH QRUPDO OHIW DQG WKH PRGLILHG ULJKW FRPPRQ FRPSRQHQW RI DQ 03$.
The MPAK type (MMMMM=11111 defines the MPAK LOWPOWER). The subtype of the MPAK type LOWPOWER. This field contains information about the new parameter SKIPNUM.
The parameters MODE and SKIPNUM are coded into the field SSS in the figure above. The SKIPNUM and MODE representation is shown below. SKIPNUM and MODE representation:
666
000 001 010 011 100 111 All other combinations
02'(
Battery Saving Mode Battery Saving Mode Battery Saving Mode Battery Saving Mode Battery Saving Mode Normal Mobile Mode Undefined, spare 1 2 4 8 16 Not used
6.,3180
The subtype of the LOWPOWER is coded into the field TTTTT in the figure above.
178 (217)
The coding of the subtypes are shown below. Note that the codes used for the subtypes are identical to the MPAK type codes of the corresponding MPAKs that the subtypes replace.
777
00111 00110 10111 10011 11000 01100
6XEW\SH QDPH
Subtype ACTIVE Subtype BORN Subtype ESNINFO Subtype INFO Subtype MODE Subtype ROAM
5HSODFHG 03$.
ACTIVE BORN ESNINFO INFO MODE ROAM
All other subtype codes are UNDEFINED. 6XEW\SH $&7,9( The MPAK LOWPOWER, subtype ACTIVE, will be used instead of MPAK ACTIVE provided the base radio station supports the extended battery saving protocol.
)LJXUH 7KH 03$. /2:32:(5 VXEW\SH $&7,9( 1RWH WKDW WKH VXEW\SH GHSHQGHQW FRPSRQHQW LV LGHQWLFDO WR WKH W\SH GHSHQGHQW FRPSRQHQW RI 03$. $&7,9(
179 (217)
6XEW\SH %251 The MPAK LOWPOWER, subtype BORN, will be used instead of MPAK BORN provided the base radio station supports the extended battery saving protocol.
)LJXUH 7KH 03$. /2:32:(5 VXEW\SH %251 1RWH WKDW WKH VXEW\SH GHSHQGHQW FRPSRQHQW LV LGHQWLFDO WR WKH W\SH GHSHQGHQW FRPSRQHQW RI 03$. %251
6XEW\SH (61,1)2 The MPAK LOWPOWER, subtype ESNINFO, will be used instead of MPAK ESNINFO provided the base radio station supports the extended battery saving protocol.
)LJXUH 7KH 03$. /2:32:(5 VXEW\SH (61,1)2 1RWH WKDW WKH VXEW\SH GHSHQGHQW FRPSRQHQW LV LGHQWLFDO WR WKH W\SH GHSHQGHQW FRPSRQHQW RI 03$. (61,1)2
180 (217)
6XEW\SH ,1)2 The MPAK LOWPOWER, subtype INFO, will be used instead of MPAK INFO provided the base radio station supports the extended battery saving protocol.
8 bytes 9 bytes 10 to 12 bytes 13 to 15 bytes 16 to 18 bytes 19 to 21 bytes 22 to 24 bytes 25 to 27 bytes 28 to 30 bytes 31 to 44 bytes 45 . . .
number of MAN
MAN 1 (PER) MAN 2 (PER) MAN 3 (PER) MAN 4 (PER) MAN 5 (PER) MAN 6 (PER) MAN 7 (PER) technical information channels class dependent
201/2882-AE/LZT 123 778/1 A
)LJXUH 7KH 03$. /2:32:(5 VXEW\SH ,1)2 1RWH WKDW WKH VXEW\SH GHSHQGHQW FRPSRQHQW LV LGHQWLFDO WR WKH W\SH GHSHQGHQW FRPSRQHQW RI 03$. ,1)2
181 (217)
6XEW\SH 02'( The MPAK LOWPOWER, subtype MODE, will be used instead of MPAK MODE provided the base radio station supports the extended battery saving protocol.
)LJXUH 7KH 03$. /2:32:(5 VXEW\SH 02'( 1RWH WKDW WKH VXEW\SH GHSHQGHQW FRPSRQHQW LV LGHQWLFDO WR WKH W\SH GHSHQGHQW FRPSRQHQW RI 03$. 02'(
6XEW\SH 52$0 The MPAK LOWPOWER, subtype ROAM, will be used instead of MPAK ROAM provided the base radio station supports the extended battery saving protocol.
)LJXUH 7KH 03$. /2:32:(5 VXEW\SH 52$0 1RWH WKDW WKH VXEW\SH GHSHQGHQW FRPSRQHQW LV LGHQWLFDO WR WKH W\SH GHSHQGHQW FRPSRQHQW RI 03$. 52$0
182 (217)
&RQYHUWHG 3DFNHWV
A few MPAKs will be received and converted by the radio modem before they are sent to the connected PC. These packets are: The network orders the mobile terminal not to send user traffic (DIE). The network orders the mobile terminal to resume sending packets (LIVE).
When the radio modem receives one of these orders, an FK-frame indicating the situation - FK01 for DIE and FK02 for LIVE - will be sent to the PC. See description in FKDSWHU 0$6& 3URWRFRO 'HVFULSWLRQ.
183 (217)
0RELWH[ 'LDORJXHV
The first part of this chapter describes the different signal flows between the Mobidem and a PC. The second part deals with dialogues between mobile terminals and the Mobitex network.
03$.V
MPAKs are either received from, or transmitted to, the network. The MPAKs received from the network contain information that the mobile terminal is receiving. Transmitted MPAKs are either created by the user application or by the radio modem. MPAKs created by the radio modem are used for radio communication purposes only, and will not be described in this manual. 03$.V 5HFHLYHG IURP WKH 1HWZRUN MPAKs received from the network containing orders to the radio modem to stop, or to resume, transmitting user traffic, will be handled entirely within the radio modem. The connected PC will, however, be notified by an FK-frame. See FKDSWHU 0$6& 3URWRFRO 'HVFULSWLRQ. Other packets used for radio modem control will be handled entirely within the radio modem. No information will be sent to the PC.
184 (217)
All other correctly received MPAKs will, after normal handling in the radio modem, be sent to the PC. A packet received by the PC must never be returned to the radio modem without modification of the packets common components. 03$.V WR 7UDQVPLW WR WKH 1HWZRUN If the MPAK passes the checks in the radio modem, it will be sent to the Mobitex network. If the MPAK fails to pass the checks, it will be returned to the PC in an Rframe. For the LOGINREQ MPAK the following rule holds: If the personal subscription already exists in the FLEXLIST, then the radio modem will notify the PC by an FK-frame. &RQQHFWLRQ %HWZHHQ WKH 5DGLR 0RGHP DQG WKH 3& The radio modem and the PC are supposed to each have a list of group MANs (GROUPLIST) and a list of personal subscriptions (FLEXLIST). In order to make the lists in the radio modem coincide with the lists in the PC, the following should be considered: When the link layer connection is established (by exchange of INIT frames), the PC must send a MANREQ (FP-frame) to request the MAN from the radio modem. By way of a reply, the radio modem sends the Terminal MAN (FP-frame). This reply is sent immediately, or, if another frame is currently being transmitted by the radio modem, immediately after the transmission is completed. After that, the radio modem will send the MASC_DEVICE information (FQ-frame). The radio modem will subsequently send: GROUPLIST to set the list of group MANs in the PC. FLEXLIST to set the flexlist in the PC.
185 (217)
PC <INIT [B]> <INIT [B] > <F P (MANREQ)> <F P (TMAN)> <F QMCU (MASCDEVICE)> <M (GROUPLIST)> <M (FLEXLIST)>
)LJXUH 6WDUW VHTXHQFH
Radio modem
The flow control frames are neither included in the ([DPSOH RI VWDUW VHTXHQFH above, nor in the ([DPSOH RI VWDUW VHTXHQFH ZKHQ WKH UDGLR PRGHP VWDUWV ZLWK 03$.V VWRUHG LQ WKH UHFHSWLRQ EXIIHU below. 5DGLR 0RGHPV WKDW &DQ 2SHUDWH 6WDQG$ORQH The following two examples apply to radio modems that may operate as stand-alone units, that is, receive messages from the network without being connected to a PC.
186 (217)
Radio modem
)LJXUH ([DPSOH RI VWDUW VHTXHQFH ZKHQ WKH UDGLR PRGHP VWDUWV ZLWK QR 03$.V LQ WKH UHFHSWLRQ EXIIHU
Sending of the F P-frame (MANREQ) from the PC may be postponed until queued MPAKs have been transferred from the radio modem to the PC. The PC needs the MAN only to transmit MPAKs.
1RWH
The number of packets may be different from the examples given. Other packets that have been queued may be inserted between the packets listed. However, the packets listed will appear sooner or later, in the specified order.
187 (217)
Radio modem
<M (MPAK)> <F P (MANREQ)> <F P (TMAN)> <F QMCU (MASC DEVICE)> <M (MPAK)>
)LJXUH ([DPSOH RI VWDUW VHTXHQFH ZKHQ WKH UDGLR PRGHP VWDUWV ZLWK 03$.V VWRUHG LQ WKH UHFHSWLRQ EXIIHU
The MPAKs may be sent from the radio modem in any order after the establishment of the connection.
188 (217)
ACK and NACK frames are sent by the unit that receives the information frame. The RACK frame will be sent if no reply has been received within 10 seconds of the information frame being sent. The RACK frame is sent by the unit which sent the information frame. If there is no reply to the RACK frame, a new RACK frame will be sent every 10 seconds. If no ACK has been received within 30 seconds, the higher level layer must be notified. The repetition of RACK will continue until interrupted by the application or by a received ACK. The sequence number of an ACK received as a reply to a RACK will be compared with the last sequ number saved. If these numbers are equal, the last information frame was received correctly, but the ACK was lost. This case is the only case in which the information frame will not be repeated. An ACK with a sequence number value equal to - (minus sign) means that the information frame must be repeated. If transmission of an INIT frame starts the handling of an error with RACK, the INIT frame must be repeated, regardless of the value of the sequ field in the ACK frame following RACK.
1RWH
The sequence number mentioned in this section belongs to the ACK frame. Do not confuse this sequence number with the sequence number of an M, N or R frame.
The table below summarizes the actions to be taken when receiving an ACK frame as a reply to a RACK.
Action: R = repeat the information frame X = do not repeat the information frame - = minus sign
Sequence number of the last ACK received before the RACK No ACK was received before the RACK
0 1
189 (217)
([DPSOHV In the following examples, the direction of the different frames may be interchanged. (VWDEOLVK &RQQHFWLRQ When the application is started, initialization is performed to set up the communication parameters. The first ACK sent should be <ACK0>. The initialization procedure is also performed whenever the connection has been broken.
Radio modem
,QIRUPDWLRQ )UDPH ZLWK $&. This is the normal status, with an acknowledgement sent as a reply to the information frame. The latest ACK sent by the PC was <ACK0>.
Radio modem
)LJXUH 'LUHFWLRQ RI WKH LQIRUPDWLRQ IUDPH DQG WKH $&. IUDPH
190 (217)
'LVWXUEHG ,QIRUPDWLRQ )UDPH This is an example of how errors are handled in the protocol when a character in an information frame is disturbed when being sent over the communication link. The latest ACK sent by the PC was <ACK1>.
PC
Disturbance
Radio modem
/RVW ,QIRUPDWLRQ )UDPH This is an example of how errors are handled in the protocol when an information frame is lost. The latest ACK sent by the PC was <ACK1>.
PC Information frame
stop Time-out
Radio modem
<RACK>
103/2882-AE/LZT 123 778/1 A
<ACK0>
)LJXUH 5HWUDQVPLVVLRQ SURFHGXUH LQIRUPDWLRQ IUDPH ORVW
If the information frame does not reach the PC, RACK is sent and the ACK that is repeated will have an old sequence number (compared to the latest ACK received), indicating that the information frame was not received. The lost information frame must be retransmitted.
2/198 17 - KRD 102 303 Uen, Rev B, 2002-02-27
191 (217)
,QIRUPDWLRQ )UDPH ZLWK /RVW $&. This is an example of how errors are handled in the protocol when an acknowledgement is lost. The latest ACK sent by the PC was <ACK1>.
Radio modem
stop Time-out
104/2882-AE/LZT 123 778/1 A 105/2882-AE/LZT 123 778/1 A
<RACK>
<ACK0>
)LJXUH 5HWUDQVPLVVLRQ SURFHGXUH $&. ORVW
If the ACK0 does not reach the radio modem, RACK is sent and the repeated ACK will have a new sequence number (compared to the latest ACK received), indicating that the information frame was received correctly. &KHFN &RPPXQLFDWLRQ /LQN /LQN LV 2. To check the communication link between the radio modem and the PC, the application may send a SENS frame as soon as there is no other traffic in process between the units. The time between two SENS frames must be at least 10 seconds. The SACK frame must be sent within 10 seconds of the SENS frame being received.
PC <SENS> <SACK>
Radio modem
192 (217)
&KHFN &RPPXQLFDWLRQ /LQN /LQN LV EURNHQ If the link is broken, no SACK will be sent from the radio modem. If two SENS frames have been sent without receiving a reply, the unit which sent SENS must restart the link by sending an INIT frame.
Radio modem
106/2882-AE/LZT 123 778/1 A
Radio modem
107/2882-AE/LZT 123 778/1 A
2/198 17 - KRD 102 303 Uen, Rev B, 2002-02-27
193 (217)
6HQG 03$. The M-frame from the PC is a request to send an MPAK to the Mobitex network. If the MPAK is erroneous, it is returned by the R-frame. An erroneous MPAK must be corrected before it is retransmitted to the radio modem.
PC M
Radio modem
No
No
Yes
FH
N R
If transmission of the MPAK to the network fails, the MPAK is returned to the PC by an N-frame. To prevent the radio modems buffer from becoming full, each MPAK sent from the PC should be acknowledged by an FH-frame before the next one is sent. 5HFHLYH 03$. The M-frame from the radio modem includes the incoming MPAK from the Mobitex network.
PC M
Radio modem
194 (217)
&DQFHO 3UHYLRXV 7UDQVPLVVLRQ RI 03$. The M-frame from the PC is a request to transmit an MPAK to the Mobitex network. The FI-frame is used to retrieve the last MPAK sent, if it has not already been transmitted to the Mobitex network. It is not possible to recall more than one MPAK even if there is a queue of MPAKs waiting to be transmitted to the Mobitex network.
PC M FI N
)LJXUH &DQFHO WUDQVPLVVLRQ RI 03$.
Radio modem
110/2882-AE/LZT 123 778/1 A
,QIRUPDWLRQ $ERXW )XOO 7UDQVPLVVLRQ %XIIHU The M-frame from the PC is a request to send an MPAK to the Mobitex network. If the transmission buffer becomes full when the radio modem is receiving an MPAK, the PC will be notified by an FK-frame.
M
The buffer is full
F KA 0
)LJXUH %XIIHU IXOO
PC
Radio modem
195 (217)
7UDQVPLVVLRQ %XIIHU )XOO 6WLOO 7U\LQJ WR 6HQG 03$. An M-frame from the PC is a request to send an MPAK to the Mobitex network. If the transmission buffer is full and the radio modem receives a new request to send an MPAK, the MPAK will be returned by an N-frame. If there is no sequence number in the M-frame, then the error code is sent in an FKframe.
PC
Radio modem
The buffer is full
M F K13 N
)LJXUH %XIIHU IXOO VWLOO WU\LQJ
If there is a sequence number, then the error code is included in the N-frame.
PC
Radio modem
The buffer is full 113/2882-AE/LZT 123 778/1 A
M4 N 13,4
)LJXUH %XIIHU IXOO VWLOO WU\LQJ ZLWK VHTXHQFH QXPEHU
196 (217)
7XUQLQJ 3RZHU 2II E\ &RPPDQG The FO-frame from the PC is a command to turn off the radio modem. Queued MPAKs that could not be sent to the Mobitex network are returned by N-frames.
PC FO
Radio modem
No
N
114/2882-AE/LZT 123 778/1 A
N FO Power off
7XUQLQJ 3RZHU 2II ZLWK WKH 212)) .H\ Certain types of radio modems may be turned off manually with an ON/OFF key. The procedure is equal to that described above, except that the first FO-frame is replaced by the ON/OFF key being pressed.
197 (217)
*URXSV RI 'LDORJXHV
The following groups of dialogues are used in conjunction with the radio modem (the corresponding packet names are shown in brackets): 368%&20 3DFNHW6ZLWFKHG 6XEVFULEHU &RPPXQLFDWLRQ - Internal traffic without address list - Internal traffic with address list - Internal traffic to groups - External traffic (TEXT, DATA, STATUS, HPDATA) (as above) (as above) (EXTPAK)
'7(6(59 'DWD 7HUPLQDO 6HUYLFH &RPPXQLFDWLRQ SUBSCRIPTION STATUS - Login - Logout MOBILE TERMINAL STATUS - Activation - Deactivation (ACTIVE) (INACTIVE) (LOGINREQ, LOGINGRA, LOGINREF) (LOGOUT, LOGOUTORD)
MOBILE TERMINAL INFORMATION - Updating groups - Updating area IDs - Time information (GROUPLIST) (AREALIST) (TIME)
198 (217)
A-party
Network
B-party
115/2882-AE/LZT 123 778/1 A
All fields of TEXT1 and TEXT2, except the time field, are identical.
A-party "TEXT" 1
Network
B-party
116/2882-AE/LZT 123 778/1 A
"TEXT" 2 "TEXT" 2
If the B-partys ACK signal from B to the network is destroyed, the TEXT2 will be returned to the A-party, even if it has reached its destination. The traffic state of the returned packet will be NO_TRANSFER.
A-party
Network
B-party
117/2882-AE/LZT 123 778/1 A
If the POSACK_F flag in TEXT1 is raised, an identical copy of the message will be created by the network when the B-party has acknowledged the message. The copy is returned to the original sender.
199 (217)
A-party
Network
B-party
118/2882-AE/LZT 123 778/1 A
"TEXT" 1
"TEXT" 2
TEXT1 has been generated with the subscriber flag MAILBOX_F=0, which indicates that the packet must not be stored in the network mailbox. or TEXT2 is returned with the traffic state = CONGEST (state 5) This dialogue also occurs when MAILBOX_F = 1 and the packet cannot be stored in the mailbox. A packet cannot be stored in the mailbox unless the B-party has mailbox service included in his subscription. If TEXT1 has subscriber flag MAILBOX_F = 1, the packet may be stored in the mailbox. A copy of TEXT1 is stored in the network mailbox. TEXT2 has the traffic state = IN_MAIL (state 2). Packets stored in the mailbox are sent to the addressee when the mobile terminal has sent an ACTIVE MPAK. See the note above concerning subscribers who do not subscribe to the mailbox service. When the packets with POSACK_F = 1 are delivered after having been put in the mailbox, a copy of the original message is sent to the original sender with the traffic state = FROM_MAIL (state 1). TEXT2 is returned with the traffic state = NO_TRANSFER (state 3)
1RWH
200 (217)
A-party
Network
B-party
118/2882-AE/LZT 123 778/1 A
"TEXT" 1
"TEXT" 2
1.
Transfer not possible because: The B-party does not exist. TEXT2 is returned with the traffic state = ERROR (state 6). The A-party subscription does not permit transfer. TEXT2 is returned with the traffic state = ILLEGAL (state 4). The B-party subscription does not permit transfer. TEXT2 is returned with the traffic state = ILLEGAL (state 4). The network is overloaded. TEXT2 is returned with the traffic state = CONGEST (state 5). The packet cannot be switched due to a technical problem in the network. TEXT2 is returned with the traffic state = ERROR (state 6).
2.
3.
201 (217)
A-party
Network
B1
B2
B3
B4
TEXT2 - TEXT5, etc., are each allocated an address from the address list in TEXT1.
A-party
Network
B1
B2
B3
"TEXT" 2
If both the POSACK_F flag and the SENDLIST_F flag are raised, a positive acknowledgement is received for each addressee.
202 (217)
A-party
Network
B1
B2
B3
B4
122/2882-AE/LZT 123 778/1 A
TEXT2 - TEXT5, etc., in the dialogue do not contain address lists. 1. TEXT1 contains an address list and has the subscription flag MAILBOX_F = 0, that is, the packet must not be stored in the mailbox. TEXT2 and TEXT4 in this example have the traffic state = NO_TRANSFER (state 3).
1RWH
This dialogue above also occurs when MAILBOX_F = 1 and the packet cannot be stored in the mailbox. A packet cannot be stored in the mailbox unless the B-party has a mailbox service included in his subscription. If the mailbox is full, the packet will also be returned.
2.
TEXT1 contains an address list and has the subscription flag MAILBOX_F = 1, that is, the packet may be stored in the mailbox. TEXT2 and TEXT4 now have the traffic state = IN_MAIL (state 2). If the B-partys subscription does not include the mailbox service, the packet is returned as an item 1 above.
A-party
Network
B-party
123/2882-AE/LZT 123 778/1 A
"TEXT" 1 "TEXT" 2
203 (217)
1.
TEXT2 is returned before the packet was copied. TEXT2 contains the address list.
A-party
Network
B-party
124/2882-AE/LZT 123 778/1 A
2.
TEXT2, etc., are returned after the packet was copied by the network. The returned packets contain no address list.
The returned packets will have the traffic state = ILLEGAL (state 4), CONGEST (state 5) or ERROR (state 6) depending on the reason for the return.
([WHUQDO 7UDIILF
External traffic means traffic with different telecommunications networks external to Mobitex. Dialogues between a mobile terminal and these networks must be specified by the operator of the external network.
204 (217)
/RJLQ
For all login dialogues, the original packet (LOGINREQ) is generated by the Aparty.
"LOGINREQ" "LOGINGRA"
A-party
Network
Network
Network
1.
LOGINREQ2 is returned with the traffic state = ILLEGAL. Login is denied. An incorrect subscription number may have been entered. LOGINREQ2 is returned with the traffic state = CONGEST The network is overloaded. LOGINREQ2 is returned with the traffic state = ERROR Technical error.
2.
3.
205 (217)
/RJRXW
A-party "LOGOUT"
Network
A-party "LOGOUTORD"
Network
If a personal subscription is logged in on mobile terminal A while still registered as logged in on mobile terminal B, the network will send LOGOUTORD to mobile terminal B.
$FWLYDWLRQ
A-party "ACTIVE"
Network
206 (217)
Network
137/2882-AE/LZT 123 778/1 A
The messages (MPAKs) in the mailbox may be addressed to the mobile terminal, the personal subscription or both. Messages are stored in the mailbox while the mobile terminal is inactive. Packets sent from the mailbox are delayed with respect to each other to prevent overloading of the mobile terminal.
'HDFWLYDWLRQ
A-party "INACTIVE"
Network
207 (217)
Network "DIE"
B-party
)LJXUH 7KH PRELOH WHUPLQDO PXVW QRW VHQG XVHU WUDIILF
Network "LIVE"
B-party
)LJXUH 7KH PRELOH WHUPLQDO PD\ VHQG XVHU WUDIILF DJDLQ
DIE and LIVE are stored in the mailbox if the B-party is not active.
208 (217)
Network "GROUPLIST"
B-party
A-party "MODE"
Network
)LJXUH 7KH UDGLR PRGHP LQIRUPV WKH QHWZRUN DERXW FKDQJHG PRGH
Network "TIME"
B-party
The TIME packet is sent with regular intervals when no other traffic is loading the network. The time information stated is the time of the day when the packet is sent from the network.
2/198 17 - KRD 102 303 Uen, Rev B, 2002-02-27
209 (217)
The information in the TIME packet may be used to check the internal time piece in the PC.
1RWH
Do not confuse the TIME packet with the time information given in other packets. The time information embedded in data transferring packets states the time when the network first received the packet - not the time for retransmission.
210 (217)
3HUVRQDO 6XEVFULSWLRQV
A personal subscription is linked to a person and not to any particular terminal. It can be activated from any terminal defined for personal subscriptions, either fixed or mobile. This is useful for subscribers who often use different terminals, for example in different vehicles or in rental cars. When a personal subscription logs in, the services defined for it are made available to the user. However, the technical limitations of the terminal being used can limit the services. A login message always includes a password and notifies the network that a personal subscription has been logged in at that particular physical terminal. The network regards the subscription as having been transferred to this terminal until the user either sends a logout message or is logged in at another terminal. A personal subscription can only be logged in to one terminal at a time. A mobile terminal can have up to seven personal subscriptions logged in simultaneously. The subscription numbers for the personal subscriptions logged in via a terminal are stored in the terminals Flexlist.
211 (217)
*URXS 6XEVFULSWLRQV
A group subscription is comprised by a number of mobile terminal subscriptions. Any mobile terminal subscription can be a member of up to 15 different group subscriptions. All mobile terminals will belong to the All-Terminals Group. The member of a group will be addressed via the subscription number of the group. The subscription numbers for group subscriptions are stored in a Grouplist. A group subscription can only receive messages.
212 (217)
1RWH
The portable radio modems shall also follow the rules for TRANSACTION_TIME.
3RVVLELOLW\ IRU 4XLFNHU 5HWXUQ WR 6WDQG%\ 0RGH IRU 3RUWDEOH 5DGLR 0RGHPV
A new field, ADDRESSED, and a new flag, G7, will be added to the <SVP6> primary block. The field ADDRESSED will also ba added to the <SVP5> primary block. The ADDRESSED field consists of 31 bits, representing 31 flags, f0-f30. These flags may be used by the radio modem to determine if it will monitor the following MAN list of the sweep signal or return to stand-by mode. Flag fn is set if any of the MANs in the list satisfies the following condition: MAN modulo 31 = n. If the G7 flag (<SVP6> frame only) or the flag (fn) corresponding to the terminal MAN or any of the MANs included in the grouplist is set, the radio modem will continue in operational mode and check its own MAN and the MANs included in its group list against the list of MANs included in the sweep frame. If none of the G7 flag and the flags (fn) corresponding to the terminal MAN and the MANs in the terminal grouplist except group 7 are set, then the terminal may enter stand-by mode immediately.
1.Radio base stations not supporting the new functionality do not sort the MANs in any particular order.
213 (217)
If the radio modem enters stand-by mode during reception of an <SVP5> signal, it must be back in reception mode in time to receive the following <SVP6> signal.
6%)B$&.! )UDPH
A new, shorter frame, the <SBF_ACK> frame is introduced to improve the radio base stations ability to correctly receive and acknowledge frames from the radio modem under poor radio conditions. Two new <SBF_ACK> frames should be sent instead of one <ACK> frame (however to conserve battery the radio modem may choose to send only one <SBF_ACK> frame if the signal strength is considered sufficient).
1RWH
The <SBF_ACK> frame must not be used if the extended battery saving protocol is not supported.
5RDPLQJ &ULWHULD
The criteria for evaluating other base radio stations and when to roam into another base radio station are not defined in this document. However, the parameters GOODBASE and BADBASE should not be used, since the radio modems in paginglike applications may work at lower signal levels than specified in these parameters. When roaming into a base radio station, the radio modem will determine the base radio stations radio protocol revision by monitoring the radio channel for a <FRI> or <SVP3> frame and checking REVISION INFO. If REVISION INFO is set to 0, the base radio station does not support the extended battery saving protocol and the portable radio modem will act accordingly.
214 (217)
If REVISION INFO is 1 or higher, the SKIPNUM value must be sent to the Mobitex network from the radio modem in one of the subtypes of the new DTSERV MPAK LOWPOWER. If the radio modem operates in battery saving mode, the radio modem will synchronize its channel monitoring with the <SVP6> frames transmitted. The use of the new SKIPNUM parameter implies that a criterion for leaving CURRENT BASE must be modified. If the radio modem has lost consecutive <SVP6> frames within the time TLeaveCurrentBase (Defined below), it should stay in the operating state to re-synchronizing within 60 seconds, it should begin quick channel monitoring (roaming). TLeaveCurrentBase = SKIPNUM * EVALUATE_CURRENT where EVALUATE_CURRENT is a parameter sent in the <SVP6> frame.
215 (217)
The value of these two parameters and the SKIPNUM parameter defines the next time the radio modem should enter the operating state. To ensure that the portable radio modems receive <SVP3> and <SVP5> frames the <SVP3> and <SVP5> periodicity must be an odd number. When needed <SVP4> and <SVP 5> frames will be sent before the <SVP 6> frame.
Sweep Period <SVP3> Periodicity SKIPNUM) Sweep Period <SVP5> Periodicity SKIPNUM)
)LJXUH
216 (217)
*ORVVDU\
The list below describes some terms used in this manual. CCITT The International Telegraph and Telephone Consultative Committee: an advisory committee established to recommend world-wide standards. Mobitex Subscription Number, also called Mobitex Access Number. Every subscriber connected to a Mobitex system is assigned a MAN number. The mobile terminals MAN number is stored in the radio modem. In this manual MAN number means the same thing as phone number. Mobitex Asynchronous Communication, a protocol used for communication between a radio modem and its connected PC. A radio modem connected to a data terminal or a PC. The equipment does not necessarily have to be really mobile. An electronic device that permits digital equipment to use analog media for data communication. Mobitex Packet, digital information to be transmitted by a radio modem. The packet includes addressee and sender information as well as certain control signals. The Network Identity is unique to each Mobitex network. A radio modem user may subscribe to up to four different networks. Open Systems Interface Reference Model. Standardised procedures for enabling computers to communicate with each other. Personal Computer. In this manual the term PC is used for any data terminal unit that the user has connected to the radio modem. It corresponds to a data terminal equipment (DTE) according to CCITT V.24. A set of rules governing the operation of functional units of a communication system. The protocol must be followed if communication is to be achieved. A modem for wireless communication. In this manual a radio modem is equivalent of a Mobidem. It corresponds to a data circuit terminating equipment (DCE) according to CCITT V.24.
MASC
Mobile terminal
Modem MPAK
Network ID
Protocol
217 (217)
Radio protocol
Protocol used for transferring data over a radio channel. The radio protocol makes error-free data transfer possible.