IDBLUE logo
Public Member Functions
GetStatusResponse Class Reference
Inheritance diagram for GetStatusResponse:
IDBlueResponse

Public Member Functions

(byte) - batteryLevel
(byte) - majorHardwareVersion
(byte) - minorHardwareVersion
(NSString *) - hardwareVersion
(byte) - majorFirmwareVersion
(byte) - minorFirmwareVersion
(byte) - branchFirmwareVersion
(ushort) - buildFirmwareVersion
(NSString *) - firmwareVersion

Detailed Description

GetStatusResponse is a subclass of IDBlueResponse. It's purpose is to be a return value for the GET_STATUS command, and returns battery level, hardware version and firmware version of an IDBLUE device.


Member Function Documentation

- (byte) batteryLevel

Get the battery level of the IDBLUE device

Returns:
the battery level as a percentage (0 - 100)

Get the branch part of the firmware version

Get the build part of the firmware version

- (NSString *) firmwareVersion

Get the firmware version of the IDBLUE device.

Returns:
the firmware version, formatted as 'W.X.Y.Z' where W is the major part, X is the minor part, Y is the branch part, and Z is the build part.
- (NSString *) hardwareVersion

Get the hardware version of the IDBLUE device

Returns:
the hardware version, formatted as 'X.Y', where 'X' is the major part and 'YY' is the minor part.

Get the major part of the firmware version

Get the major part of the hardware version

Get the minor part of the firmware version

Get the minor part of the hardware version


The documentation for this class was generated from the following files:

 

Generated on Mon Jan 19 2015 15:47:39
Copyright © 2015 Cathexis Innovations Inc. All Rights Reserved.