Fix sample to use the latest enumified bluetooth type instead of int.