Windows 10: Windows 10 BLE WPF - ValueChanged no longer works in 1809

Discus and support Windows 10 BLE WPF - ValueChanged no longer works in 1809 in Windows 10 Software and Apps to solve the problem; I have a WPF BLE Central application (not UWP) that used to work in Windows 10, 1803 connected to Nordic NRF52 processor. The issue is the code below... Discussion in 'Windows 10 Software and Apps' started by jkim_224, Jun 7, 2019.

  1. jkim_224 Win User

    Windows 10 BLE WPF - ValueChanged no longer works in 1809


    I have a WPF BLE Central application (not UWP) that used to work in Windows 10, 1803 connected to Nordic NRF52 processor.


    The issue is the code below no longer generates event.


    aCharacteristic.ValueChanged += char_ValueChanged_Notification;


    I am not using any pairing or bonding currently. Below is high level summary of the BLE code.


    aBleDevice = await BluetoothLEDevice.FromBluetoothAddressAsync(blueToothAddr);


    var gatt = await aBleDevice.GetGattServicesAysnc();


    // For each of the service found, get the Characteristics

    var charResult await service.GetCharateristicsAsync();


    // For each characteristic that I want to be notified, I have code below generated event in 1803, but no longer works in 1809 or in 1903.


    aCharacteristic.ValueChanged += char_ValueChanged_Notification;

    Any suggestions on how to make it work in 1809 and later? It appears to be related to security issue change(?) that prevents reading / receiving data from the BLE Peripheral?

    :)
     
    jkim_224, Jun 7, 2019
    #1
  2. MrSeanKon Win User

    Enable visual styles in WPF application

    EUREKA!

    Steps:
    1) I made a Windows form (HostWPF namespace, Form1 is the form).
    2) I added a reference => System.Windows.Forms.Integration which contains classes that enable interoperation between the Windows Forms and WPF technologies. When you use System.Windows.Forms.Integration classes, you can host Windows Forms controls on WPF pages, and WPF elements in Windows Forms-based applications.
    3) Then added a control (damn Vi$ual $tudio 2010 does not allow to add a WPF window) but after adding I edited the XMAL code in the way I want *Wink Windows 10 BLE WPF - ValueChanged no longer works in 1809 ;)
    4) The next steps are simple. Download the first attachment. But => see the photo.
    It crashes!!!!!
    5) Finally???
    We must use System.Windows.Forms.Application.Exit(); command because the WPF window behaves like a classical Windows Form.
    Download the second attachment. Note that the Windows form's name is Initial.
    Enjoy!
     
    MrSeanKon, Jun 7, 2019
    #2
  3. MrSeanKon Win User
    Terminate WPF/Windows forms applications....

    WPF has no concept of MDI applications. In fact Microsoft is trying to discourage any one using that form of application. I'm new to WPF and I really like MDI applications. It allows me to move quickly between windows and compare the content of different windows. Furthermore, sometime the content of one window is useful for another so I can copy and paste. I think it's a great user experience for working mode.
    To continue, download the attachment!
    It includes two folders, they are very simple code.
    The point is how you can terminate an application (Windows Form and WPF).
     
    MrSeanKon, Jun 7, 2019
    #3
  4. Monk.e83 Win User

    Windows 10 BLE WPF - ValueChanged no longer works in 1809

    Unlocked Realtek HD Audio Drivers Windows 7 & 8 (With Dolby Digital Live and DTS Interactive)

    DTS supported natively by Windows 8/8.1 and it should work on windows 10 too just DDL require to unlock your driver .
     
    Monk.e83, Jun 7, 2019
    #4
Thema:

Windows 10 BLE WPF - ValueChanged no longer works in 1809

Loading...
  1. Windows 10 BLE WPF - ValueChanged no longer works in 1809 - Similar Threads - BLE WPF ValueChanged

  2. Windows 10 Login no longer works

    in AntiVirus, Firewalls and System Security
    Windows 10 Login no longer works: My windows 10 pin no longer works and neither does my password. I have tried to change them, but no joy. It says cannot log you in, close and retry. Finally it logs me in a temporary acct with no access to my files. How do I get back to my files?...
  3. Auto tablet mode no longer working after 1809 build

    in Windows 10 Installation and Upgrade
    Auto tablet mode no longer working after 1809 build: I recently installed the 1809 build in my Lenovo 2-in-1 laptop and ever since, when I fold the keyboard back for tablet mode, it doesn't automatically activate tablet mode nor does it deactivate the keyboard and trackpad. Is there anything I can do to fix this?...
  4. After 1803 to 1809 upgrade, Windows Update no longer works

    in Windows 10 Updates and Activation
    After 1803 to 1809 upgrade, Windows Update no longer works: On Friday, I upgraded a VirtualBox VM 1803 Professional x64 to 1809. When the upgrade was complete, I ran Windows Update, but it errored out after a long delay with ERROR_TIMEOUT (0x800705b4). I have tried a clean boot and resetting the Windows Update components. That did...
  5. Bluetooth speaker no longer working after update to Win 10 1809

    in Windows 10 Drivers and Hardware
    Bluetooth speaker no longer working after update to Win 10 1809: Speaker Philips BT50B/37 stopped working after update to version 1809. The device pairs and connects, but there is no sound coming out of the speaker. If I try to manage audio in Skype, I get the message "there no device to manage". In Device manager I see 3 audio devices:...
  6. Windows 10 1809 - Search term "Datetaken:" no longer works

    in Windows 10 Network and Sharing
    Windows 10 1809 - Search term "Datetaken:" no longer works: In Windows 10 update 1809 the ability to search photos by using "Datetaken:" no longer works. This does work in Windows 10 1803. https://answers.microsoft.com/en-us/windows/forum/all/windows-10-1809-search-term-datetaken-no-longer/5c1299d6-2166-434f-a152-912c7b97fefd"
  7. Commands no longer work in Windows 10

    in Windows 10 BSOD Crashes and Debugging
    Commands no longer work in Windows 10: I have written a command file to start my browser and Word etc. Using a command such as: start "Starting Outlook" /D "c:\Progam Files(x86)\Microsoft Office" /MAX "Outlook.exe" However this no longer works! Seems to be since I updated to the October upgrade of Windows 10....
  8. Windows 10 Update 1809 - Syncing of Timeline no longer working and Cloud Clipboard doesn't...

    in Windows 10 Customization
    Windows 10 Update 1809 - Syncing of Timeline no longer working and Cloud Clipboard doesn't...: Hi, hoping I may be able to get some help. My two PCs updated yesterday to 1809. One is an HP all-in-one, the other a Surface Pro 2017. I realised that the Timeline functionality had broken, entirely, on both machines. Neither machine was recording my Timeline activity. I...
  9. Password no longer works in Windows 10

    in AntiVirus, Firewalls and System Security
    Password no longer works in Windows 10: I recently was notified on my new HP Laptop that they were going to do a bios update. At the same time there was a Microsoft update. I can no longer log in. When I set the initial login password, I wrote it down so I know it is correct. I had changed my login to a pin...
  10. Windows 10 no longer works...

    in Windows 10 Performance & Maintenance
    Windows 10 no longer works...: I'm really upset about the new windows 10 upgrade. I had windows 7 and worked fine till I updated. Now my sound keeps going out, my wifi doesn't turn on, everything lags, nothing works, it's slower than ever before. This happened one month after installing windows 10 and now...