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

how to send data over BLE and read using master control pannel

hi all, i am a begineer to nordic. i want to send data over ble and read that using master control pannel. please say wat api i want to use and how to use. please give detail description.

Thanks in advance

Parents Reply Children
  • hi vinay, i just want to send one string eg."hello" over ble and read that using MASTER CONTROL PANNEL. please say step by step.

    -Thanks in Advance

  • you can use the ble_app_uart example on the ble_peripheral examples folder. And use a terminal to send and receive data and then see it change on the MCP. but if you follow the tutorial that vinay presented or this one you should be able to do this pretty easy.

  • There are two types of Master control panel (MCP) available.

    1. PC based - you will need two Nordic devices one evaluation kit and other dongle type of Nordic device.

    2. Android based - you need only evaluation kit and android phone installed with Master control panel app from Nordic. After selecting one of the setups above, select evaluation kit as a peripheral device and the dongle as central or your android phone as central device. The peripheral device is the one who is in advertising mode and central is the device who is interested in connecting to peripheral device and collect data. So your Master control panel helps you test your firmware application that you will program to peripheral device and will act as a server to your device. Hope you have all the development setup ready and it compiles all your code etc... Download all the sdk ... Assuming you have your setup ready and the hex file compiled with the development environment etc. Or you may select example codes available in sdk.

    3. Using "nRFgo studio" upload softdevice hex file that comes with the SDK. This is library from Nordic that takes care of wireless communication... Suppose you are using SDK11, so upload the "\sdk\sdk11\components\softdevice\s130\hex\s130_nrf51_2.0.0_softdevice.hex" to your evaluation kit.

    4. Select any of the example code, for example \sdk\sdk11\examples\ble_peripheral\ble_app_cts_c\hex\appropriate.hex Using "nRF studio" upload your application hex file to your evaluation kit.
      The source code documentation is available at "developer.nordicsemi.com/.../".

    5. Once the application is uploaded the device is in advertising mode ( you will see LED blinking ..)

    6. Prorgam your dongle device with the firmware selecting menu "file->flash programming" in MCP.

    7. Now you can connect to the device using MCP and discover, enable services . The services are listed on output panel. Refer to MCP help... You can read and write the characteristics, get notifications etc...

    All the help is available online… you need to search…

    Hope this helps.

Related