When I try #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 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

More info about the board: https://wiki.dfrobot.com/Bluno_Beetle_SKU_DFR0339

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

The Device Is Not An Arduino Device (Uno,Mega,Nano,Mkr,etc)and arduinoBLE was made only arduino devices with builtin bluetooth

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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