18. nqBridge
The nqBridge object is a built-in object for acquiring NEQTO Bridge specific information.
nqBridge Global Object
Methods()/Properties | Summary | Version | Note |
---|---|---|---|
nqBridge.getVersion() | Gets the firmware version. | 00.00.22+ | |
nqBridge.getSerialID() | Gets the serial ID. | 00.00.22+ | |
nqBridge.getModuleType() | Gets the module type. | 00.00.22+ | |
nqBridge.getNetType() | Gets the communication type. | 00.00.22+ |
Details
nqBridge.getVersion()
Gets the firmware version.
Name | Type | M/O | Summary | Note |
---|---|---|---|---|
return | string | - | Firmware version |
nqBridge.getSerialID()
Gets the serial ID.
Name | Type | M/O | Summary | Note |
---|---|---|---|---|
return | string | - | Serial ID |
nqBridge.getModuleType()
Gets the module type.
Name | Type | M/O | Summary | Note |
---|---|---|---|---|
return | string | - | Module type'WiFi' ,'LteM' ,'Lte1' |
nqBridge.getNetType()
Gets the communication type.
Name | Type | M/O | Summary | Note |
---|---|---|---|---|
return | string | - | Communication type'LAN' ,'WiFi' ,'LteM' ,'LteNB' ,'Lte1' |
Object Usage Examples
Sample 1
This is a sample that gets and displays the firmware version, serial ID, module type, and communication type.
var fwVersion = nqBridge.getVersion();
var serialID = nqBridge.getSerialID();
var modType = nqBridge.getModuleType();
var netType = nqBridge.getNetType();
print('<<<' + fwVersion + '>>>');
print('<<<' + serialID + '>>>');
print('<<<' + modType + '>>>');
print('<<<' + netType + '>>>');
Updated: 2021-02-19