Grandstream Networks GXV3175 Telephone User Manual


 
Grandstream Networks, Inc. GMI HTML SDK and API Guide Page 12 of 17
www.grandstream.com Last Updated: 07/2011
Description
Obtain network information
Parameter and Return Value Parameter:
N/A
Return Value:
Return strings in JSON format. It has to be transformed
to JSON format first.
For instance:
{“mac”: “00-0b-82-27-ea-ed”, “ip”: “192.168.1.118”,
“mask”: “255.255.255.0”, “type”: “DHCP”, “gateway”:
192.168.1.1”, “dns”: “192.168.1.253”, “nat”: “Port
Restricted Cone NAT (STUN)”}
Strings in red will be displayed as the actual value in the
phone.
Note
N/A
5.2 GMIEngine.getCurrentLanguage()
Function
GMIEngine.getCurrentLanguage()
Description
Obtain the current language
Parameter and Return Value Parameter:
N/A
Return value:
Return string in JSON format. It has to be transformed to
JSON format first.
For instance:
{“lan”: “en”}
Strings in red will be displayed as the actual value in the
phone.
Note
N/A
5.3 GMIEngine.getCountry()
Function
GMIEngine.getCountry()
Description
Obtain the country code
Parameter and Return Value Parameter: