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

how to make nrf51822 central to transmit the status of a pin ?

I have: nrf51822 bluetooth module, STlink V2, Keil, segger studio, nrf51 sdk and softdevice files.

I have achieved making the led blink at a ble peripheral device by nordic connect app via this link https://www.youtube.com/watch?v=_-d2d6Vc3lg&list=WL&index=96.

I want to make a ble master from which I can connect to the peripheral  and send the status of a button to the peripheral. (Its like when I poweron, the master search for the peripheral and connects to it and send the status of one of its pin).

Can you please guide me how to do that.

Parents Reply
  • thank you.

    Load "..\\..\\..\\..\\..\\..\\components\\softdevice\\s130\\hex\\s130_nrf51_2.0.1_softdevice.hex"
    Internal command error
    Error: Flash Download failed  -  Target DLL has been cancelled
    Flash Load finished at 20:07:36

    I am able to load the hex file without softdevice. But not able to load the softdevice.hex.

    I tried saving the softdevice.hex  (which I downloaded separately) in the particular folder (read somewhere that it is bec sometimes the hex files becomes windows script file). I tried the settings in the  target.. but still can't resolve it.

    Also the same error if I try Erase under Flash tab.

Children
Related