Questions tagged bluetooth-lowenergy

Explore the latest questions and answers asked by our top developers.

The write operation doesn’t update the characteristic value for iOS in xamarin forms

I’m creating a BLE application using xamarin forms. Everything is working fine in Android I’m able to read and write GATT characteristics. In iOS I’m able to read successfully but the write operation doesn’t update the characteristics value. There is no error in the write operation as well it is executing but the characteristics value […]

By Judson Abraham
Published
Categorised as Uncategorised Tagged , , , ,

How to fix exception Device xxx disconnected while writing characteristic with yyy in xamarin forms?

I am creating a BLE app where I am successfully connecting to a BLE device. I am able to read the GATT characteristics as well. But when I try to do write operation I get exception Device xxx disconnected while writing characteristic with yyy This is my code private async Task<string> ProcessDeviceInformationService(IService deviceInfoService) { try […]

How to get a .Net Standard class lib to execute CoreBluetooth functions?

How can I get my .Net Standard 2.0 class library to execute a CoreBluetooth (BLE) function (eg. read value)? My solution has a Xamarin.iOS class lib with CoreBluetooth but the .net stndard class lib can’t reference that. the solution’s top app is a Xamarion.iOS console app, which references both the two projects (.Net Stnd class […]

My Xamarin.ios BLE example "How to communicate with Bluetooth Low Energy devices on iOS" crashes

I get a crash when I run the example code for a Bluetooth Low Energy app for Xamarin.ios from blog "How to communicate with Bluetooth Low Energy devices on iOS" at: https://wojciechkulik.pl/xamarin-ios/how-to-communicate-with-bluetooth-low-energy-devices-on-ios The zip for his example code is at: https://github.com/wojciech-kulik/Sample-Projects The only think I changed was to add his recommended NSBluetoothPeripheralUsageDescription fix to my […]

By Doug Null
Published
Categorised as Uncategorised Tagged , , , ,

How to add key NSBluetoothPeripheralUsageDescription to info.plist in a Windows Visual Studio xamarin.ios app

I need to add BLUETOOTH LOW ENERGY (ble) to my xamarin.ios app, which I build on windows Visual Studio paired to my Macbook. BLE on xamarin.ios requires NSBluetoothPeripheralUsageDescription in info.plist. However, I can’t figure out how to do it with the info.plist GUI in Visual Studio. Source: Xamarin.ios Questions

By Doug Null
Published
Categorised as Uncategorised Tagged , , , ,

Can a XAMARIN.IOS app project use CoreBluetooth? I cannot find example/tutorial/guide

I need my Xamarin.IOS app to communicate with our embedded BLE device. Cannot find example or guide for Xamarin.IOS using CoreBluetooth. Tried BLE plugins but all have build or run errors. (WOJ, ARITCHIE, XABRE) Can my Xamarin.IOS app truly use CoreBluetooth, or should I use plugin BLE? Source: Xamarin.ios Questions

By Doug Null
Published
Categorised as Uncategorised Tagged , , ,

Launch app in background when BLE device is in range

I’m making an iOS app to support a Bluetooth LE device. First time the app launches, we pair, but after that I want to communicate with the device whenever it is in range. Using background modes, this works fine for when the app is launched and goes into background and the screen is turned off. […]

By niklassaers
Published
Categorised as bluetooth-lowenergy, ios, swift Tagged , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq