Powering up with BLE in Windows 8.1

Sign in to queue

The Discussion

  • User profile image
    Hegey

    When will we get BLE support on Windows Phone?

  • User profile image
    gduncan411

    @Hegey: There's no official word yet. Nokia phones are getting the hardware, (http://developer.nokia.com/community/wiki/Introduction_to_Bluetooth_support_on_Windows_Phone_8), but there's no public API's yet. Given there's a huge update coming with Windows Phone 8.1...

  • User profile image
    Rabin Neslo

    Hi Greg Duncan,

    Is it possible to read the RSSI signal from the estimate tag?

    Regards,

    Rabin

  • User profile image
    gduncan411

    @Rabin Neslo: Hate to say this, but I have no idea. Best bet would be to ask the expert, or at least someone in the know, click through,BLE for developers in Windows 8.1 Part I, and drop Dan a comment (via email, or Google+)...

  • User profile image
    Jay Will

    I also got the SensorTag but the problem is that to really develop with it you need to have IAR Workbench for 8051, otherwise it doesn't work. It took me a while but I find the information in the comparison of <a href="http://www.argenox.com/library/wp_bluetooth.php">nRF51822 vs cc2540 2541</a>. So, you have to be careful. Nordic seems to be supporting an open source toolchain.

  • User profile image
    mukesh

    Hey could you please let me know may i connect windows store app with BLE device like OLP-425, if yes then provide me some reference or code example which are using this. I am newbie...

    I have visual studio 2013, windows 8.1 and OLP-425 BLE Device.

  • User profile image
    SocalSam_

    @mukesh:You are able to use a BLE device with Win 8.1.  The example code is shown for the TI Sensor Tag with default programming.   The secret is in your notes to tester when you submit your app.  Make sure to explain your BLE scenario in the notes to testers. Handle errors when device is not paired or otherwise unresponsive.

    Otherwise I would suggest that you purchase the TI sensor tag and use this example.  I know 25 bucks US is a lot of money, but the TI sensor is definitely worth it.

  • User profile image
    mukesh

    @Sammy Thanks for your answer, I am able to connect my BLE device OLP425 with the windows 8.1 and also able to get in my code, But the problem i am facing is when I am trying to write value to BLE device, it show me error "The attribute cannot be written. (Exception from HRESULT: 0x80650003)". Do you know why?

    here my code is

    var devices = await Windows.Devices.Enumeration.DeviceInformation.FindAllAsync(GattDeviceService.GetDeviceSelectorFromUuid(new Guid("0000ffd0-0000-1000-8000-00805f9b34fb")));

    //Connect to the service
    var accService = await GattDeviceService.FromIdAsync(devices[0].Id);
    if (accService == null)
    return;
    //Get the RED LED Service data characteristic with UUID ffd1
    var accData = accService.GetCharacteristics(new Guid("0000ffd1-0000-1000-8000-00805f9b34fb"))[0];
    //Set configuration to notify
    //here show it error
    await accData.WriteClientCharacteristicConfigurationDescriptorAsync(GattClientCharacteristicConfigurationDescriptorValue.Notify);
    //Get the ble tag configuration characteristic
    var accConfig = accService.GetCharacteristics(new Guid("0000ffd1-0000-1000-8000-00805f9b34fb"))[0];
    //Write 1 to start blink red led sbor tag
    await accConfig.WriteValueAsync((new byte[] { 1 }).AsBuffer());

  • User profile image
    Efrat Levy

    Can Win phone BLE be in a peripheral device?

Add Your 2 Cents