When I try to #include <ArduinoBLE.h> in my Arduino program, I get the error:

WARNING: library ArduinoBLE claims to run on samd, megaavr, mbed, apollo3, mbed_nano, mbed_portenta architecture(s) and may be incompatible with your current board which runs on avr architecture(s).

Apart from potentially trying to import an incompatible library, am I doing something wrong? If not, are there any Arduino libraries for AVR architectures that will allow me to transfer data through Bluetooth via dealing with Services, Characteristics, Descriptors, etc.?

The Beetle Bluno BLE board is based on:

  • ICSP1: ATmega 328P
  • ICSP2: CC2540
  • 1
    ArduinoBLE is not compatible with CC2540. the CC2540 on Bluno Beetle has AT commands
    – Juraj
    Jun 28, 2021 at 11:31
  • 1
    @Juraj thanks, how can AT commands help me here?
    – human
    Jun 28, 2021 at 11:39

1 Answer 1


The device is not an Arduino device (Uno, Mega, Nano, Mkr, etc) and ArduinoBLE was made only for Arduino devices with built-in Bluetooth.

  • it is an Arduino, just the BLE IC is not supported by the ArduinoBLE library
    – Juraj
    Jan 13, 2023 at 17:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.