core bluetooth wrapper by blocks