BLE-Indoor-Positioning icon indicating copy to clipboard operation
BLE-Indoor-Positioning copied to clipboard

Unused method

Open hadiidbouk opened this issue 6 years ago • 1 comments

What is the reason for having this method in Beacon.java class? Should be changed? or removed?

public void applyPropertiesFromAdvertisingPacket(P advertisingPacket) {
        //setTransmissionPower(lastAdvertisingPacket.get);
}

hadiidbouk avatar Aug 06 '18 10:08 hadiidbouk

The method is overridden in the child classes of Beacon therefore we can not remove it. I agree that we should change the method to either do something (e.g. to set the transmission power) or make it abstract.

marvinmirtschin avatar Aug 06 '18 12:08 marvinmirtschin