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

nRF51822 acting as client in Arduino IDE software.

Can nRF51822 scan advertisements from other microcontroller(ESP32) using Arduino IDE? Recently I have been working with nRF51822 and could only code nrf acting as server ,I need nrf acting as client for my application, where i am trying to implement remote using nrf51822 chip where any changes made using remote should notify the other device connected to act accordingly. I am new to this and comfortable with Arduino IDE software I couldn't find any resource how to configure it as a client in Arduino IDE environment. It will be great help if you could provide an example codes for Arduino IDE environment, where it acts as client.

Thanks in advance.

  • Hi!

    Nordic doesn't officially support the Arduino IDE. We support Segger Embedded Studio, Keil MDK, IAR and GCC.

    The nRF51822 can scan advertisement packets from other microcontrollers, regardless of which IDE you use to program the application.

    There are a lot of samples available in the nRF5 SDK that showcases how to configure the device as a client, but they're only available in the IDE's that Nordic supports. For instance the Nordic UART Service Client or the GATT Service Client Example Application. 

    I suggest you spend some time getting familiar with one of the supported IDEs. It is not as easy as using the Arduino IDE, but if you make a product that uses the nRF51822 then it's going to be worth the effort.

    Best regards,

    Heidi

Related