|
MedM DeviceKit
|
Device description. More...
#import <DeviceInfo.h>
Instance Methods | |
| (DeviceSetting *_Nullable) | - getSetting: |
| Get device setting of this type if it exists for this device or nil if it doesn't. More... | |
Properties | |
| NSNumber *_Nonnull | SKU |
| MedM SKU of the device. More... | |
| NSString *_Nonnull | name |
| Bluetooth name of the device. More... | |
| NSString *_Nonnull | address |
| Bluetooth address of the device. More... | |
| NSString *_Nonnull | modelName |
| User friendly name of the device. More... | |
| NSString *_Nonnull | manufacturer |
| Device manufacturer. More... | |
| NSNumber *_Nullable | RSSI |
| Bluetooth RSSI. More... | |
| NSString *_Nullable | firmware |
| Device firmware version received from the device. More... | |
| NSString *_Nullable | hardware |
| Device hardware version received from the device. More... | |
| NSString *_Nullable | model |
| Device model received from the device. More... | |
| NSString *_Nullable | serial |
| Device serial number received from the device or passed as postponed adding filter. More... | |
| NSString *_Nullable | dbTitle |
| Technical device name. More... | |
| NSNumber *_Nullable | batteryLevel |
| Last known battery level in percents. More... | |
| NSDate *_Nullable | batteryLastSyncTime |
| Last time when we received info about battery level from this device. More... | |
| NSArray< MeasurementTypeObj * > *_Nonnull | measurementTypes |
| List of measurement types for the device. More... | |
| BOOL | awaitsAdding |
| Device was added via postponed adding and awaits actual communication with the device. More... | |
| NSArray< DeviceSetting * > *_Nonnull | settings |
| Get supported device settings. More... | |
Device description.
| - (DeviceSetting *) getSetting: | (DeviceSettingKind) | kind |
Get device setting of this type if it exists for this device or nil if it doesn't.
|
readnonatomicretain |
Bluetooth address of the device.
Always present.
|
readnonatomicassign |
Device was added via postponed adding and awaits actual communication with the device.
|
readnonatomicretain |
Last time when we received info about battery level from this device.
Can be present when passed in MedMDeviceManager::getDevicesList.
|
readnonatomicretain |
Last known battery level in percents.
Can be present when passed in MedMDeviceManager::getDevicesList.
|
readnonatomicretain |
Technical device name.
|
readnonatomicretain |
Device firmware version received from the device.
Can be present when passed in DataCallback::onNewData:source:.
|
readnonatomicretain |
Device hardware version received from the device.
Can be present when passed in DataCallback::onNewData:source:.
|
readnonatomicretain |
Device manufacturer.
Always present.
|
readnonatomicretain |
List of measurement types for the device.
|
readnonatomicretain |
Device model received from the device.
Can be present when passed in DataCallback::onNewData:source:.
|
readnonatomicretain |
User friendly name of the device.
Always present.
|
readnonatomicretain |
Bluetooth name of the device.
Always present, but might be empty if the library doesn't know it.
|
readnonatomicretain |
Bluetooth RSSI.
Can be present when passed in ScannerCallback::onNewDeviceFound:, ScannerCallback::onAmbiguousDeviceFound:.
|
readnonatomicretain |
Device serial number received from the device or passed as postponed adding filter.
Can be present when passed in DataCallback::onNewData:source:, AddDeviceCallback, MedMDeviceManager::getDevicesList.
|
readnonatomicretain |
Get supported device settings.
|
readnonatomicretain |
MedM SKU of the device.
Always present.