Category : altbeacon

In the app I’m wiriting I am trying to broadcast an Eddystone UID Beacon. To do so I have implemented the package beacon_broadcast (https://pub.dev/packages/beacon_broadcast) and adapted the given example Code (basically changed the layout and manufacturer ID) to the following: beaconBroadcast .setUUID(’39ED98FF-2900-441A-802F-9C398FC199D2′) .setMajorId(1) .setMinorId(100) .setLayout(‘s:0-1=feaa,m:2-2=00,p:3-3:-41,i:4-13,i:14-19’) .setManufacturerId(0x001D) .start(); When I try to start broadcasting I get ..

Read more

I’ve an app that uses to the android-beacon-library to detect when the smartphone enters in range of some Beacons. I’ve noticed that org.altbeacon.beacon.service.ScanJob run by the lib causes delays sometimes with the app’s main Bluetooth scanner, which runs only when the app is in foreground. Therefore, I’d like the Beacon lib to scan for beacons ..

Read more

It is designed to scan every 4 seconds. However, beacons may not be detected from the start to the stop of scanning. After that, the beacon is detected after stopping the scan. The problem occurs at the following dates and times in the log. 08:54:20.807 D/CycledLeScanner(21211): Scan started 08:54:21.906 D/CycledLeScanner(21211): Done with scan cycle 08:54:22.336 ..

Read more

I have an Android app that implements an foreground service, uses a partial wakelock and has the permission to empty the battery by using REQUEST_IGNORE_BATTERY_OPTIMIZATIONS as explained here: https://developer.android.com/training/monitoring-device-state/doze-standby That all works and the service runs forever without ever being put to doze. My service uses ranging of beacons and permanently reports the distances. With ..

Read more

I have an Android app that implements an foreground service, uses a partial wakelock and has the permission to empty the battery by using REQUEST_IGNORE_BATTERY_OPTIMIZATIONS as explained here: https://developer.android.com/training/monitoring-device-state/doze-standby That all works and the service runs forever without ever being put to doze. My service uses ranging of beacons and permanently reports the distances. With ..

Read more

For example, in ith call of didRangeBeaconsInRegion(p0: MutableCollection<Beacon>?, p1: Region?) I got beacons A, B and C from MutableCollection, all of them has unique set of UUID, major and minor. Is it guaranteed that in (i+1)th call there will be not more than one new unique beacon in MutableCollection in comparison with MutableCollection of ith ..

Read more

I try to find surrounding beacons with the ParserLayout: "m:2-3=beac,i:4-5,i:6-23,p:24-24,d:25-25" to send 18 Bytes of custom payload. I try to monitor them with this region: Region("2f234454-cf6d-4a0f-adf2", 10000, null, null) My beacon does look like that: val payload = ByteArray(18) val beacon: Beacon = Beacon.Builder() .setIdentifiers(mutableListOf(10000, payload.toIdentifier())) .setTxPower(-59) .setDataFields(mutableListOf<Long>(1, 2, 3)) // only to set != ..

Read more