RSPRO.asn: Improve comments/description

Change-Id: I66e62b69a32382703f809160997825bd4405c5b2
This commit is contained in:
Harald Welte 2018-08-16 14:45:23 +02:00
parent cce2aadbb3
commit f0614dfd33
1 changed files with 12 additions and 10 deletions

View File

@ -131,7 +131,7 @@ SlotPhysStatus ::= SEQUENCE {
---------------------------------------------------------------------- ----------------------------------------------------------------------
-- SIM Bank connects to central server -- BANKD->SERVER: SIM Bank connects to central server
ConnectBankReq ::= SEQUENCE { ConnectBankReq ::= SEQUENCE {
-- identity of the bank that is connecting to the server -- identity of the bank that is connecting to the server
identity ComponentIdentity, identity ComponentIdentity,
@ -147,19 +147,20 @@ ConnectBankRes ::= SEQUENCE {
... ...
} }
-- CLIENT->SERVER or CLIENT->BANKD
ConnectClientReq ::= SEQUENCE { ConnectClientReq ::= SEQUENCE {
-- identity of the bank that is connecting to the server -- identity of the client that is connecting to the server/bankd
identity ComponentIdentity, identity ComponentIdentity,
... ...
} }
ConnectClientRes ::= SEQUENCE { ConnectClientRes ::= SEQUENCE {
-- identity of the bnak to which the client is connecting -- identity of the bankd/server to which the client is connecting
identity ComponentIdentity, identity ComponentIdentity,
result ResultCode, result ResultCode,
... ...
} }
-- create a mapping between a given Bank:Slot <-> Client:Slot -- SERVER->BANKD: create a mapping between a given Bank:Slot <-> Client:Slot
CreateMappingReq ::= SEQUENCE { CreateMappingReq ::= SEQUENCE {
client ClientSlot, client ClientSlot,
bank BankSlot, bank BankSlot,
@ -170,7 +171,7 @@ CreateMappingRes ::= SEQUENCE {
... ...
} }
-- remove a mapping between a given Bank:Slot <-> Client:Slot -- SERVER->BANKD: remove a mapping between a given Bank:Slot <-> Client:Slot
RemoveMappingReq ::= SEQUENCE { RemoveMappingReq ::= SEQUENCE {
client ClientSlot, client ClientSlot,
bank BankSlot, bank BankSlot,
@ -181,6 +182,7 @@ RemoveMappingRes ::= SEQUENCE {
... ...
} }
-- SERVER->CLIENT: set configuration (client ID and BANK IP/Port)
ConfigClientReq ::= SEQUENCE { ConfigClientReq ::= SEQUENCE {
-- server-allocated assignment of a client ID -- server-allocated assignment of a client ID
clientId ClientId, clientId ClientId,
@ -193,7 +195,7 @@ ConfigClientRes ::= SEQUENCE {
... ...
} }
-- configure the ATR which the card emulator (client) shall send to the modem -- BANKD->CLIENT: configure the ATR which the card emulator (client) shall send to the modem
SetAtrReq ::= SEQUENCE { SetAtrReq ::= SEQUENCE {
slot ClientSlot, slot ClientSlot,
atr ATR, atr ATR,
@ -204,7 +206,7 @@ SetAtrRes ::= SEQUENCE {
... ...
} }
-- TPDU in Modem -> Card direction -- CLIENT->BANKD: TPDU in Modem -> Card direction
TpduModemToCard ::= SEQUENCE { TpduModemToCard ::= SEQUENCE {
-- we include fully-qualified bank and client slots for easier debugging -- we include fully-qualified bank and client slots for easier debugging
fromClientSlot ClientSlot, fromClientSlot ClientSlot,
@ -214,7 +216,7 @@ TpduModemToCard ::= SEQUENCE {
... ...
} }
-- TPDU in Card -> Modem direction -- BANKD->CLIENT: TPDU in Card -> Modem direction
TpduCardToModem ::= SEQUENCE { TpduCardToModem ::= SEQUENCE {
-- we include fully-qualified bank and client slots for easier debugging -- we include fully-qualified bank and client slots for easier debugging
fromBankSlot BankSlot, fromBankSlot BankSlot,
@ -224,7 +226,7 @@ TpduCardToModem ::= SEQUENCE {
... ...
} }
-- indciation about the current status of a client (modem side) -- CLIENT->BANKD: indciation about the current status of a client (modem side)
ClientSlotStatusInd ::= SEQUENCE { ClientSlotStatusInd ::= SEQUENCE {
fromClientSlot ClientSlot, fromClientSlot ClientSlot,
toBankSlot BankSlot, toBankSlot BankSlot,
@ -232,7 +234,7 @@ ClientSlotStatusInd ::= SEQUENCE {
... ...
} }
-- indciation about the current status of a bank (modem side) -- BANKD->CLIENT: indciation about the current status of a bank (modem side)
BankSlotStatusInd ::= SEQUENCE { BankSlotStatusInd ::= SEQUENCE {
fromBankSlot BankSlot, fromBankSlot BankSlot,
toClientSlot ClientSlot, toClientSlot ClientSlot,