locked
Bluetooth RfcommDeviceService.FromIdAsync() returns null

    Question

  • The RfcommDeviceService.FromIdAsync() always  returns null, Here is my code, Please help to fix,

    string

    serialDeviceType =RfcommDeviceService.GetDeviceSelector(RfcommServiceId.SerialPort);

               

    varservices =awaitDeviceInformation.FindAllAsync(serialDeviceType);

    _service

              =awaitRfcommDeviceService.FromIdAsync(services[0].Id);

    _service is always null. Please help me to fix this.

    Monday, April 20, 2015 1:08 PM

All replies