- Jun 6, 2020
- 11,517
- 4,383
This library replaces the previous BLE library.
It is simpler to use and it is more powerful. Its API is based on B4i
See the iBLE tutorial:
Tips & Notes
- You can call Manager.Scan2 with AllowDuplicates set to True if you want to monitor the state of an unconnected device.
- The AdvertisingData map in DeviceFound event holds pairs of integers as keys (data types) and bytes arrays as values.
- Call ReadData2 if you are only interested in a single characteristic.
- BLE is only supported on Android 4.3+.
See the attached example. Note that the important code in in the Starter service module.
Edit:
A new version of BLE_Example was uploaded. targetSdkVersion is now set to 29
Setting the targetSdkVersion to 29 requires some changes:
1. Add the fine...
It is simpler to use and it is more powerful. Its API is based on B4i
برای دیدن لینک ها باید ثبت نام کنید
which makes it easy to reuse B4i code.See the iBLE tutorial:
برای دیدن لینک ها باید ثبت نام کنید
Tips & Notes
- You can call Manager.Scan2 with AllowDuplicates set to True if you want to monitor the state of an unconnected device.
- The AdvertisingData map in DeviceFound event holds pairs of integers as keys (data types) and bytes arrays as values.
- Call ReadData2 if you are only interested in a single characteristic.
- BLE is only supported on Android 4.3+.
See the attached example. Note that the important code in in the Starter service module.
Edit:
A new version of BLE_Example was uploaded. targetSdkVersion is now set to 29
Setting the targetSdkVersion to 29 requires some changes:
1. Add the fine...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید