added bt api init function to confirm api is available.