package com.sensirion.libble.devices;

import java.util.ArrayList;
import java.util.List;

public enum KnownDevices {

    /**
     * Devices that returns Humidity and Temperature data.
     * Notification interface: {@link com.sensirion.libble.listeners.services.RHTListener}
     */
    RHT_GADGETS {
        @Override
        public List<String> getAdvertisedNames() {
            final List<String> deviceNames = new ArrayList<>(4);
            deviceNames.add("SHTC1 smart gadget"); // Official device name is not capitalized like the following one.
            deviceNames.add("SHT31 Smart Gadget");
            deviceNames.add("Smart Humigadget");
            deviceNames.add("SensorTag");
            return deviceNames;
        }
    };

    /**
     * Returns a {@link java.util.List} of {@link java.lang.String} of the valid advertised names of the gadget.
     *
     * @return {@link java.util.List} with the advertised names of compatible devices.
     */
    @SuppressWarnings("unused")
    public abstract List<String> getAdvertisedNames();
}
@@ -732,16 +732,661 @@
       %7D%0A
+    %7D,%0A%0A    /**%0A     * Devices that returns Temperature data.%0A     * Notification interface: %7B@link com.sensirion.libble.listeners.services.TemperatureListener%7D%0A     */%0A    TEMPERATURE_GADGETS %7B%0A        @Override%0A        public List%3CString%3E getAdvertisedNames() %7B%0A            return RHT_GADGETS.getAdvertisedNames();%0A        %7D%0A    %7D,%0A%0A    /**%0A     * Devices that returns Humidity data.%0A     * Notification interface: %7B@link com.sensirion.libble.listeners.services.HumidityListener%7D%0A     */%0A    HUMIDITY_GADGETS %7B%0A        @Override%0A        public List%3CString%3E getAdvertisedNames() %7B%0A            return RHT_GADGETS.getAdvertisedNames();%0A        %7D%0A
     %7D;%0A%0A

Add RHT gadgets to Known Devices