This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Windows 7 Desktop Platform using nRF51 USB Dongle(S120 or S130) C# platform

Hi ,

I am planning to buy nRF51 USB Dongle(S120 SoftDevice or S130 SoftDevice) to discover BLE devices and to communicate bi-directional. I am planning to develop C# in desktop side & RFduino in peripheral side. Will you please point some sample example of how to use USB Dongle(USB-UART) with C# in desktop.

I am using visual studio 2010 for programming.

My requirement is I want to use BLE Central(Desktop Side) as dongle and I need to control the BLE. For example, I will write a C# application program to give command to BLE for Scanning. Once scanned I will select the BLE peripheral from the scan to do Data exchange.

Planning to connect One central with one peripheral. Like that, I will have more than 40 pairs.

Kindly advise.

Note:Initially I came up with a Gazell Network. But it wont work with many pairs. I need to assign address manually for each pair.

Thanks and Regards

Lakshman,PMP,PMI-RMP

  • Hi Aryan,

        advertising_init();
        conn_params_init();
        for(int i=0;i <100000;i++);
    for(int i=0;i <100000;i++);
        printf("%s",start_string);
    

    you c# software should always in scanning to get the port number. Once you get the port number immediately connect it.

    make sure RtsEnable = True & DtrEnable = True my SDk version is 9.0.0 my hardware is latest development kit v1.1.0 The program didn't work, when I try to use uvision 5.16a pack installer to download and run the code. I downloaded sdk9.0.0 in Device folder and extract then I went to Load "C:\Keil_v5\ARM\Device\SDK9.0.0\examples\ble_peripheral\ble_app_uart\pca10028\s110\arm5_no_packs\_build\nrf51422_xxac_s110.axf" and open the project using uvision 5.16a

    do let me know if you need more info.

    Note: Even if you wont be able to see Start... in c# program. Go head and connect it with Master control panel then do the send & receive. it will work. Thanks and Regards Lakshman,PMP,PMI-RMP

Related