Trying to connect Seeed to nRF Connect iOS app using Arduino on Mac--ArduinoBLE library issue?

Hello everyone,

I’m trying to use the Seeed XIAO nRF52840 v1.0 board to connect via bluetooth/BLE to the nRF Connect app on my iPhone 12 Pro Max.

I’m on MacBook Pro (16-inch, 2021) with M1 Pro chip running macOS Monterey version 12.1 running Arduino 1.8.19 with the ArduinoBLE library version 1.3.2 installed.

I have connected my seeed to my MacBook Pro with a USB-C data AND power cable(learned that some cables only have power), and also uploaded the Blink example program to the seeed to verify that I could actually program the seeed.

I tried following this:
Send/Receive Data to Mobile App with XIAO BLE nRF52840 Sense
How to use nRF Connect App with Seeed XIAO BLE nRF52840 Sense

example, but I get these errors:

WARNING: library ArduinoBLE claims to run on samd, megaavr, mbed, apollo3, mbed_nano, mbed_portenta, mbed_nicla, esp32 architecture(s) and may be incompatible with your current board which runs on nrf52 architecture(s).
/Users/matthew/Documents/Arduino/libraries/ArduinoBLE/src/utility/HCIUartTransport.cpp:33:2: error: #error “Unsupported board selected!”
33 | #error “Unsupported board selected!”
| ^~~~~
/Users/matthew/Documents/Arduino/libraries/ArduinoBLE/src/utility/HCIUartTransport.cpp:99:40: error: ‘SerialHCI’ was not declared in this scope; did you mean ‘Serial’?
99 | HCIUartTransportClass HCIUartTransport(SerialHCI, 912600);
| ^~~~~~~~~
| Serial
exit status 1
Error compiling for board Seeed XIAO nRF52840 Sense.

I found the HCIUartTransport.cpp file and changing ‘SerialHCI’ to ‘Serial’, but that caused a number of other errors, making me think that that was not the root of the problem.

Does anyone understand the problem or have any suggestions of things to try? I would be very grateful for any guidance you can provide.

Thank you, Matthew

Hello, we have revised the Wiki for XIAO nRF52840, please refer to the Wiki content provided in the link below to check if you have selected the correct development board type.