int telephony_sim_get_lock_state(telephony_h handle, telephony_sim_lock_state_e *lock_state);
/**
- * @brief Gets the Group Identifier Level 1(GID1).
+ * @brief Gets the GID1 (Group Identifier Level 1).
* @details This function gets Group Identifier Level 1(GID1) embedded in the SIM card.
* If this value is not stored in SIM card, @c NULL will be returned.
*
*
* @see telephony_sim_get_state()
*/
-int telephony_sim_get_gid1(telephony_h handle, char **gid1);
+int telephony_sim_get_group_id1(telephony_h handle, char **gid1);
/**
* @brief Gets the call fowarding state of the SIM.
- * @details If the state is true, incoming call will be forwareded to selected number.
+ * @details If the state is true, incoming call will be forwarded to selected number.
*
* @since_tizen 3.0
* @privlevel public
*
* @param[in] handle The handle from telephony_init()
* @param[out] call_forwarding_state The value whether incoming call will be forwarded or not.
- * (true: forwared, false: not forwared)
+ * (true: forwarded, false: not forwarded)
*
* @return @c 0 on success,
* otherwise a negative error value
return error_code;
}
-int telephony_sim_get_gid1(telephony_h handle, char **gid1)
+int telephony_sim_get_group_id1(telephony_h handle, char **gid1)
{
int error_code = TELEPHONY_ERROR_NONE;
TelSimCardStatus_t sim_card_state = TAPI_SIM_STATUS_UNKNOWN;
LOGI("Lock state is [%d]", lock_state);
}
- ret_value = telephony_sim_get_gid1(handle_list.handle[0], &gid1);
+ ret_value = telephony_sim_get_group_id1(handle_list.handle[0], &gid1);
if (ret_value != TELEPHONY_ERROR_NONE) {
- LOGE("telephony_sim_get_gid1() failed!!! [%d]", ret_value);
+ LOGE("telephony_sim_get_group_id1() failed!!! [%d]", ret_value);
} else {
LOGI("GID1 is [%s]", gid1);
free(gid1);