Function lifx_core::get_product_info
source · [−]pub fn get_product_info(
vendor: u32,
product: u32
) -> Option<&'static ProductInfo>
Expand description
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