Function lifx_core::get_product_info[][src]

pub fn get_product_info(
    vendor: u32,
    product: u32
) -> Option<&'static ProductInfo>

Look up info about what a LIFX product supports.

You can get the vendor and product IDs from a bulb by receiving a Message::StateVersion message

Data is taken from https://github.com/LIFX/products/blob/master/products.json