New Member
I am trying to connect to an iBeacon via the app and I am using the trial version of b4a.
my problems are as follows:
1. The BeaconParser function is unavailable and the readRemoteRssi function is causing an error message = Cannot assign void value.
2. My BleManager2_object.Scan2(Null,True) is not working as it causes the error

--------- beginning of crash
--------- beginning of system
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Error occurred on line: 34 (Starter)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.keywords.Common.CallSubDebug(
at b4a.example.main._activity_create(
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(
at b4a.example.main.afterFirstLayout(
at b4a.example.main.access$000(
at b4a.example.main$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.debug.Debug.CallSub4(
at anywheresoftware.b4a.debug.Debug.CallSubNew(
... 19 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.debug.Debug.CallSub4(
... 20 more
Caused by: java.lang.RuntimeException: Error starting scan.
at anywheresoftware.b4a.objects.BleManager2.Scan2(
at b4a.example.starter._scan(
... 22 more

3. Also, I am unable to find a function that reads the UID of the beacon and stores it in a string variable. GetCharacteristicData and ReadData and ReadData2 are not working.

Can anyone please help with these three doubts?