Windows Phone 8.1 Bluetooth LE Issue

Hello Everyone, 
I have a Bluetooth LE device, and have written an app to interact with it. It usually works fine, but after a period of time (less than a minute), the "Characteristic Value Changed" event stops firing. I know that the device continues to send data,
and the issue doesn't happen with another (non WP) device I have. The only indication I have that something changed is that VS has an entry for "The thread 0x17c0 has exited with code 0 (0x0).". The thread location obviously changes each time but
the exit code never does. This doesn't cause an error to trip. The app continues to function normally, but the event handler for a change in characteristic never fires again. If there is no way to prevent this, is there at least a way to detect it so I can
reset the connection?
var tempService = currentDevice.GetGattService(new Guid("00002220-0000-1000-8000-00805f9b34fb"));
var charA = tempService.GetCharacteristics(new Guid("00002221-0000-1000-8000-00805F9B34FB")).First();
await charA.WriteClientCharacteristicConfigurationDescriptorAsync(Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientCharacteristicConfigurationDescriptorValue.Notify);
charA.ValueChanged += charA_ValueChanged;
Thanks for any help you can give, 
Jake

Wrong forum?

Similar Messages

  • Verizon mades changes in the coding and now Windows Phone 7 is having data issues!!!

    Starting about 3 weeks ago, I stopped receiving text messages and even worse stopped receiving calls yet alone my voicemails.  I have changed not one thing to my phone, everything is exactly the way it was before the issues arised.  Now I have to trick my phone to receive my data by dialing into my voicemail...  And then what do you know, 30 text mesages, 12 voicemails!!!
    The voicemails wont even tell you the date or time stamp (the time the voicemail was received).  After numerous *228 and talking with level 2 over the holidays, I see a huge article on multiple news sites stating Verizon is having data issues...  Dropped calls, loss of data, no signal while all our phone keep showing full bars and 3g.  Verizon stated its only happening on there 4gLTE system and not 3G but thats a load of crap.
    All one has to do is a google search of loss of text messages or voicemails on Verizon and you will see 100's up to 1000's of users like you and me all experiencing the same issues.  And not just with Windows Phone 7, but with there baby Driod and iPhone as well.
    What really ****** me off is that Verizon loves to play the blame game or pass the buck game.  Hard Reset your phone and that will solve the problem...  Yeah Right.  If this was our OS and we updated a driver that changed the OS in the background I can see that being the solution.  But for the 100's or 1000's of users that go to work daily, check there emails and text daily, and haven't changed one thing on the phone... THIS IS UNACCEPTABLE!!!
    Now I read an articile for someone extermely close to Microsoft stating that Verizon turned down Nokia's new 4GLTE phone because they have no faith in the operating system and I have to think that maybe behind the scenes Verizon is trying to force us off Windows Phone 7 platform with data issue behind the scene and try to get us all into the Droid Platform which they make 50% of the cash off the phone just like the iPhone...
    This is a joke, and I am really starting to think about going to ATT and getting the HTC Titan or the new Nokia 900.  I have already research a 3 party app that will allow you to backup and restore your phone.  And just read that Microsoft just put out an ad for backup, restore and cloud backup programmers for this latest feature.
    Verizon the games need to stop, Verizon you need to stand behind this Platform, Verizon you need to provide better service for all us 3G users!!!
    TheJester77

    Starting about 3 weeks ago, I stopped receiving text messages and even worse stopped receiving calls yet alone my voicemails.  I have changed not one thing to my phone, everything is exactly the way it was before the issues arised.  Now I have to trick my phone to receive my data by dialing into my voicemail...  And then what do you know, 30 text mesages, 12 voicemails!!!
    The voicemails wont even tell you the date or time stamp (the time the voicemail was received).  After numerous *228 and talking with level 2 over the holidays, I see a huge article on multiple news sites stating Verizon is having data issues...  Dropped calls, loss of data, no signal while all our phone keep showing full bars and 3g.  Verizon stated its only happening on there 4gLTE system and not 3G but thats a load of crap.
    All one has to do is a google search of loss of text messages or voicemails on Verizon and you will see 100's up to 1000's of users like you and me all experiencing the same issues.  And not just with Windows Phone 7, but with there baby Driod and iPhone as well.
    What really ****** me off is that Verizon loves to play the blame game or pass the buck game.  Hard Reset your phone and that will solve the problem...  Yeah Right.  If this was our OS and we updated a driver that changed the OS in the background I can see that being the solution.  But for the 100's or 1000's of users that go to work daily, check there emails and text daily, and haven't changed one thing on the phone... THIS IS UNACCEPTABLE!!!
    Now I read an articile for someone extermely close to Microsoft stating that Verizon turned down Nokia's new 4GLTE phone because they have no faith in the operating system and I have to think that maybe behind the scenes Verizon is trying to force us off Windows Phone 7 platform with data issue behind the scene and try to get us all into the Droid Platform which they make 50% of the cash off the phone just like the iPhone...
    This is a joke, and I am really starting to think about going to ATT and getting the HTC Titan or the new Nokia 900.  I have already research a 3 party app that will allow you to backup and restore your phone.  And just read that Microsoft just put out an ad for backup, restore and cloud backup programmers for this latest feature.
    Verizon the games need to stop, Verizon you need to stand behind this Platform, Verizon you need to provide better service for all us 3G users!!!
    TheJester77

  • Satellite A660-11M Windows 7 x64 BSOD - bluetooth stack issue

    It's been a while since i've turned my bluetooth mouse off due to a not handled kernel mode exception caused by tosrfbd.sys+2ca5a.
    Do you know where I can submit the related windows minidump?
    On my laptop is installed last relase of Toshiba BT stack.

    Hey
    What about reinstalling the Bluetooth software? Even you have installed the newest version I would try reinstalling it. You can find it on official Toshiba Bluetooth portal:
    http://aps2.toshiba-tro.de/bluetooth/
    Also this page contains a lot of information about Bluetooth so maybe you can find useful tips :)

  • Windows Phone 8 Silverlight application performace issue.

    Hi Everybody,
    We are developing an application which is having 100 pages (Chat Application), in this application we can send images,audio,video,contact,location everything by attachments. Application is running perfectly but if we use application for one hour by sending
    all attachments and doing some navigation's like one to another page, application becoming slow down and crashing. I have observed major issue with memory but I could not able to resolve this issue. I want to clear all memory consuming by pages, and how can
    I make this application perfect and fast.
    Your help is very very appreciable.
    Thanks in advance.

    As long as pages are kept on the BackStack they won't be reclaimed by the Garbage Collector. So you either have to structure your navigation in such a way that the user's navigation doesn't result in an ever longer BackStack.
    E.g. if I navigate forwards from Page A to Page B and then Page C I should not provide a button to jump to Page A but rather have the user do back navigation which will remove the other pages from the back stack. Alternatively you could clear the Back Stack
    whenever the user visits the start page of your App.
    Another common issue that is keeping pages alive even when they are no longer on the back stack is that they have registered to static events or to events on objects that are kept alive (e.g. Singletons or something like that). In that case the event still
    is a reference to the page and that in turn keeps it from being collected by the GC. To fix this you should unregister those events when navigating away from a page.
    Hope these hints help you in fixing your memory consumption problem.

  • Issue with Sqlite for Windows Phone 8.1!

    Hello all,
    I was working on a Windows phone 8.1 silverlight project, which I thought of discontinuing, and transform that same project as a Windows Phone 8.1 runtime project. After reading through a lot of articles on the web, which says that Windows Phone runtime API
    would be the one that will be used to develop applications for a variety of devices, so I thought of thinking on the long run and decided to stick with the Windows Phone runtime 8.1. 
    I am not sure whether I made a strange decision, since I moved to Windows phone runtime I haven't made a single step ahead in my project. What I get is all exceptions. I am trying hard to make SQLite work with my project, I am not sure what I am missing, I
    went through all the tutorials on the web and I feel that everything is right in my code.
    Here is the link to the project, could somebody have a look into it and advise me on what I am doing wrong.
    Project Link
    Thanks all.
    Thanks, Sumesh

    Hello Sumesh,
    From your description, it seems that your issue is related with windows phone development, and after checking the project with your provided download link, it seems to not be related with LINQ to SQL item, if you are actually want to ask a windows phone
    issue, you could ask it
    here. And I suggest that you could share these exceptions message you encounter with us on this forum.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Issues with 32GB micro SD with Windows Phone 8 and Lumia 810

    I bought 32 GB micro SDHC card (Sandisk) that causes issues such as:
    (1) tap Settings - then blank screen - then go back to Home
    (2) when shutting down WP8, it says "goodbye" forever and it does not go away. I have to detach the battery.
    (3) Occasional freezes - need to do step (2) to force reboot
    (4) Go to music > songs, causes OS to freeze
    (5) Go to music > albums, select one and cannot play - OS freeze
    I have huge library of MP3 and WMA that I want to keep them in the SD. I did it in 2 ways:
    (A) 
    Attach the micro SD (with adapter) into Windows PC, copy music folders to SD with Windows Explorer.
    (B) Attach the micro SD into Lumia 810, connect it to Windows PC. Windows detects the hardware, then using Windows Explorer, copy he music folders to Lumia 810 > SD card > Music.
    When I tried (A), 5 above issues came up. WP8 reported the SD card was corrupted. I run chkdsk to fix the SD card, but the 5 issues persisted after I inserted the SD. I formatted the SD card, and repeat
    (A), but the 5 issues persisted.
    I tried (B), then the copying process stopped in the middle. Windows Explorer reported error cannot copy file XXX. Then the 5 issues came up again.
    I am running out of ideas. What's wrong? SD, Lumia, or WP8? What should I do to have huge music files on the phone? Sorry, I can't play from the cloud.

    Hello,
    You should ask in the
    Windows Phone forums on the Microsoft Community forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Issue sideloading app on windows phone.

    I have a windows phone 8.1 running windows phone 8.1 update preview.
    Prompts me for "Add Workplace account?" instead of the 'install company app' when I download and install the AET.aetx certificate.
    The app never appears in the applist. 
    Please advise where i'm going wrong. 
    Thank you,
    Lou

    Hello,
    same issue with my app.
    After generating the app I received e-mail with instructions and links how to install it.
    Steps:
    1) click install certificate link - asks if I want to install Microsoft Corporation workplace account. Accepted and installed.
    2) click install app link - download the app and then asks if I want to Search the Store.
    My App is not installed. What I'm doing wrong? Some time ago I installed other app with no issues, but after some updates to App Studio I'm not able to do it anymore.
    Maybe there are some conflict with previous certificates? How can I check/remove them?
    Regards,
    Roman

  • Windows Phone - Hybrid Sencha App Issue

    We are building a hybrid app using Sencha Touch 2.4.0 targeting iOS, Android and Windows Phone. Although we are able to package and run the app for windows phone 8.1 using stub data but we are not able to make any calls to
    the web service(services are exposed to public server). After building an app, when we make an XMLHttpRequest call (POST), the request seems to return a null response. 
    We are trying to hit a URL which is live(no VPN required) and accessible from Internet Explorer mobile browser. We are able
    to hit the services and get appropriate response when we run the app in IE10 desktop browser(or even mobile browser). 
    We use a Nokia Lumia 920 running on Windows Phone 8.1 OS as the test device. We are not facing the same issues in any android phone or iphone. Therefore the issue seems to be restricted to windows phones only. We have tried
    debugging the app extensively for any possible fault
    in our code but we couldn't figure it out. 
    It would be very helpful if anyone has faced a similar issue and has a solution or workaround. 

    I'm not familiar with Sencha and you don't provide a lot of information about what your app is actually doing here, but check that you have network capabilities selected. In Visual Studio these are exposed in the capabilities tab in the manifest editor.
    Without those declared the app does not have access to the network.

  • Microsoft Band Functionality Issues and Windows Phone Developer Preview

    I just wanted to post this since I ran into this issue and after spending my evening dealing with it wanted to share what I learned. I picked up a Microsoft Band for myself and my wife. I'm running the developer preview on my Lumia 920 and have
    been for awhile now. The band has been working really well for me and I hadn't had any issues. My wife has a new Lumia 1520 and wasn't in the developer preview. Her band was fine for a couple of days but then stopped connecting to her phone. The Bluetooth
    wouldn't connect. I spent over an hour on the phone with Microsoft support which was pretty helpful (I do appreciate that it is US based support and not out in India). But during the troubleshooting I did with the support tech he mentioned that there are features
    that only work if you have the developer preview. Things such as Facebook and Twitter tiles on the Band only work with the latest version of WP 8.1 that you can get through the developer preview. However it also appears that the Band's other
    functions such as Cortana and Text/Email notifications work much better as well when you have the newer version of 8.1 with the Developer Preview. So I just wanted to put that out there, if you are having any issues with your Band sign up for the
    Developers Preview and update your phone and you should see improvements.
    Vincent Sprague

    Can anyone tell me why I have not mail option under Manage Tiles? I am running with the Develop Preview on a Lumia 1020. I am now running the developer preview update, I hope this fixes the issue but it seems it should just be an app issue smh.

  • RESOLVED : Windows Phone – Download reporting issue related to 11/1/14 – 11/9/14 data

    Update 3/22 - the below issue has been resolved.
    It has come to our attention that certain Windows Phone download reporting aggregations are not matching. After investigation, we found an issue related to 11/1/14 – 11/9/14 transactions.  For example, if you chose an “All
    app” aggregation (6 month view) and compared it to “Monthly by app” aggregations (6 month view), the totals weren’t matching.  The root cause of the issue was due to the 11/1/14 – 11/9/14 data not being considered for all  of the available aggregations.
    We are scheduled to fix the issue today. 
    If you have transactions between 11/1/14 – 11/9/14, you will see an increase in the following aggregation totals once the fix is completed:
    Monthly aggregations (6 and 12 month views) by app and in-app aggregations
    Cumulative downloads – app and in-app aggregations
    Please note, this is strictly a download reporting issue.  There is no impact to any payout reporting or payout amounts.
    When the fix has been completed, I will update this post.
    Thanks,
    Patrick

    Update 3/22 - the below issue has been resolved.
    It has come to our attention that certain Windows Phone download reporting aggregations are not matching. After investigation, we found an issue related to 11/1/14 – 11/9/14 transactions.  For example, if you chose an “All
    app” aggregation (6 month view) and compared it to “Monthly by app” aggregations (6 month view), the totals weren’t matching.  The root cause of the issue was due to the 11/1/14 – 11/9/14 data not being considered for all  of the available aggregations.
    We are scheduled to fix the issue today. 
    If you have transactions between 11/1/14 – 11/9/14, you will see an increase in the following aggregation totals once the fix is completed:
    Monthly aggregations (6 and 12 month views) by app and in-app aggregations
    Cumulative downloads – app and in-app aggregations
    Please note, this is strictly a download reporting issue.  There is no impact to any payout reporting or payout amounts.
    When the fix has been completed, I will update this post.
    Thanks,
    Patrick

  • Solution: iPad/iPhone Login issues with IIS as Reverse Proxy (Android and Windows Phone works)

    Hi,
    I had issues with iPad/iPhone access from external and tried a lot. Now I found my solution I like to share.
    I setup a IIS on Windows Server 2012 with ARR 2.5 and Android and Windows Phone could login but not iPad and iPhone.
    The IIS Log on the reverse proxy showed:
    2013-02-26 12:03:31 <IP> POST /webticket/webticketservice.svc X-ARR-CACHE-HIT=0&X-ARR-LOG-ID=1996c8d7-09d0-4310-8da4-a8dfb7940e28 443 - <ClientIP> Lync%202010/1.6+CFNetwork/609+Darwin/13.0.0 - 401 0 0 124
    2013-02-26 12:03:31 <IP> POST /webticket/webticketservice.svc X-ARR-CACHE-HIT=0 443 - <ClientIP> Lync%202010/1.6+CFNetwork/609+Darwin/13.0.0 - 502 3 12018 93
    First Request gets a 401 while anonymous. Second try would be with authentication but it never reached the internal front end server.
    After I installed a fix for ARR
    http://forums.iis.net/t/1195560.aspx/1?ARR+502+3+Bad+Gateway+0x80072ef2+2147954418+The+supplied+handle+is+the+wrong+type+for+the+requested+operation the Apple Devices could login.

    Hi,
    This resolved our problem too!! So happy after 2 weeks of messing around with just about every setting recommended from all types of forums and rebuilding our reverse proxy I was at a loose end. 
    Our environment is Lync 2013 Enterprise, Lync 2013 Edge, IIS as Reverse Proxy on Server 2012 using ARR 2.5
    We had Android and Windows clients working but no iOS devices at all. In the iOS log we were seeing 
    <h1>Server Error</h1></div><div id="content"> <div class="content-container"><fieldset> <h2>502 - Web server received an invalid response while acting as a gateway or proxy server.</h2> <h3>There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.</h3> </fieldset></div></div></body></html>
    When the client was trying to retrieve from the webticketservice.svc
    2013-04-11 17:19:44.659 Lync[4970:6c61000] INFO TRANSPORT TransportUtilityFunctions.cpp/907:<ReceivedResponse>
    POST https://lyncwebext.contoso.com/webticket/webticketservice.svc
    Request Id: 0x72cfc18
    HttpHeader:Content-Length 1477
    HttpHeader:Content-Type text/html
    HttpHeader:Date Thu, 11 Apr 2013 16:22:25 GMT
    HttpHeader:Server Microsoft-IIS/8.0
    HttpHeader:StatusCode 502
    Installed the HotFix from here:-
    Hotfix for Microsoft Application Request Routing Version 2.5 for IIS7 (KB 2732764) (x64)
    Rebooted the Reverse Proxy and iOS clients worked straight away for both Lync 2010 and Lync 2013 on both iPhone 5 and iPad both. 
    I hope this helps others as I was losing the plot :-)
    Cheers
    Sam

  • Authentication issue for Fedrated in Windows Phone mdm

    Hi group , i am implementing Windows phone MDM using Federated authentication mode. I succeeded in  OnPremise authentication mode. But if use  Federated authentication mode i am seeing following errors in logs. I am using windows phone
    8.1 device. I added EnrollmentPolicyServiceUrl,EnrollmentServiceUrl,AuthenticationServiceUrl
    in xml.
    GetEndpointsFromResponse() uses authentication mode (NULL). , 1, 45.574597604
     Unknown authentication mode (NULL) is used.
     Data transmission attempt (1) failed with (2149056518). , 1, 45.575081406
     [MDM Enroll End] Error HRESULT: 0x8018000
    Any advise would be greatly appreciated.

    This error suggests that the AuthPolicy node of your discovery response is either empty or could not be found. 
    Can you post the payload of your discovery response in this case?
    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
    your votes for existing suggestions.

  • Known issue: BackgroundTransfer sample fails with 0x80070002 error when using Windows Phone Emulator (Windows 10 Insider Preview SDK and tools, April 2015 release)

    When running the Universal Windows Platform (UWP) BackgroundTansfer sample (C# or C++) in a phone emulator (i.e., Debug Target is Emulator 10.0.1.0) the sample builds and deploys successfully, but clicking any button in "Scenario 1 File Download",
    "Scenario 3 Completion Notifications" or "Scenario 4 Completion Groups" will result in the following exception:
    An exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.ni.dll but was not handled in user code. Additional information: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
    This posting is provided "AS IS" with no warranties, and confers no rights.

    I am getting the same error even with the references recommended here. This is my code
       using (var stream = await Windows.Storage.ApplicationData.Current.LocalFolder.OpenStreamForWriteAsync(
                        JSONFILENAME,
                         CreationCollisionOption.OpenIfExists ))           
                serializer.WriteObject(stream, myCars);
    I can read it back as long as I don't stop the app/emulator. When I run the emulator again the file is gone. I tried loading the app to my Windows Phone and the same thing still happens.

  • Urgent Issue:How to test the windows phone application online in the simulator/emulator??

    Hi team,
    We have application that is deployed and supported for only windows phone.
    But do not have actual windows phone device to test.......
    Is there any online link for emulator/simultor------on which i can test my application.
    I am using windows 7 hence windows phone SDK is also not getting installed. 
    anyhow i have to test app ......
    Please send links to test online in the simlutor/emulator.....................
    thanks in adavnace

    You can find the tools and Emulators for Windows phone in the following link:Please refer to system requirements to determine the tools that will work on your machine. 
    http://dev.windows.com/en-us/develop/download-phone-sdk
    Please note that if you have Windows 7 you can only install Windows Phone 7.1 SDK and not WP 8 or 8.1 tools\Emulator. 
    http://www.microsoft.com/en-us/download/details.aspx?id=27570

  • Listview carsh issue in windows phone 8.1 runtime app

    Hi,
    I have the list view which i am binding with the list of items and the list contains 104 items and it can be more.
    When i scroll down the items the listview crashes with following exception:-
    The operation attempted to access data outside the valid range (Exception from HRESULT: 0x8000000B)
    System.ArgumentOutOfRangeException: This collection cannot work with indices larger than Int32.MaxValue - 1 (0x7FFFFFFF - 1).
    Parameter name: index
       at System.Runtime.InteropServices.WindowsRuntime.ListToBindableVectorAdapter.EnsureIndexInt32(UInt32 index, Int32 listCapacity)
       at System.Runtime.InteropServices.WindowsRuntime.ListToBindableVectorAdapter.GetAt(UInt32 index)
    Please give any suggestion to make it work. I was using the longlistselector in windows phone 8.0 using windows phone toolkit and it works fine there.
    Thanks,
    Nitesh

    Hi NiteshKr12,
    Based on your description, I know that when you try to bind 104 items to the ListView, the ListView will crash after scrolling. In my mind, there may be a limit of the pixels that can be displayed on the Windows Phone. Then could you please try to reduce
    some items to see if it can work?
    Besides, could you please try to post a simple reproduce project in here?
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How do i restore to earlier date without using time machine

    I logged in to my Mac a couple of days ago and it said it was restore to some weird date. It does not appear anything changed, but now when I am trying to download a Sims game (don't judge me lol) it won't download saying there is no Internet connect

  • How to secure one page not entire application?

    Hi there, I'm looking for some guidance on how to secure individual pages on my site. I've read a number of articles discussing creating a login using the Application.cfc. The thing is this approach locks down the entire site. I only want to secure a

  • E-Mails deleted automatically

    Hi, My mail program continues to keep copies of my e-mails on the server, even though I have tried to set it not to. What is worse, after a short period of time, and when new e-mals arrive, the old ones simply disappear from my inbox. From my testing

  • Can't install CS4 on vintage computer

    I have CS3. It was installed on my old Mac (circa 2006). My computer broke - it won't start, and my Apple store couldn't get it to fully start. I got a new (used) Mac (circa 2008). I keep getting an error message about the serial number when I try to

  • Video Playback After 3.1.2 Update

    I have recently updated to 3.1.2 and now find that some videos, that played perfectly well before the update, are now pixelated and of a considerably lesser standard. Is anyone else aware of this issue and is there any way around it? Thanks in advanc