recognize BT pattern