mercredi 5 octobre 2016

RxAndroidBle Scanning

Vote count: 0

I am trying to use the RxAndroidBle lib (http://ift.tt/1UU2YUJ) I want the app the start and scan for BLE devices. How can I do this?

    RxBleClient rxBleClient;
   RxBleScanResult rxBleScanResult;
   private Subscription scanSubscription;
 @Override
  protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
   rxBleClient = RxBleClient.create(this);



Subscription scanSubscription =rxBleClient.scanBleDevices().subscribe(rxBleScanResult.getBleDevice().getMacAddress() );


}

asked 15 secs ago

Let's block ads! (Why?)



RxAndroidBle Scanning

Aucun commentaire:

Enregistrer un commentaire