Skip to content

Commit b4eac41

Browse files
committed
ril: update stk_enable API
Signed-off-by: Ajay Bhargav <[email protected]>
1 parent 4b95e99 commit b4eac41

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

include/ril/ril_stk.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,31 +36,32 @@ int stk_status(void);
3636

3737
/**
3838
* Enable/Disable SIM toolkit
39+
* @param en 1 to enable, 0 to disable
3940
* @return RIL return code @ref ril_rc_e
4041
*/
41-
int stk_enable(void);
42+
int stk_enable(int en);
4243

4344
/**
4445
* @brief Get current proactive command and qualifier ID
4546
*
46-
* @param cmd current TLK command id (@ref stk_cmd_e) (hex)
47-
* @param qual Qualifier value (hex) (optional)
47+
* @param cmd current TLK command id (@ref stk_cmd_e)
48+
* @param qual Qualifier value (optional)
4849
* @return RIL return code @ref ril_rc_e
4950
*/
5051
int stk_get_currcommand(uint8_t *cmd, uint8_t *qual);
5152

5253
/**
5354
* Send envelope command (AT+STKENV) to open menu items
5455
*
55-
* @param menu_id Menu ID to open (hex)
56+
* @param menu_id Menu ID to open
5657
* @return RIL return code @ref ril_rc_e
5758
*/
5859
int stk_open_menu(uint8_t menu_id);
5960

6061
/**
6162
* Select menu item (AT+STKR)
6263
*
63-
* @param item_id Item id from menu (hex)
64+
* @param item_id Item id from menu
6465
* @return RIL return code @ref ril_rc_e
6566
*/
6667
int stk_select_item(uint8_t item_id);

0 commit comments

Comments
 (0)