How can we improve the Windows Phone dev platform?

Bluetooth Data Transfer APIs

Please provide developer platform support for bluetooth data transfer via SSP (Serial Port Profile). There are many bluetooth devices (e.g., medical devices, automotive, etc.) that we need to connect to.

5,416 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    TadejTadej shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    Joseph Joseph shared a merged idea: Sync items from PC via bluetooth  ·   · 
    w41qw41q shared a merged idea: WiFi & Bluetooth API support  ·   · 

    With Windows Phone 8.0 developer platform, apps that utilize SPP (Serial Port Profile) can now be implemented on Windows Phone 8, although it requires use of RFCOMM.

    Using RFCOMM, a developer should be able to get a socket via peerfinder and build an SPP implementation on top of that. This was done for a couple demos (e.g., Tim Laverty built an SPP implementation in his Build 2012 networking talk).

    Moving forward, (a) the WP team is planning on providing some deeper sample code, and (b) there are a couple community projects that are implementing SPP on top of the platform and publishing it.

    So while there isn’t a native SPP API set on the developer platform, WP8 makes it possible for a developer to implement take advantage of Serial Port Profiles on WP. As such, I’m marking this as ‘Started’ with WP8, and we’ll revisit the status with a future release.

    As such, download the WPSDK and give it a try. :)

    196 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Anonymous commented  ·   ·  Flag as inappropriate

        I'm hoping this covers BLE . I'm trying to write some apps which integrate to ANT+ and BLE and I'm waiting on the BLE (BT 4.0 )aspect.

      • DanielDaniel commented  ·   ·  Flag as inappropriate

        What about support for HID support? Think about the following scenarios:
        - WP as a remote/Presenter without needing a "server application" on the Windows PC

      • Cliff SimpkinsAdminCliff Simpkins (Sr Product Manager, Windows Phone Developer) commented  ·   ·  Flag as inappropriate

        For those interested in sample code to use SPP, it's been pointed out to me that you can use the NXTCar Solution code as a starting point at http://code.msdn.microsoft.com/wpapps/Windows-Phone-8-Networking-835239c1

        Line 78 in the file MainPage.xaml.cs is
        await s.ConnectAsync(peerInfo.HostName, "1");
        the 2nd parameter is the RFCOMM Server Channel.

        Instead of specifying the server channel, you can also specify the Service UUID:
        await s.ConnectAsync(peerInfo.HostName, "{00001101-0000-1000-8000-00805F9B34FB}" /* This is the UUID for SPP. Please specify the UUID of the Service you would like to connect to. */);

      • Anonymous commented  ·   ·  Flag as inappropriate

        I was planning to change from an HTC Android to a Nokia 920, but as my Pebble watch will not work as things are currently, I am changing my mind.

      • bondo76bondo76 commented  ·   ·  Flag as inappropriate

        May we have an update as to the current status and/or progressing relationships in relation to current or future smart watch compatibility? I own a lumia 920 and am very interested in the coming smart watch tech as I am sure most of the current WP8 users are as well. mywatch, metawatch, pebble etc.

      • William William commented  ·   ·  Flag as inappropriate

        This is a bummer. Especially since I was one of the backers for the 'Pebble' watch on Kickstater, needs SSP specifically to operate correctly.

        A switch to BACK Android may be on the horizon if basic needs cannot be fulfilled.

      • amiramir commented  ·   ·  Flag as inappropriate

        Please provide developer platform support for bluetooth data transfer via SSP (Serial Port Profile). There are many bluetooth devices (e.g., medical devices, automotive, etc.) that we need to connect to

      • clodyclody commented  ·   ·  Flag as inappropriate

        Too bad that there are no more samples out there in the wild.
        But finally,
        Yes! I succeed at last to read GPS coordinates from an external GPS via bluetooth with Lumia 820!
        Awesome! If no one will come with a sample.. perhaps I will post one on my blog.

        Cheers,
        Claudiu

      • AnastasiaAnastasia commented  ·   ·  Flag as inappropriate

        Why do I have ti buy a new phone to get a basic feature?!
        Is it so difficult for genious MS personell to add NORMAL bluetooth to WP 7.8?!
        When I bought my WP 7.5 less than a year ago, I really thought, I was investing money in innovation, in a trustable product of a trustable company. And now, my 500 USD turned into garbage, that is not supported even by it's developer?
        MS!!! Would you please return loyalty and trust of your customers.

      • David LorenzinDavid Lorenzin commented  ·   ·  Flag as inappropriate

        @DirtyHand: Android Store is useless for developers, WP Store is FAR more $$$, and you develop QUALITY Apps in 1/4 of time, nothing on eartch beats Visual Studio 2012 and Microsoft/Nokia developer support :)

      • Michele Michele commented  ·   ·  Flag as inappropriate

        I've windows phone 7.5 (Nokia Lumia 800) and I've buy it 1 year ago for 450 euro and I don't want buy a new phone now. I prefer have Bluetooth in this phone with update at 7.8. Thanks

      • Michele Michele commented  ·   ·  Flag as inappropriate

        I've windows phone 7.5 (Nokia Lumia 800) and I've buy it 1 year ago for 450 euro and I don't want buy a new phone now. I prefer have Bluetooth in this phone with update at 7.8. Thanks

      • Anonymous commented  ·   ·  Flag as inappropriate

        De want this for Windows phone 7.8. I dont want to buy a new phone for that. This is a basic smartphone feature. Else I've been cheated.

      • Lewis BengeLewis Benge commented  ·   ·  Flag as inappropriate

        Is there any plans to extend this to BT4 LE and GATT support for fitness/health based accessories or just I raise a separate request for this?

      • Gilhern04Gilhern04 commented  ·   ·  Flag as inappropriate

        I gave up on windows when windows 8 came out and us early adopters got shafted, I just bought an iPhone 5 and I love it

      • Eric RenkenEric Renken commented  ·   ·  Flag as inappropriate

        I was at Tim Laverty's talk at build and I have gotten this to work with our RFCOMM hardware. I did have some initial problems but with a few quick emails with Tim and other MS engineer I was up and running. The only next thing I am looking for was a way to programmatically pair a device. Like if I see our hardware I want to set the PIN and pair to it and then when I am done disconnect. I guess that is kind of what NFC could help with if we added that to our hardware.

      ← Previous 1 3 4 5 6 7 8 9 10

      Feedback and Knowledge Base