Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mdmngr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
IOPSYS
mdmngr
Commits
9d0ef87b
Commit
9d0ef87b
authored
7 years ago
by
Arun Muthusamy
Browse files
Options
Downloads
Patches
Plain Diff
swap libmobile api return struct type
parent
8b45740b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libmobile_hilink.c
+27
-27
27 additions, 27 deletions
libmobile_hilink.c
libmobile_hilink.h
+25
-25
25 additions, 25 deletions
libmobile_hilink.h
with
52 additions
and
52 deletions
libmobile_hilink.c
+
27
−
27
View file @
9d0ef87b
...
@@ -281,7 +281,7 @@ leave:
...
@@ -281,7 +281,7 @@ leave:
}
}
struct
write_resul
t
*
mobile_get_device_info_hilink
()
struct
json_objec
t
*
mobile_get_device_info_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/device/information"
;
char
*
api_url
=
"http://192.168.8.1/api/device/information"
;
...
@@ -289,7 +289,7 @@ struct write_result *mobile_get_device_info_hilink()
...
@@ -289,7 +289,7 @@ struct write_result *mobile_get_device_info_hilink()
}
}
struct
write_resul
t
*
mobile_get_monitoring_status_hilink
()
struct
json_objec
t
*
mobile_get_monitoring_status_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/monitoring/status"
;
char
*
api_url
=
"http://192.168.8.1/api/monitoring/status"
;
...
@@ -297,7 +297,7 @@ struct write_result *mobile_get_monitoring_status_hilink()
...
@@ -297,7 +297,7 @@ struct write_result *mobile_get_monitoring_status_hilink()
}
}
struct
write_resul
t
*
mobile_get_trafficstatistics_hilink
()
struct
json_objec
t
*
mobile_get_trafficstatistics_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/monitoring/traffic-statistics"
;
char
*
api_url
=
"http://192.168.8.1/api/monitoring/traffic-statistics"
;
...
@@ -305,7 +305,7 @@ struct write_result *mobile_get_trafficstatistics_hilink()
...
@@ -305,7 +305,7 @@ struct write_result *mobile_get_trafficstatistics_hilink()
}
}
struct
write_resul
t
*
mobile_get_provider_hilink
()
struct
json_objec
t
*
mobile_get_provider_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/net/current-plmn"
;
char
*
api_url
=
"http://192.168.8.1/api/net/current-plmn"
;
...
@@ -313,7 +313,7 @@ struct write_result *mobile_get_provider_hilink()
...
@@ -313,7 +313,7 @@ struct write_result *mobile_get_provider_hilink()
}
}
struct
write_resul
t
*
mobile_get_pin_status_hilink
()
struct
json_objec
t
*
mobile_get_pin_status_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/pin/status"
;
char
*
api_url
=
"http://192.168.8.1/api/pin/status"
;
...
@@ -321,7 +321,7 @@ struct write_result *mobile_get_pin_status_hilink()
...
@@ -321,7 +321,7 @@ struct write_result *mobile_get_pin_status_hilink()
}
}
struct
write_resul
t
*
mobile_get_connection_status_hilink
()
struct
json_objec
t
*
mobile_get_connection_status_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/dialup/connection"
;
char
*
api_url
=
"http://192.168.8.1/api/dialup/connection"
;
...
@@ -329,7 +329,7 @@ struct write_result *mobile_get_connection_status_hilink()
...
@@ -329,7 +329,7 @@ struct write_result *mobile_get_connection_status_hilink()
}
}
struct
write_resul
t
*
mobile_get_apn_profiles_hilink
()
struct
json_objec
t
*
mobile_get_apn_profiles_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/dialup/profiles"
;
char
*
api_url
=
"http://192.168.8.1/api/dialup/profiles"
;
...
@@ -337,7 +337,7 @@ struct write_result *mobile_get_apn_profiles_hilink()
...
@@ -337,7 +337,7 @@ struct write_result *mobile_get_apn_profiles_hilink()
}
}
struct
write_resul
t
*
mobile_get_notification_hilink
()
struct
json_objec
t
*
mobile_get_notification_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/monitoring/check-notifications"
;
char
*
api_url
=
"http://192.168.8.1/api/monitoring/check-notifications"
;
...
@@ -345,7 +345,7 @@ struct write_result *mobile_get_notification_hilink()
...
@@ -345,7 +345,7 @@ struct write_result *mobile_get_notification_hilink()
}
}
struct
write_resul
t
*
mobile_get_sms_count_hilink
()
struct
json_objec
t
*
mobile_get_sms_count_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/sms/sms-count"
;
char
*
api_url
=
"http://192.168.8.1/api/sms/sms-count"
;
...
@@ -366,7 +366,7 @@ struct json_object *mobile_get_language_hilink()
...
@@ -366,7 +366,7 @@ struct json_object *mobile_get_language_hilink()
}
}
/* post calls */
/* post calls */
struct
write_resul
t
*
mobile_create_apn_profile_hilink
(
char
*
name
,
char
*
apn_name
,
char
*
username
,
char
*
password
)
struct
json_objec
t
*
mobile_create_apn_profile_hilink
(
char
*
name
,
char
*
apn_name
,
char
*
username
,
char
*
password
)
{
{
char
*
api_url
=
"http://192.168.8.1/api/dialup/profiles"
;
char
*
api_url
=
"http://192.168.8.1/api/dialup/profiles"
;
char
post_query
[
1024
];
char
post_query
[
1024
];
...
@@ -377,7 +377,7 @@ struct write_result *mobile_create_apn_profile_hilink(char *name, char *apn_name
...
@@ -377,7 +377,7 @@ struct write_result *mobile_create_apn_profile_hilink(char *name, char *apn_name
}
}
struct
write_resul
t
*
mobile_set_apn_profile_default_hilink
(
char
*
name
,
char
*
apn_name
,
char
*
username
,
char
*
password
)
struct
json_objec
t
*
mobile_set_apn_profile_default_hilink
(
char
*
name
,
char
*
apn_name
,
char
*
username
,
char
*
password
)
{
{
char
*
api_url
=
"http://192.168.8.1/api/dialup/profiles"
;
char
*
api_url
=
"http://192.168.8.1/api/dialup/profiles"
;
char
post_query
[
1024
];
char
post_query
[
1024
];
...
@@ -388,7 +388,7 @@ struct write_result *mobile_set_apn_profile_default_hilink(char *name, char *apn
...
@@ -388,7 +388,7 @@ struct write_result *mobile_set_apn_profile_default_hilink(char *name, char *apn
}
}
struct
write_resul
t
*
mobile_delete_apn_profile_hilink
(
int
profile_name_location
)
struct
json_objec
t
*
mobile_delete_apn_profile_hilink
(
int
profile_name_location
)
{
{
char
*
api_url
=
"http://192.168.8.1/api/dialup/profiles"
;
char
*
api_url
=
"http://192.168.8.1/api/dialup/profiles"
;
char
post_query
[
512
];
char
post_query
[
512
];
...
@@ -399,7 +399,7 @@ struct write_result *mobile_delete_apn_profile_hilink(int profile_name_location)
...
@@ -399,7 +399,7 @@ struct write_result *mobile_delete_apn_profile_hilink(int profile_name_location)
}
}
struct
write_resul
t
*
mobile_sms_read_hilink
(
int
sms_location
)
struct
json_objec
t
*
mobile_sms_read_hilink
(
int
sms_location
)
{
{
char
*
api_url
=
"http://192.168.8.1/api/sms/set-read"
;
char
*
api_url
=
"http://192.168.8.1/api/sms/set-read"
;
char
post_query
[
256
];
char
post_query
[
256
];
...
@@ -410,7 +410,7 @@ struct write_result *mobile_sms_read_hilink(int sms_location)
...
@@ -410,7 +410,7 @@ struct write_result *mobile_sms_read_hilink(int sms_location)
}
}
struct
write_resul
t
*
mobile_sms_delete_hilink
(
int
sms_location
)
struct
json_objec
t
*
mobile_sms_delete_hilink
(
int
sms_location
)
{
{
char
*
api_url
=
"http://192.168.8.1/api/sms/delete-sms"
;
char
*
api_url
=
"http://192.168.8.1/api/sms/delete-sms"
;
char
post_query
[
256
];
char
post_query
[
256
];
...
@@ -421,7 +421,7 @@ struct write_result *mobile_sms_delete_hilink(int sms_location)
...
@@ -421,7 +421,7 @@ struct write_result *mobile_sms_delete_hilink(int sms_location)
}
}
struct
write_resul
t
*
mobile_reset_traffic_hilink
()
struct
json_objec
t
*
mobile_reset_traffic_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/monitoring/clear-traffic"
;
char
*
api_url
=
"http://192.168.8.1/api/monitoring/clear-traffic"
;
char
*
post_query
=
"<request><ClearTraffic>1</ClearTraffic></request>"
;
char
*
post_query
=
"<request><ClearTraffic>1</ClearTraffic></request>"
;
...
@@ -430,7 +430,7 @@ struct write_result *mobile_reset_traffic_hilink()
...
@@ -430,7 +430,7 @@ struct write_result *mobile_reset_traffic_hilink()
}
}
/* mobile_LTE_register has to be called to enbale or disable LTE */
/* mobile_LTE_register has to be called to enbale or disable LTE */
struct
write_resul
t
*
mobile_LTE_register_hilink
()
struct
json_objec
t
*
mobile_LTE_register_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/net/register"
;
char
*
api_url
=
"http://192.168.8.1/api/net/register"
;
char
*
post_query
=
"<request><Mode>0</Mode><Plmn></Plmn><Rat></Rat></request>"
;
char
*
post_query
=
"<request><Mode>0</Mode><Plmn></Plmn><Rat></Rat></request>"
;
...
@@ -439,7 +439,7 @@ struct write_result *mobile_LTE_register_hilink()
...
@@ -439,7 +439,7 @@ struct write_result *mobile_LTE_register_hilink()
}
}
struct
write_resul
t
*
mobile_LTE_enable_hilink
()
struct
json_objec
t
*
mobile_LTE_enable_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/net/net-mode"
;
char
*
api_url
=
"http://192.168.8.1/api/net/net-mode"
;
char
*
post_query
=
"<request><NetworkMode>00</NetworkMode><NetworkBand>3FFFFFFF</NetworkBand><LTEBand>7FFFFFFFFFFFFFFF</LTEBand></request>"
;
char
*
post_query
=
"<request><NetworkMode>00</NetworkMode><NetworkBand>3FFFFFFF</NetworkBand><LTEBand>7FFFFFFFFFFFFFFF</LTEBand></request>"
;
...
@@ -448,7 +448,7 @@ struct write_result *mobile_LTE_enable_hilink()
...
@@ -448,7 +448,7 @@ struct write_result *mobile_LTE_enable_hilink()
}
}
struct
write_resul
t
*
mobile_LTE_disable_hilink
()
struct
json_objec
t
*
mobile_LTE_disable_hilink
()
{
{
char
*
api_url
=
"http://192.168.8.1/api/net/net-mode"
;
char
*
api_url
=
"http://192.168.8.1/api/net/net-mode"
;
char
*
post_query
=
"<NetworkMode>0201</NetworkMode><NetworkBand>3FFFFFFF</NetworkBand><LTEBand>7FFFFFFFFFFFFFFF</LTEBand></request>"
;
char
*
post_query
=
"<NetworkMode>0201</NetworkMode><NetworkBand>3FFFFFFF</NetworkBand><LTEBand>7FFFFFFFFFFFFFFF</LTEBand></request>"
;
...
@@ -458,7 +458,7 @@ struct write_result *mobile_LTE_disable_hilink()
...
@@ -458,7 +458,7 @@ struct write_result *mobile_LTE_disable_hilink()
/* 00 - default- 4g, 01 - 2g, 02 - 3g */
/* 00 - default- 4g, 01 - 2g, 02 - 3g */
struct
write_resul
t
*
mobile_set_connection_type_hilink
(
int
connection_type
)
struct
json_objec
t
*
mobile_set_connection_type_hilink
(
int
connection_type
)
{
{
char
*
api_url
=
"http://192.168.8.1/api/dialup/connection"
;
char
*
api_url
=
"http://192.168.8.1/api/dialup/connection"
;
char
post_query
[
256
];
char
post_query
[
256
];
...
@@ -469,7 +469,7 @@ struct write_result *mobile_set_connection_type_hilink(int connection_type)
...
@@ -469,7 +469,7 @@ struct write_result *mobile_set_connection_type_hilink(int connection_type)
}
}
struct
write_resul
t
*
data_roaming_hilink
(
int
action
)
struct
json_objec
t
*
data_roaming_hilink
(
int
action
)
{
{
char
*
api_url
=
"http://192.168.8.1/api/dialup/connection"
;
char
*
api_url
=
"http://192.168.8.1/api/dialup/connection"
;
char
post_query
[
256
];
char
post_query
[
256
];
...
@@ -480,19 +480,19 @@ struct write_result *data_roaming_hilink(int action)
...
@@ -480,19 +480,19 @@ struct write_result *data_roaming_hilink(int action)
}
}
struct
write_resul
t
*
mobile_data_roaming_enable_hilink
()
struct
json_objec
t
*
mobile_data_roaming_enable_hilink
()
{
{
return
data_roaming
(
ENABLE
);
return
data_roaming
(
ENABLE
);
}
}
struct
write_resul
t
*
mobile_data_roaming_disable_hilink
()
struct
json_objec
t
*
mobile_data_roaming_disable_hilink
()
{
{
return
data_roaming
(
DISABLE
);
return
data_roaming
(
DISABLE
);
}
}
/* 00 -> enter pin, 01 -> activate pin, 02 ->disable pin, 03 -> change pin, 04 -> enter puk */
/* 00 -> enter pin, 01 -> activate pin, 02 ->disable pin, 03 -> change pin, 04 -> enter puk */
struct
write_resul
t
*
pin_action_hilink
(
char
*
type
,
char
*
current_pin
,
char
*
new_pin
,
char
*
puk
)
struct
json_objec
t
*
pin_action_hilink
(
char
*
type
,
char
*
current_pin
,
char
*
new_pin
,
char
*
puk
)
{
{
char
*
api_url
=
"http://192.168.8.1/api/pin/operate"
;
char
*
api_url
=
"http://192.168.8.1/api/pin/operate"
;
char
post_query
[
256
];
char
post_query
[
256
];
...
@@ -503,25 +503,25 @@ struct write_result *pin_action_hilink(char *type, char *current_pin, char *new_
...
@@ -503,25 +503,25 @@ struct write_result *pin_action_hilink(char *type, char *current_pin, char *new_
}
}
struct
write_resul
t
*
mobile_pin_enable_hilink
(
char
*
current_pin
)
struct
json_objec
t
*
mobile_pin_enable_hilink
(
char
*
current_pin
)
{
{
return
pin_action
(
"01"
,
current_pin
,
""
,
""
);
return
pin_action
(
"01"
,
current_pin
,
""
,
""
);
}
}
struct
write_resul
t
*
mobile_pin_disable_hilink
(
char
*
current_pin
)
struct
json_objec
t
*
mobile_pin_disable_hilink
(
char
*
current_pin
)
{
{
return
pin_action
(
"02"
,
current_pin
,
""
,
""
);
return
pin_action
(
"02"
,
current_pin
,
""
,
""
);
}
}
struct
write_resul
t
*
mobile_pin_set_hilink
(
char
*
current_pin
,
char
*
new_pin
)
struct
json_objec
t
*
mobile_pin_set_hilink
(
char
*
current_pin
,
char
*
new_pin
)
{
{
return
pin_action
(
"03"
,
current_pin
,
new_pin
,
""
);
return
pin_action
(
"03"
,
current_pin
,
new_pin
,
""
);
}
}
struct
write_resul
t
*
mobile_set_language_hilink
(
char
*
language_name
)
struct
json_objec
t
*
mobile_set_language_hilink
(
char
*
language_name
)
{
{
char
*
api_url
=
"http://192.168.8.1/api/language/current-language"
;
char
*
api_url
=
"http://192.168.8.1/api/language/current-language"
;
char
post_query
[
128
];
char
post_query
[
128
];
...
...
This diff is collapsed.
Click to expand it.
libmobile_hilink.h
+
25
−
25
View file @
9d0ef87b
...
@@ -30,75 +30,75 @@ struct write_result {
...
@@ -30,75 +30,75 @@ struct write_result {
//DeviceName, SerialNumber, Imei, Imsi, Iccid, Msisdn, HardwareVersion, SoftwareVersion,
//DeviceName, SerialNumber, Imei, Imsi, Iccid, Msisdn, HardwareVersion, SoftwareVersion,
//WebUIVersion, MacAddress1, MacAddress2, ProductFamily, Classify, supportmode, workmode
//WebUIVersion, MacAddress1, MacAddress2, ProductFamily, Classify, supportmode, workmode
struct
write_resul
t
*
mobile_get_device_info_hilink
();
struct
json_objec
t
*
mobile_get_device_info_hilink
();
//ConnectionStatus, WifiConnectionStatus, SignalStrength, SignalIcon, CurrentNetworkType, CurrentServiceDomain, RoamingStatus, BatteryStatus
//ConnectionStatus, WifiConnectionStatus, SignalStrength, SignalIcon, CurrentNetworkType, CurrentServiceDomain, RoamingStatus, BatteryStatus
//BatteryLevel, BatteryPercent, simlockStatus, WanIPAddress, WanIPv6Address, PrimaryDns, SecondaryDns, PrimaryIPv6Dns, SecondaryIPv6Dns,
//BatteryLevel, BatteryPercent, simlockStatus, WanIPAddress, WanIPv6Address, PrimaryDns, SecondaryDns, PrimaryIPv6Dns, SecondaryIPv6Dns,
//CurrentWifiUser, TotalWifiUser, currenttotalwifiuser, ServiceStatus, SimStatus, WifiStatus, CurrentNetworkTypeEx, maxsignal, wifiindooronly, wififrequence,
//CurrentWifiUser, TotalWifiUser, currenttotalwifiuser, ServiceStatus, SimStatus, WifiStatus, CurrentNetworkTypeEx, maxsignal, wifiindooronly, wififrequence,
//classify, flymode, cellroam
//classify, flymode, cellroam
struct
write_resul
t
*
mobile_get_monitoring_status_hilink
();
struct
json_objec
t
*
mobile_get_monitoring_status_hilink
();
//CurrentConnectTime, currentUpload, CurrentDownload, CurrentDownloadRate, CurrentUploadRate, TotalUpload, TotalDownload, TotalConnectTime, showtraffic
//CurrentConnectTime, currentUpload, CurrentDownload, CurrentDownloadRate, CurrentUploadRate, TotalUpload, TotalDownload, TotalConnectTime, showtraffic
struct
write_resul
t
*
mobile_get_trafficstatistics_hilink
();
struct
json_objec
t
*
mobile_get_trafficstatistics_hilink
();
//State, FullName, ShortName, Numeric, Rat
//State, FullName, ShortName, Numeric, Rat
struct
write_resul
t
*
mobile_get_provider_hilink
();
struct
json_objec
t
*
mobile_get_provider_hilink
();
///SimState, PinOptState, SimPinTimes
///SimState, PinOptState, SimPinTimes
struct
write_resul
t
*
mobile_get_pin_status_hilink
();
struct
json_objec
t
*
mobile_get_pin_status_hilink
();
//RoamAutoConnectEnable, MaxIdelTime, ConnectMode, MTU, auto_dial_switch, pdp_always_on
//RoamAutoConnectEnable, MaxIdelTime, ConnectMode, MTU, auto_dial_switch, pdp_always_on
struct
write_resul
t
*
mobile_get_connection_status_hilink
();
struct
json_objec
t
*
mobile_get_connection_status_hilink
();
struct
write_resul
t
*
mobile_get_apn_profiles_hilink
();
struct
json_objec
t
*
mobile_get_apn_profiles_hilink
();
//UnreadMessage, SmsStorageFull, OnlineUpdateStatus
//UnreadMessage, SmsStorageFull, OnlineUpdateStatus
struct
write_resul
t
*
mobile_get_notification_hilink
();
struct
json_objec
t
*
mobile_get_notification_hilink
();
//LocalUnread, LocalInbox, LocalOutbox, LocalDraft, LocalDeleted, SimUnread, SimInbox, SimOutbox
//LocalUnread, LocalInbox, LocalOutbox, LocalDraft, LocalDeleted, SimUnread, SimInbox, SimOutbox
//SimDraft, LocalMax, SimMax, SimUsed, NewMsg
//SimDraft, LocalMax, SimMax, SimUsed, NewMsg
struct
write_resul
t
*
mobile_get_sms_count_hilink
();
struct
json_objec
t
*
mobile_get_sms_count_hilink
();
struct
json_object
*
mobile_get_language_hilink
();
struct
json_object
*
mobile_get_language_hilink
();
struct
write_resul
t
*
mobile_create_apn_profile
(
char
*
name
,
char
*
apn_name
,
char
*
username
,
char
*
password
);
struct
json_objec
t
*
mobile_create_apn_profile
(
char
*
name
,
char
*
apn_name
,
char
*
username
,
char
*
password
);
struct
write_resul
t
*
mobile_set_apn_profile_default_hilink
(
char
*
name
,
char
*
apn_name
,
char
*
username
,
char
*
password
);
struct
json_objec
t
*
mobile_set_apn_profile_default_hilink
(
char
*
name
,
char
*
apn_name
,
char
*
username
,
char
*
password
);
struct
write_resul
t
*
mobile_delete_apn_profile_hilink
(
int
profile_name_location
);
struct
json_objec
t
*
mobile_delete_apn_profile_hilink
(
int
profile_name_location
);
struct
write_resul
t
*
mobile_sms_read_hilink
(
int
sms_location
);
struct
json_objec
t
*
mobile_sms_read_hilink
(
int
sms_location
);
struct
write_resul
t
*
mobile_sms_delete_hilink
(
int
sms_location
);
struct
json_objec
t
*
mobile_sms_delete_hilink
(
int
sms_location
);
struct
write_resul
t
*
mobile_reset_traffic_hilink
();
struct
json_objec
t
*
mobile_reset_traffic_hilink
();
/* mobile_LTE_register has to be called to enbale or disable LTE */
/* mobile_LTE_register has to be called to enbale or disable LTE */
struct
write_resul
t
*
mobile_LTE_register_hilink
();
struct
json_objec
t
*
mobile_LTE_register_hilink
();
struct
write_resul
t
*
mobile_LTE_enable_hilink
();
struct
json_objec
t
*
mobile_LTE_enable_hilink
();
struct
write_resul
t
*
mobile_LTE_disable_hilink
();
struct
json_objec
t
*
mobile_LTE_disable_hilink
();
/* 00 - default- 4g, 01 - 2g, 02 - 3g */
/* 00 - default- 4g, 01 - 2g, 02 - 3g */
struct
write_resul
t
*
mobile_set_connection_type_hilink
(
int
connection_type
);
struct
json_objec
t
*
mobile_set_connection_type_hilink
(
int
connection_type
);
struct
write_resul
t
*
mobile_data_roaming_enable_hilink
();
struct
json_objec
t
*
mobile_data_roaming_enable_hilink
();
struct
write_resul
t
*
mobile_data_roaming_disable_hilink
();
struct
json_objec
t
*
mobile_data_roaming_disable_hilink
();
/* 00 -> enter pin, 01 -> activate pin, 02 ->disable pin, 03 -> change pin, 04 -> enter puk */
/* 00 -> enter pin, 01 -> activate pin, 02 ->disable pin, 03 -> change pin, 04 -> enter puk */
struct
write_resul
t
*
mobile_pin_enable_hilink
(
char
*
current_pin
);
struct
json_objec
t
*
mobile_pin_enable_hilink
(
char
*
current_pin
);
struct
write_resul
t
*
mobile_pin_disable_hilink
(
char
*
current_pin
);
struct
json_objec
t
*
mobile_pin_disable_hilink
(
char
*
current_pin
);
struct
write_resul
t
*
mobile_pin_set_hilink
(
char
*
current_pin
,
char
*
new_pin
);
struct
json_objec
t
*
mobile_pin_set_hilink
(
char
*
current_pin
,
char
*
new_pin
);
struct
write_resul
t
*
mobile_set_language_hilink
(
char
*
language_name
);
struct
json_objec
t
*
mobile_set_language_hilink
(
char
*
language_name
);
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment