Comments (4)
Hi @yureng,
I'm the friendly issue checker.
Thanks for using the issue template 🌟
I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.
from dotnet-bluetooth-le.
Debug trace, I found:
CoreBluetooth.CBPeripheral.Name is "CompleteLocalName"
CoreBluetooth.CBDiscoveredPeripheralEventArgs.AdvertisementData[CBAdvertisement.DataLocalNameKey] is "ShortenedLocalName"
Hence the line of code, Apple.Adapter.cs 35
var name = e.Peripheral.Name;
if (e.AdvertisementData.ContainsKey(CBAdvertisement.DataLocalNameKey))
{
// iOS caches the peripheral name, so it can become stale (if changing)
// keep track of the local name key manually
name = ((NSString)e.AdvertisementData.ValueForKey(CBAdvertisement.DataLocalNameKey)).ToString();
}
"CompleteLocalName" is replaced with "ShortenedLocalName"
maybe, Apple.Adapter.cs 345 :
records.Add(new AdvertisementRecord(AdvertisementRecordType.CompleteLocalName,
NSData.FromString(advertisementData.ObjectForKey(key) as NSString).ToArray()));
Should be "ShortenedLocalName"
from dotnet-bluetooth-le.
This might possibly be related to #703. There it was claimed that Device.NativeDevice
has the full name. Could you check that?
from dotnet-bluetooth-le.
@yureng Why did you close the issue? What's the conclusion? Is it solved? Did you find a workaround?
from dotnet-bluetooth-le.
Related Issues (20)
- Can't detect device HOT 10
- when "OnConnectionStateChange: GattStatus: InsufficientAuthorization" is shown, the ble will hang forever HOT 5
- Manufacturer data packet is missing from device on iOS HOT 4
- Cannot use the package with Avalonia Cross Platform Project HOT 7
- ConnectToKnownDeviceAsync is giving null as device name HOT 2
- Regarding Plugin.BLE Connection Event HOT 1
- Plugin.BLE - Issue Regarding ambiguous connection HOT 2
- limit of bluetooth device can be connected simultaneous HOT 8
- Ble connected Device Get Service always return null HOT 2
- [WinUI] Adapter.DeviceConnected event is triggered n+1 times upon each subsequent Device Disconnect/Connect cycle HOT 7
- ISSUE: DeviceAdvertised event on Android HOT 10
- Need to be able to register for notification from characteristics that is only INDICATE HOT 9
- WinUI Call to `DisconnectDeviceAsync` may not complete. HOT 5
- Windows: Check OS version runtime HOT 5
- Bluetooth stack breaks when trying connect on phone boot HOT 2
- It doesn't work with android 14 HOT 1
- It doesn't work with android 14 HOT 5
- Determining feature support/availbility RSSI update others? HOT 1
- Windows - Run Discover Scan twice cause Disconnection fail HOT 9
- StartUpdatesAsync() - Write Not Permitted HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotnet-bluetooth-le.