I would like to know the purpose of programming in C # on a Windows Form application. How can activate a buzzer sound on BTool. My application is that when I press a button on the application, the buzzer will sound.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I would like to know the purpose of programming in C # on a Windows Form application. How can activate a buzzer sound on BTool. My application is that when I press a button on the application, the buzzer will sound.
Hello Perot,
You can use any language to program your Windows Application Form, Java, HTML5, C, C++, whichever software you are comfortable with.. C# is free and powerful enough to do all you need. You can use the Thermometer example as a guide.
The buzzer or Proximity Alert has a service UUID:1802 and a Characteristic UUID:2A06. The characteristic Value Handle in my case is 0x0028. If you write a 1 or 2 to this handle, you will trigger the buzzer. Writing a 0 turns it off. You can find this information by going to the Adv. Command tab in Btool 1.3 then expand GATT and select GATT_DiscAllCharDescs and then Send Command. It shows the UUID,Handle and Description of everything available on your device.
You can find all this information in the CC2540/41 Software Developer's Guide v1.3, SWRU271D
Thanks,