Bluetooth Device GattCharacteristic.ValueChanged error

I am attempting to write a library that handles some BLE communication with a device.  I am writing it in Visual Studio Express 2013 for Windows Desktop (not Windows Store App)  I have imported the Windows 8.1 WinMd's necessary for the BLE communication.
I am attempting to perform the following:
dataCharacteristic = deviceService.GetCharacteristics(new Guid(sensorDataUuid))[0];
            dataCharacteristic.ValueChanged -= dataCharacteristic_ValueChanged;
but am getting the error:
"Property, indexer, or event 'Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic.ValueChanged' is not supported by the language; try directly calling accessor methods 'Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic.add_ValueChanged(Windows.Foundation.TypedEventHandler<Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic,Windows.Devices.Bluetooth.GenericAttributeProfile.GattValueChangedEventArgs>)'
or 'Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic.remove_ValueChanged(System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken)'"
I have not used c# in a long time but this action seems to be clearly defined here:
http://msdn.microsoft.com/en-us/library/windows.devices.bluetooth.genericattributeprofile.gattcharacteristic.aspx
Am I missing something important?  

Hello burnhamd5,
Do you meet this error message when compiling your project? If it is, this error might be caused by the index:
Your code is consuming an object that has a default indexed property and tried to use the indexed syntax. To resolve this error, call the property's accessor method.
And it could be also caused by a corrupted .NET Framework, you could try re-installed it or repair it using this
tool.
Or try to create this event using lambda expression as:
this.button1.Click += (s, a) => MessageBox.Show("Click");
Best Regards,
Fred.
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.

