Searched refs:beacon_chip (Results 1 – 2 of 2) sorted by relevance
50 let beacon_chip = BeaconChip::from_proto(device_name, chip_id, beacon_proto)?; in ble_beacon_add() localVariable51 if BEACON_CHIPS.write().unwrap().insert(chip_id, Mutex::new(beacon_chip)).is_some() { in ble_beacon_add()
248 let beacon_chip = BeaconChip::from_proto(device_name, chip_id, beacon_proto)?; in ble_beacon_add() localVariable249 if BEACON_CHIPS.write().unwrap().insert(chip_id, Mutex::new(beacon_chip)).is_some() { in ble_beacon_add()