bluetooth-lowenergy

using altbeacon library on android 8(oreo), background beacon scan not working

六眼飞鱼酱① 提交于 2020-06-28 05:08:20
问题 My app using Altbeacon library for beacon scanning. my code working well to api level 24(android 7) but doesn't not working on oreo(8.0.0) at first, my gradle setting compileSdkVersion and targetSdkVersion is 26, i thought it was because of this. so, i reference this**https://developer.android.com/about/versions/oreo/background.html#services**, fix my gradle setting(compileSdkVersion 25, targetSdkVersion 25). and install this app on device (apilevel 24, 26) on 24 level device working well,

using altbeacon library on android 8(oreo), background beacon scan not working

孤人 提交于 2020-06-28 05:08:13
问题 My app using Altbeacon library for beacon scanning. my code working well to api level 24(android 7) but doesn't not working on oreo(8.0.0) at first, my gradle setting compileSdkVersion and targetSdkVersion is 26, i thought it was because of this. so, i reference this**https://developer.android.com/about/versions/oreo/background.html#services**, fix my gradle setting(compileSdkVersion 25, targetSdkVersion 25). and install this app on device (apilevel 24, 26) on 24 level device working well,

Gatttool Pairing Failed (0x05)

人走茶凉 提交于 2020-06-27 16:56:29
问题 When I try to read a BLE characteristic which require encryption via GattTool on a RPI 3B gatttool -b 04:EE:03:B1:47:DF --char-read --handle=0x000e --sec-level=low It end up with an error Characteristic value/descriptor read failed: Request attribute has encountered an unlikely error I tried with/without --sec-level=low|medium|high hcidump 2020-06-05 10:35:50.696249 < HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7 type 0x00 (passive) interval 60.000ms window 30.000ms own address:

How to capture/dump Bluetooth LE Link Layer packets in linux without sniffer?

瘦欲@ 提交于 2020-06-13 08:33:21
问题 I want to capture/dump BLE air interface Link Layer packets in linux stably. The BLE air interface Link Layer packets seem like follows: sniffered using ubertooth when connecting another BLE device However, sniffering through ubertooth is much less reliable(often lose packets). So, I want to dump BLE traffic data using tools like tcpdump and btmon. I got results like this: result of tcpdump when connecting another BLE device However, there is no information about LL_ENC_REQ and LL_ENC_RSP,

What BLE characteristic should I use in a BLE IOS device for OBDII

冷暖自知 提交于 2020-05-30 17:15:34
问题 Hello I am wondering what write and notify characteristic I should use from this OBDII BLE device/Dongle?: I want to create a program for IOS in Flutter. There are quite a few : Device name: VEEPEAK Device id: 34E2B2AF-60F4-9362-DBF6-AD750321AABA Number of discovered Services: 3 Service Service: UUID: 0000180a-0000-1000-8000-00805f9b34fb Charac.: UUID: 00002a29-0000-1000-8000-00805f9b34fb Can read: true Can write: false Can notify: false Charac.: UUID: 00002a24-0000-1000-8000-00805f9b34fb Can

Large file sending by using react-native-ble-plx

生来就可爱ヽ(ⅴ<●) 提交于 2020-05-17 06:23:11
问题 I'm trying to write in a characteristic that sends a binary file as the value, this value is large, it's 19215 bytes which is not a problem because i negociated the mtu using : device.connect({ requestMTU: 260 }) i've divided the file into 240 bytes for each element and each time encode the element to base64 and i use the function writeCharacteristicWithResponseForDevice() in order to write that element, the issue is i successfully wrote the whole file 19215 bytes using a loop to write each

How to use BLE OBDII Peripheral

两盒软妹~` 提交于 2020-05-12 01:06:57
问题 I'm trying to create an iOS app that will read from an OBDII Bluetooth 4 (LE) device. I purchased a Vgate icar3 bluetooth(4.0) elm327 OBDII. I plug it into my car and find IOS-VLink peripheral that advertises some services. I can then get the characteristics for those services. These are the services I find: <CBService: 0x1780729c0, isPrimary = YES, UUID = Battery> <CBService: 0x178072a80, isPrimary = YES, UUID = 1803> <CBService: 0x178072ac0, isPrimary = YES, UUID = 1802> <CBService:

How to use BLE OBDII Peripheral

拜拜、爱过 提交于 2020-05-12 01:04:35
问题 I'm trying to create an iOS app that will read from an OBDII Bluetooth 4 (LE) device. I purchased a Vgate icar3 bluetooth(4.0) elm327 OBDII. I plug it into my car and find IOS-VLink peripheral that advertises some services. I can then get the characteristics for those services. These are the services I find: <CBService: 0x1780729c0, isPrimary = YES, UUID = Battery> <CBService: 0x178072a80, isPrimary = YES, UUID = 1803> <CBService: 0x178072ac0, isPrimary = YES, UUID = 1802> <CBService:

How to use BLE OBDII Peripheral

老子叫甜甜 提交于 2020-05-12 01:00:11
问题 I'm trying to create an iOS app that will read from an OBDII Bluetooth 4 (LE) device. I purchased a Vgate icar3 bluetooth(4.0) elm327 OBDII. I plug it into my car and find IOS-VLink peripheral that advertises some services. I can then get the characteristics for those services. These are the services I find: <CBService: 0x1780729c0, isPrimary = YES, UUID = Battery> <CBService: 0x178072a80, isPrimary = YES, UUID = 1803> <CBService: 0x178072ac0, isPrimary = YES, UUID = 1802> <CBService:

iOS Background BLE advertising not detectable by Android

北城余情 提交于 2020-05-10 18:36:37
问题 When an iOS BLE peripheral enters the background state, the advertising packets are not emitted in the regular manner and they are placed in a special “overflow” area which is only detectable by another iOS device explicitly looking for this device. The bluetooth-peripheral Background Execution Mode That said, you should be aware that advertising while your app is in the background operates differently than when your app is in the foreground. In particular, when your app is advertising while