Similar Messages

  • I have a bose speakers and error on my iphone bluetooth device gave the skip and not as now bring up the device again, help please!

    I have a bose speakers and error on my iphone bluetooth device gave the skip and not as now bring up the device again, help please!

    Try toggle Bluetooth off and on. You can also try a reset all settings (your content won't be deleted).

  • No Bluetooth Device found after BIOS Update

    Product Name and No.: HP dv6516tx
    Operating System: Windows XP
    Error Message: No Bluetooth device found
    Changes Made: Updated BIOS to most recent version F. 5A
    System Information:
    OS Name Microsoft Windows XP Professional
    Version 5.1.2600 Service Pack 3 Build 2600
    OS Manufacturer Microsoft Corporation
    System Name UDAYMITTAL-PC
    System Manufacturer Hewlett-Packard
    System Model HP Pavilion dv6500 Notebook PC
    System Type X86-based PC
    Processor x86 Family 6 Model 15 Stepping 13 GenuineIntel ~1496 Mhz
    BIOS Version/Date Hewlett-Packard F.5A, 3/22/2010
    SMBIOS Version 2.4
    Windows Directory C:\WINDOWS
    System Directory C:\WINDOWS\system32
    Boot Device \Device\HarddiskVolume1
    Locale United States
    Hardware Abstraction Layer Version = "5.1.2600.5687 (xpsp_sp3_qfe.080930-1426)"
    User Name UDAYMITTAL-PC\Uday Mittal
    Time Zone India Standard Time
    Total Physical Memory 4,096.00 MB
    Available Physical Memory 2.23 GB
    Total Virtual Memory 2.00 GB
    Available Virtual Memory 1.96 GB
    Page File Space 4.83 GB
    Page File C:\pagefile.sys
    Problem Description:
    Yesterday I updated my laptop's BIOS to F 5A - latest available on HP Website. Since then I have lost the bluetooth functionality, which was wroking just fine prior to the update. Now the system doesn't find a bluetooth device.
    What I have already done:
    1. Switched back to previous versions of BIOS (available on HP Website coz I didn't note the BIOS version before I updated it). - That didn't work.
    2. Reseated the wireless card - Didn't work.
    3. Manually checked the connection of bluetooth module to the motherboard - Connection was fine but it still didn't work.
    4. Uninstalled the bluetooth driver and reinstalled it (HP integrated module WIDCOM) - still didn't work
    5. Installed HP Wireless Agent - Didn't work
    6. Installed HP Integrated module driver along with HP Wireless Agent - Didn't work
    7. Installed Ubuntu to check if its recognizing the device - Even its not recognizing the device which it used to do earlier.
    8. Sadly there's no BIOS setting in Setup which I can change to correct the bluetooth behaviour (Phoenix BIOS with limited interface).
    After all the research, I am posting this because I am unable to find a sloution to this problem on my own. I request the members to please help.
    Uday

    I got the bluetooth working. Had to dismantle the laptop and found that a small switch was loose.

  • How do I upload the contacts from my iPhone 5S to the Bluetooth device on my Toyota RAV4.  The car manual says to consult the phone's bluetooth instruction manual, but I don't have one.

    How do I upload the contacts from my iPhone 5S to the Bluetooth device on my Toyota RAV4?  The car manual says to consult the phone's Bluetooth instruction manual, but I don't have a manual for that.

    That is very strange... I wonder if it has something to do with the firmware or some sort of error. I haven't ran into this but at the shop I work at I've ran into several firmware errors on iPhone 4 all the way through the 5s. Maybe its something as simple as putting a different part of the code into iTunes... I know you can something of this extent. I would look up error 1669, I know you have tried a number of things but look it up on the forum and see what fixes are available so that you may be able to restore it properly without all this garbage you are running into. Just a thought for you.

  • HT1947 Using remote app , I am able to play songs on my pc to Apple TV. Now I would like to play them from pc to my bluetooth device. Is that possible?

    Hi, I am able to use Remote app on ipad to stream songs on pc ( iTunes library using home sharing ) to Apple TV. I would like to stream to bluetooth device. Is that possible?

    Movie mode
    continuous MPEG-4 video with audio capture/playback
    Movie image resolution
    VGA (640x480 pixels) at 13 fps
    QVGA (320x240 pixels) at 20 fps
    Movie length
    limited by capacity of memory card or 5, 15, 30 second clips
    Movie file format
    Still: JPEG/EXIF v2.2.1; Video: QuickTime MOV (MPEG-4 compression)
    This info is from the Kodak pages.
    My only guess at the error message is the very odd 13 frames per second recording. I don't know what to suggest.

  • Windows Vista - cannot use Bluetooth device TRENDNet TBW-102UB

    Hello,
    I'm facing a problem that occurs when try to connect Bluetooth device on Satellite A135-S4637 with Windows Vista Home Premium.
    The Bluetooth device is a TrendNet TBW-102UB, and at XP it's working just fine.
    The error message is "Bluetooth device is not ready".
    After install new updates from manufacturer's website the problem still occurs.
    Is there any service pack from Vista that fix that kind of problem or it is something relational to Toshiba's Bluetooth software?
    Thanks,
    Daniel

    Hello
    Please do not be mad on me but I do not understand relations to Toshiba notebook. Are you 100% sure that all USB ports on your notebook work properly?
    If yes the whole thing has something to do with this external device, driver and settings. To be honest the manufacturer must offer Vista compatible software. Do you think so?

  • After updating to 8.1 unable to play audio via bluetooth devices!

    While ysing windows 8, i had no such problem. but after i updated it, i am unable to play music via bluetooth devices. sometimes it gives error message "DRIVER ERROR", while other time it gives no error message while it doesn't work. What should i do to check it??

    Hi karankishore007,
    Welcome to the HPCommunity, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I will be happy to help with your Bluetooth issue but I will need some additional information. What is the product number for your notebook? When you check under your Device Manager what do you have listed under Bluetooth or Network Adapters for Bluetooth?
    Thank you,
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Broadcom bluetooth drives installation failed, no bluetooth device was detected.

     hello, i have HP Pavilion dm4-3013cl Entertainment Notebook PC laptop.and i am trying to install BROADCOM BLUETOOTH DRIVERS in my laptop and i am getting this error that no bluetooth device was detected. please make sure that your bluetooth device is plugged in properly in order to countinue installation. now i want to say that i lost my recovery disc and after while for heating issue my main hard disk break or not working condition so i just replace hard disk and ofcourse i dont have os so i install fress windows 7 ultimate 64bit in my laptop. and install each drivers provide by HP website i downloaded all drives and installed and my windows 7 is also up to date. i search for this issue allmost one week for solution but cabt fix and i come to know that before insalltion of BROADCOM BLUETOOTH DRIVERS i have to enable bluetooth in HP WIRELESS ASSISTANCE but in my case i think i cant find due to new disk and new os. i can send file or recieve with bluetooth can paired with my all smartphones too but cant listen music in head phones. cant access LISTEN TO MUSIC, i know the reason is only this drivers is not installing properlly and i want to fix it. now i a tired and i dont have time to search and fix it so please help me out from this issue please and sorry for my poor grammer.

    fixed !!!                now i come to know, the problem is drives which i update it from intel websites, paul you suggest me correct driver for my bluetooth but it is allready in my laptop which i updated before but again i download and install and nothing happen then i reformate laptop and again install all drivers which i downloaded from hp website for my laptop and again update all drivers manually and automaticallu both from intel website and intel utility drivers software and update windows too and i got same problem. cant hear music from bluettoth head phone, so again i reformate laptop but this time i just installed drivers which listed from hp website, i didnt update anything and as you said i didnt install broadcom bluetooth drivers because it is not for my laptop so then i connect my blutooth and try to access listen to music and o m g. it works now i can hear nusic form bluetooth, i dont believe this. but yes it works this forum help other also so thanks paul and have a nice day now i newer going to update my drivers...  in pic you can understand that i am not using latest version of bluetooth drivers.

  • Connecting bluesence AD (bluetooth device)

    hi there,
    I have a big problem. I have a bluesence AD, which is a bluetooth device that sends data from a sensor. i tried it with the software that comes along with the hardware and it works fine.
    BUT: I want to read the data using a labview program, and it just won't work!
    i tried the example bluetooth programs and i always get an error, saying that the 'network is already in use'.......
    I think i understand how it's suposed to work, but do i have to connect the bluetooth device using a 'normal' connection program, or do i have to connct using a labview application?!?!?!?
    could someone please help me with that?
    thx a lot!
    fab

    hi,
     thx for your reply, but i already tried this. doesn't work at all. the VI does not find any bluetooth device (cell phone......).
    with the bluetooth device come a software, wich simulates a virtual COM port. can i use this one to collect the data?
    what do you think?
    thak you!
    fabian

  • Bluetooth device detection

    Hi everyone!
    (I am newb at Java, and im looking for a very simple application (i think), but im not sure how to find what im looking for, i tried sourceforge.net, but i dont know how to run the java source files.)
    What im looking for is an app for PC that searches for bluetooth devices in the area, and logs their MAC address into a file (preferably .xml)
    It should continuously search for devices, and update the .xml file everytime it finds a new device, or an old one dissapears, so i always know what devices are in the area at this excact moment.
    Have you ever heard of such a thing, or do you simply have some good keywords for me to use :) Either way i would be very thankful for your help! :)
    Cheers,
    Lars

    Ok, here is my code a bit more formatted:
    public void run() {
    lock = new Object();
    while (!done) {
      doSearch();
        try {
        thread.sleep(DISCOVERY_LATENCY); //2000ms
        } catch (Throwable t) {}
    * Start a new Device discovery
    synchronized public void doSearch() {
    try {
    //get local bluetooth device
    local = LocalDevice.getLocalDevice();
    //get discovery agent
    agent = local.getDiscoveryAgent();
    //start a new Bluetooth discovery inquiry
    agent.startInquiry(DiscoveryAgent.GIAC,this);
    //we lock the thread and wait the end of the current inquiry
    synchronized(lock) {
        try {
        lock.wait();
        } catch (InterruptedException e) {}
    } catch (Exception e) {}
    *We detected one bluetooth devices
    public void deviceDiscovered(javax.bluetooth.RemoteDevice remoteDevice, javax.bluetooth.DeviceClass deviceClass) {
    try {
    // get the bluetooth MAC address of that device and remove any white space
    String value = remoteDevice.getBluetoothAddress().trim();
    if(checkTable(value) && doneDetection == false)
    doneDetection = true;
    launchHotSpotPage("test");
    } catch (Exception e) {
    System.err.println("BLUETOOH ERROR");
    * The bluetooth discovery inquiry has been completed
    public void inquiryCompleted(int discType) {
    local = null;
    agent = null;
    //We unlock the thread in order to make a new discovery
    synchronized(lock) {
    try {
    lock.notify();
    } catch (Exception e) {
    System.err.println("BLUETOOH ERROR");
    lock = null;
    lock = new Object();
    }

  • Bluetooth device unplugged

    hi , am using hp envy 1002tx . i formatted my lappy few days ago. now when am trying to install the driver for my bluetooth , the installation process dont get completed and in the end an error message comes up saying that the bluetooth device has been unplugged , please insert/reinsert. how to solve this issue?i have tried of installing new version of the driver from hp website but nothing is working.. help me

    Hello @debarpan,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand that your notebook computer is indicating that the Bluetooth device is unplugged after recovering your notebook computer, and I would be happy to assist you in this matter!
    The first step I recommend is to restore the original software and hardware drivers that were installed on your computer. To do this, please follow this document on Using Recovery Manager to Restore Software and Drivers (Windows 7). The second step I suggest is to update these drivers by Using HP Support Assistant (Windows 7).
    Please re-post with the results of your troubleshooting, and I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Hp pavilion dv2910us No Bluetooth Device was detected.........

    Hello........
    My Hp pavilion dv2910us
    after install windoas 7 when i try to install my bluetooth driver its say
    No Bluetooth device was detected.............
    i try SP38167 And SP46038 but same error ..............
    what to do............. is it driver problem and device problem......?????
    Thanks
    manoranjan
    waiting for great reply

    Hi
    Please press the Fn & Esc Button you will find the details of what i have asked you i needs the complete model number & Product number so i can check if the Bluetooth cam integrated on your unit.
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • Having trouble opening connections and reading from Bluetooth devices.

    Hello,
    As the title states, I am having trouble opening connections and reading data from a Bluetooth device. We are using a PDA to communicate with LabVIEW. First, the Bluetooth Open Connection VI displays a timeout error half of the time. Second, when it does open, it does not read what the PDA is sending. Third, if it does allow an open connection, it will not do it a second time unless the devices are turned off.
    I also have another related question. I am using a Linksys Bluetooth USB adapter, and the driver is proprietary. Labview requires the use of a Microsoft driver, and we are having problems going back and forth between the drivers. What Bluetooth receiver would you suggest using? The reason I ask is the fact that you have Bluetooth examples of client VI's. Therefore, you must use a similar device. Thank you for your time.
    -Jon

    Hi Jon,
    I'm not sure what Bluetooth receivers were used to verify the functionality of the VIs. However, I still want to help you solve your issue. Please make sure that you are running the shipping examples and let me know what version of LabVIEW, what PC OS and what PDA OS you are using. Does the Microsoft driver work for your Bluetooth receiver if you uninstall the Linksys driver?
    With your answers I'll do my best to help you out.
    - Philip Courtois, Thinkbot Solutions

  • Ring sound only to bluetooth device, possible ???

    Hi
    Is somebody know if it possible to make phone sms, ring, email ,etc.. sounds (E71) to bluetooth device (BH-902) only ! As for now I can hear it both on the phone and bt device.
    I can't find any settings for it :-(
    what a dissapointment.
    PLZ Help

    I have the same problem. Freakin annoying. I attempt to select an AirPlay device and it deselects it with no error or indication why. One thing I hate about Macs, always hide things from you.
    When I restart my computer all works again.
    Airplay from iTunes does work however. Must be a sound card driver issue or something.

  • Bluetooth device is not working in labview

    i worked with simple bluetooth server.vi example program. i attached one screen shot of that vi.my problem is, i plugged my usb bluetooth device and i run this vi, but the 'create listener' function generates error 59. 'bluetooth discover' function does not returning me any nearby devices. The device is detected in device manager and it is working properly in other softwares. The problem is in labview only. i use windows XP sp2, labview 8.2.1 full development version. kindly anyone help me to fix this problem.
    Attachments:
    bt.JPG ‏127 KB

    i already searched for solutions but there is no exact solution found for my problem. first i want to get my own device's name and address, it is not giving those details. i attached that vi's screenshot. tell me why this happens.
    Attachments:
    discover.JPG ‏73 KB

Maybe you are looking for

  • Print PDF - really low quality?

    Is there a way to adjust the quality settings of the PDFs that are output by selecting from the PDF menu on the print screen? Whenever I do that the PDFs come out really really low quality. I would like them to be as close to the originals as possibl

  • How do i change the search engine?

    i just wanna know how to change the search engine

  • Photo in imail stationary

    I want to add a .jpg to a placeholder in the stationary but only the part of the photo is shown. The slider begins at this point. Is there any way to have the entire .jpg (it is a business logo) included in the placeholder?

  • How do I delete auto-fill logons?

    Sometimes an erroneous logon gets typed in for a site and that logon is saved somewhere. I want to go to that place and delete the incorrect logons I have accumulated from that list. If I have to, I would delete all logons and start over just to get

  • What happened to the documents I had stored on iDisk?

    I thought that everything I had on my iDisk would transfer over to iCloud, but I guess I was wrong!  My hard drive crashed on my MacBook and I lost everything. Any clues how I would find my stuff? Patti