Closed Steppschuh closed 5 years ago
Merging #159 into dev will increase coverage by
0.11%
. The diff coverage is10%
.
@@ Coverage Diff @@
## dev #159 +/- ##
============================================
+ Coverage 39.29% 39.41% +0.11%
- Complexity 238 240 +2
============================================
Files 40 40
Lines 1369 1375 +6
Branches 135 139 +4
============================================
+ Hits 538 542 +4
- Misses 780 783 +3
+ Partials 51 50 -1
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
...io/bleindoorpositioning/ble/beacon/BeaconUtil.java | 36% <0%> (-3.14%) |
10 <0> (ø) |
|
...bleindoorpositioning/ble/beacon/BeaconManager.java | 0% <0%> (ø) |
0 <0> (ø) |
:arrow_down: |
...positioning/ble/advertising/AdvertisingPacket.java | 45.83% <0%> (-2%) |
6 <0> (ø) |
|
...xenio/bleindoorpositioning/ble/beacon/IBeacon.java | 72.72% <0%> (-3.47%) |
6 <0> (ø) |
|
...exenio/bleindoorpositioning/ble/beacon/Beacon.java | 53.63% <22.22%> (+2.23%) |
32 <2> (+2) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ae592cd...5434537. Read the comment docs.
Solves #157
Breaking changes:
BeaconManager
now creates a new beacon instance for distinct advertising packets. If a beacon is configured to advertise 2 different advertising packtes (e.g. two IBeacon frames with differend UUIDs, or one IBeacon and one Eddystone frame), two beacon instances will be created with the same mac address.BeaconManager
Beacon getBeacon(String macAddress, AdvertisingPacket advertisingPacket)
Beacon getBeacon(String macAddress, Class<? extends Beacon> beaconClass)
IBeacon getIBeacon(String macAddress)
Eddystone getEddystone(String macAddress)