StringStringStringNumberStringStringDeviceInfoDeviceInfoDeviceInfoDeviceInfoDeviceInfoDeviceInfoStringGet the Carrier
Kind: Instance method of DeviceInfo
Returns: String - the KEY_CARRIER value
StringGet the FirmwareRev
Kind: Instance method of DeviceInfo
Returns: String - the KEY_FIRMWARE_REV value
StringGet the Hardware
Kind: Instance method of DeviceInfo
Returns: String - the KEY_HARDWARE value
NumberGet the MaxNumberRFCOMMPorts
Kind: Instance method of DeviceInfo
Returns: Number - the KEY_MAX_NUMBER_RFCOMM_PORTS value
StringGet the Os
Kind: Instance method of DeviceInfo
Returns: String - the KEY_OS value
StringGet the OsVersion
Kind: Instance method of DeviceInfo
Returns: String - the KEY_OS_VERSION value
DeviceInfoSet the Carrier
Kind: Instance method of DeviceInfo
Returns: DeviceInfo - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| carrier | String |
Device mobile carrier (if applicable) - The desired Carrier. {'string_min_length': 0, 'string_max_length': 500} |
DeviceInfoSet the FirmwareRev
Kind: Instance method of DeviceInfo
Returns: DeviceInfo - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| rev | String |
Device firmware revision - The desired FirmwareRev. {'string_min_length': 0, 'string_max_length': 500} |
DeviceInfoSet the Hardware
Kind: Instance method of DeviceInfo
Returns: DeviceInfo - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| hardware | String |
Device model - The desired Hardware. {'string_min_length': 0, 'string_max_length': 500} |
DeviceInfoSet the MaxNumberRFCOMMPorts
Kind: Instance method of DeviceInfo
Returns: DeviceInfo - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| ports | Number |
Omitted if connected not via BT. - The desired MaxNumberRFCOMMPorts. {'num_min_value': 0, 'num_max_value': 100} |