RSPRO.asn: Improve comments/description
Change-Id: I66e62b69a32382703f809160997825bd4405c5b2
diff --git a/asn1/RSPRO.asn b/asn1/RSPRO.asn
index 8e4f266..b530887 100644
--- a/asn1/RSPRO.asn
+++ b/asn1/RSPRO.asn
@@ -131,7 +131,7 @@
----------------------------------------------------------------------
--- SIM Bank connects to central server
+-- BANKD->SERVER: SIM Bank connects to central server
ConnectBankReq ::= SEQUENCE {
-- identity of the bank that is connecting to the server
identity ComponentIdentity,
@@ -147,19 +147,20 @@
...
}
+-- CLIENT->SERVER or CLIENT->BANKD
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,
...
}
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,
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 {
client ClientSlot,
bank BankSlot,
@@ -170,7 +171,7 @@
...
}
--- remove a mapping between a given Bank:Slot <-> Client:Slot
+-- SERVER->BANKD: remove a mapping between a given Bank:Slot <-> Client:Slot
RemoveMappingReq ::= SEQUENCE {
client ClientSlot,
bank BankSlot,
@@ -181,6 +182,7 @@
...
}
+-- SERVER->CLIENT: set configuration (client ID and BANK IP/Port)
ConfigClientReq ::= SEQUENCE {
-- server-allocated assignment of a client ID
clientId ClientId,
@@ -193,7 +195,7 @@
...
}
--- 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 {
slot ClientSlot,
atr ATR,
@@ -204,7 +206,7 @@
...
}
--- TPDU in Modem -> Card direction
+-- CLIENT->BANKD: TPDU in Modem -> Card direction
TpduModemToCard ::= SEQUENCE {
-- we include fully-qualified bank and client slots for easier debugging
fromClientSlot ClientSlot,
@@ -214,7 +216,7 @@
...
}
--- TPDU in Card -> Modem direction
+-- BANKD->CLIENT: TPDU in Card -> Modem direction
TpduCardToModem ::= SEQUENCE {
-- we include fully-qualified bank and client slots for easier debugging
fromBankSlot BankSlot,
@@ -224,7 +226,7 @@
...
}
--- indciation about the current status of a client (modem side)
+-- CLIENT->BANKD: indciation about the current status of a client (modem side)
ClientSlotStatusInd ::= SEQUENCE {
fromClientSlot ClientSlot,
toBankSlot BankSlot,
@@ -232,7 +234,7 @@
...
}
--- indciation about the current status of a bank (modem side)
+-- BANKD->CLIENT: indciation about the current status of a bank (modem side)
BankSlotStatusInd ::= SEQUENCE {
fromBankSlot BankSlot,
toClientSlot ClientSlot,