Android Question [SOLVED] BLE2 peripheral Ibeacon stop advertising

koffie

Member
Licensed User
At the moment I am using https://www.b4x.com/android/forum/threads/ble-peripheral-as-ibeacon.105601/#post-662076 code to experiment with.

B4X:
jo.GetFieldJO("advertiser").RunMethod("startAdvertising", Array(AdvertiseSettingsBuilder.RunMethod("build", Null), _
                AdvertiseData, Null, callback))

Works fine.

What code do I have to run to "stopAdvertising" ?

Every time i start advertising, android starts another instance without stopping previous instances and stops after 8 instances or so. I just want to start, stop and start a new instance....

Thanks,
 
Top