Skip to content
Snippets Groups Projects
Commit cb28c716 authored by Arun Muthusamy's avatar Arun Muthusamy
Browse files

libmobile: add system info wrapper

parent b44a2e36
Branches
Tags
No related merge requests found
...@@ -285,3 +285,13 @@ struct json_object *mobile_get_traffic_statistics(struct dongle *dev) ...@@ -285,3 +285,13 @@ struct json_object *mobile_get_traffic_statistics(struct dongle *dev)
return NULL; return NULL;
} }
struct json_object *mobile_get_system_info(struct dongle *dev)
{
if (strcmp(dev->if_name, ZTE) == 0)
return mobile_get_system_info_zte(dev->ip);
else if (strcmp(dev->if_name, HILINK) == 0)
return mobile_get_system_info_hilink(dev->software_version);
return NULL;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment