3 Replies Latest reply on Jun 30, 2016 3:26 PM by MichaelF_56

    Windows Phone 8.1 wired problem with BCM20736S

    soernt.poppe

      Hello,

       

      I try to communicate with a Windows Phone 8.1 (Nokia Lumia 530 Dual Sim) to a device which has built in the BCM20736S chip.

       

      The device offers two custom services. One of them has a characteristic that defines the following characteristic properties:  Read, Write, Notify.

       

      After pairing with and connecting to the device via the Windows Phone Bluetooth system settings, my App works as expected.

      The problem starts appearing after closing my App disconnect from the device (it is still paird) and then reconnect to it via the Windows Phone Bluetooth system settings.

       

      When I now configure the characteristic to get notified about incoming data, I get the following exception: 
      The attribute requires authentication before it can be read or written. (Exception from HRESULT: 0x80650005).

       

      The code throwing the exception is:

      await _characteristic.WriteClientCharacteristicConfigurationDescriptorAsync(GattClientCharacteristicConfigurationDescriptorValue.Notify);

       

      When I remove (unpair) the device via the Windows Phone Bluetooth system settings and pair it once again, the app works as expected again.

      Has someone an idea how to solve that issue?

       

      Can someone confirm that the BCM20736S chip is compatible with Windows Phone 8.1?

       

      The same App works in all that situations reliable with a Windows Phone 10 (Microsoft Lumia 950) device.