Hi All,
I want to use a raspberry pi 3 to monitor my beacons instead of an android phone so I use this B4A Class on Android Things Platform but got the following error:
Anyone have idea? is that because Android things not yet support BLE yet? Thanks!
I want to use a raspberry pi 3 to monitor my beacons instead of an android phone so I use this B4A Class on Android Things Platform but got the following error:
B4X:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
starter_scan (java line: 208)
java.lang.RuntimeException: Error starting scan.
at anywheresoftware.b4a.objects.BleManager2.Scan2(BleManager2.java:142)
at b4a.example.starter._scan(starter.java:208)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:1044)
at anywheresoftware.b4a.keywords.Common.CallSubNew(Common.java:978)
at b4a.example.main._btnscan_click(main.java:373)
at b4a.example.main._activity_create(main.java:343)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
at b4a.example.main.afterFirstLayout(main.java:102)
at b4a.example.main.access$000(main.java:17)
at b4a.example.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Anyone have idea? is that because Android things not yet support BLE yet? Thanks!