bluetooth

Flutter IOS beacon not able to scan with Region and UUID settings

…衆ロ難τιáo~ 提交于 2020-04-30 06:25:47
问题 I have this problem is that in flutter I notice there is not able to operate or use the traditional bluetooth as there is no any library supporting it. I have tested flutter_blue-master etc. So then I saw that it can behave as beacon. So I have used the codes below. For android I just set Region( identifier: 'com.example.myDeviceRegion',)); its able to work. So the same I set in IOS its not able to work? So what is best workaround for blueetooth in flutter? I am using this package flutter

Flutter IOS beacon not able to scan with Region and UUID settings

我与影子孤独终老i 提交于 2020-04-30 06:25:26
问题 I have this problem is that in flutter I notice there is not able to operate or use the traditional bluetooth as there is no any library supporting it. I have tested flutter_blue-master etc. So then I saw that it can behave as beacon. So I have used the codes below. For android I just set Region( identifier: 'com.example.myDeviceRegion',)); its able to work. So the same I set in IOS its not able to work? So what is best workaround for blueetooth in flutter? I am using this package flutter

can not connect to bluetooth headset in android

≡放荡痞女 提交于 2020-04-21 08:14:18
问题 After steeping in the wrong path for almost two months i found out what my mistake was. Now i am pacing a new problem which I cannot find the answer to: Using this function while trying to connect to the headset: mBluetoothAdapter.getProfileProxy(context, mProfileListener, BluetoothProfile.HEADSET); final BluetoothProfile.ServiceListener mProfileListener = new BluetoothProfile.ServiceListener() { public void onServiceConnected(int profile, BluetoothProfile proxy) { if (profile ==

can not connect to bluetooth headset in android

隐身守侯 提交于 2020-04-21 08:12:25
问题 After steeping in the wrong path for almost two months i found out what my mistake was. Now i am pacing a new problem which I cannot find the answer to: Using this function while trying to connect to the headset: mBluetoothAdapter.getProfileProxy(context, mProfileListener, BluetoothProfile.HEADSET); final BluetoothProfile.ServiceListener mProfileListener = new BluetoothProfile.ServiceListener() { public void onServiceConnected(int profile, BluetoothProfile proxy) { if (profile ==

Android 10 L2CAP connection IOException timeout Wii Balance Board

ぃ、小莉子 提交于 2020-04-11 17:48:46
问题 Background A long time ago I was tasked with making a android app for the Wii Balance Board, after some screwing around I found that android no longer supported L2CAP. More research lead to understand that it was being re-added in Android 10. With Android 10 out I've been trying to give it a crack now. Problem So my simple goal at the moment is to create a connection with the Wii Balance Board. My approach for connection is: Start discovery Add discovered bluetooth devices to list When you

Why do all devices discovered by CBCentralmanager have name=null?

拈花ヽ惹草 提交于 2020-03-26 05:19:40
问题 I am attempting to detect battery levels for connected BT devices on macOS. While I can get CBCentralManager to detect SOME nearby devices, all of the devices it detects are name=Null, even though there are numerous devices that should be detected and should have names (e.g., AirPods, magic trackpad, magic keyboard, etc). My BT Manager class is: import Cocoa import CoreBluetooth class BluetoothManager: NSObject, CBCentralManagerDelegate, CBPeripheralDelegate { var centralManager =

Why do all devices discovered by CBCentralmanager have name=null?

℡╲_俬逩灬. 提交于 2020-03-26 05:19:27
问题 I am attempting to detect battery levels for connected BT devices on macOS. While I can get CBCentralManager to detect SOME nearby devices, all of the devices it detects are name=Null, even though there are numerous devices that should be detected and should have names (e.g., AirPods, magic trackpad, magic keyboard, etc). My BT Manager class is: import Cocoa import CoreBluetooth class BluetoothManager: NSObject, CBCentralManagerDelegate, CBPeripheralDelegate { var centralManager =

Bluetooth LE notifications not received on iOS

房东的猫 提交于 2020-03-26 04:29:16
问题 We are working on a bluetooth project using cordova as a xplatform development tool. We are developing for android and iOS and writing a BLE plugin for cordova ourselves. On Android everything is running fine. Now comes the problem: On iOS we are able to read/write and even subscribe to notifications. The problem comes when we try to receive a updated value, then nothing happens. In short - connect to device - discover services - discover characterics - subscribe to notification

How to Programmatically Clear Bluetooth Cache using GattServer

此生再无相见时 提交于 2020-03-17 07:03:29
问题 I'm slightly familiar with BLE and I am facing some problem with an inherited code. So the app works like that: With BLE enabled the app scans for devices The app displays the devices found The user selects the device to pair with The app pairs with the device The problem I'm facing is that after pairing several times (it varies) the phone is not able to discover devices, hence blocking the user to pair. I'm using GattServer to connect with the client device, and I'm reseting the services as

Connect via Bluetooth with Delphi XE7 using portable printer

戏子无情 提交于 2020-03-17 06:51:46
问题 I'm trying to communicate with a Sewoo LK-P32 printer via Bluetooth. For this, I am using Delphi XE7 . I made a few examples that come with Delphi and am not having success. I put the paired printer on tablet and even then I am not able to print continuously. When I print something have to restart the application, so I can print something again. Below my sources. Could someone help me? Support on this issue? My time is short to try other technologies. Method that initiates communication with