diff options
author | Timur Pocheptsov <Timur.Pocheptsov@digia.com> | 2014-12-02 14:58:11 +0100 |
---|---|---|
committer | Timur Pocheptsov <Timur.Pocheptsov@digia.com> | 2014-12-04 09:41:14 +0100 |
commit | 02e69e4ee1b45761bb7240afd5a6a897ff80f3f2 (patch) | |
tree | 98adfa438fa512a9e1e3ffa000bfd4496e14ffed /src/bluetooth/osx/osxbtutility_p.h | |
parent | 90491cb94b5aaad8c9aded106fea0aba09ac4be9 (diff) |
Low energy descriptor - value on iOS
On OS X CBDescriptor's value is always NSData,
on iOS it can be NSData, NSString, NSNumber.
Change-Id: I6ffa4b813238ec26759508a012fa6e236db04c63
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/osx/osxbtutility_p.h')
-rw-r--r-- | src/bluetooth/osx/osxbtutility_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/osx/osxbtutility_p.h b/src/bluetooth/osx/osxbtutility_p.h index d30ee93c..cc80d25a 100644 --- a/src/bluetooth/osx/osxbtutility_p.h +++ b/src/bluetooth/osx/osxbtutility_p.h @@ -288,6 +288,7 @@ ObjCStrongReference<CBUUID> cb_uuid(const QBluetoothUuid &qtUuid); bool equal_uuids(const QBluetoothUuid &qtUuid, CBUUID *cbUuid); bool equal_uuids(CBUUID *cbUuid, const QBluetoothUuid &qtUuid); QByteArray qt_bytearray(NSData *data); +QByteArray qt_bytearray(NSObject *data); ObjCStrongReference<NSData> data_from_bytearray(const QByteArray & qtData); } // namespace OSXBluetooth |