65
Views
1
Comments
[Bluetooth Serial Sample] stopped at discoverUnpaired
Question
bluetooth-serial-sample
Mobile icon
Forge asset by João Barata

I tried to test this sample app.

But, the process was stopped at "discoverUnpaired" in plugin module. There are no message.

How should I try next?

platform: iPhone8 + iOS12.3.1

2020-10-08 19-51-35
João Barata
Staff

Tetsuo Ajima wrote:

I tried to test this sample app.

But, the process was stopped at "discoverUnpaired" in plugin module. There are no message.

How should I try next?

platform: iPhone8 + iOS12.3.1

The Cordova plugin where this component is based, mentions that  on IOS you can't find unpaired devices:
https://github.com/don/BluetoothSerial#ios-4

On IOS, the .List method returns both paired and unpaired devices. Try changing the action ListUnpairedDevices on the Sample component by the ListPairedDevices

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.