Minor fixes in IRadioIndication.hal
Test: none
Bug: 32020264
Change-Id: Ib8540a444c4b98ff033a8e2c519dd25e9b853c57
diff --git a/radio/1.0/IRadioIndication.hal b/radio/1.0/IRadioIndication.hal
index 4dbae17..79ebf30 100644
--- a/radio/1.0/IRadioIndication.hal
+++ b/radio/1.0/IRadioIndication.hal
@@ -81,8 +81,9 @@
* Indicates when new SMS has been stored on SIM card
*
* @param type Type of radio indication
+ * @param recordNumber Record number on the sim
*/
- oneway newSmsOnSim(RadioIndicationType type);
+ oneway newSmsOnSim(RadioIndicationType type, int32_t recordNumber);
/*
* Indicates when a new USSD message is received.
@@ -91,8 +92,9 @@
*
* @param type Type of radio indication
* @param modeType USSD type code
+ * @param msg Message string in UTF-8, if applicable
*/
- oneway onUssd(RadioIndicationType type, UssdModeType modeType);
+ oneway onUssd(RadioIndicationType type, UssdModeType modeType, string msg);
/*
* Indicates when radio has received a NITZ time message.
@@ -146,7 +148,7 @@
* @param cmd SAT/USAT proactive represented as byte array starting with command tag.
* Refer ETSI TS 102.223 section 9.4 for command types
*/
- oneway stkProactiveCommand(RadioIndicationType type, vec<uint8_t> cmd);
+ oneway stkProactiveCommand(RadioIndicationType type, string cmd);
/*
* Indicates when SIM notifies applcations some event happens.
@@ -157,7 +159,7 @@
* starting with first byte of response data for command tag. Refer
* ETSI TS 102.223 section 9.4 for command types
*/
- oneway stkEventNotify(RadioIndicationType type, vec<uint8_t> cmd);
+ oneway stkEventNotify(RadioIndicationType type, string cmd);
/*
* Indicates when SIM wants application to setup a voice call.
diff --git a/radio/1.0/types.hal b/radio/1.0/types.hal
index 926ee84..8c7f538 100644
--- a/radio/1.0/types.hal
+++ b/radio/1.0/types.hal
@@ -1789,9 +1789,7 @@
bool isMT; // notification type
// false = MO intermediate result code
// true = MT unsolicited result code
- bool isCode1; // See 27.007 7.17
- // true = "code1" for MO
- // false = "code2" for MT
+ int32_t code; // result code. See 27.007 7.17.
int32_t index; // CUG index. See 27.007 7.17.
int32_t type; // "type" from 27.007 7.17 (MT only).
string number; // "number" from 27.007 7.17