BLE on Artemis

Has anyone had any luck getting BLE to work? Even with the HAL?

I tried the non-FreeRTOS UART BLE example (https://github.com/sparkfun/AmbiqSuiteS … ble_bridge) and I’m unable to see any Bluetooth devices.

I have loaded and ran the Example8_BLE_LED on my Artemis Nano with success. Now I need to develop the BLE services and characteristics for our project. I do not see where I can change the current UUID or services being advertised.

Can you point me to the files that hold this information or an estimated release timeline of libraries that will make this possible?

I have designed a new pcb for our product that uses the Artemis module to perform the BLE communications. Not having the ability to edit the BLE capabilities is now on the critical pathway for our product launch. Any assistance here would be greatly appreciatted!

hi I have done work on the BLE before and created server and client exchange on Artemis and a client that runs on Linux to the Artemis server. Liquid.solder had share the links before on May 11

The UUID is defined in nus_main.c around line 210.

Drop me an personal message. Maybe I can help to save you time

Thank you paulvh! I overlooked that post. I’ll dive into your examples and reach out if I have any questions.

Hello! Just getting started with Artemis and BLE. Any updates on support for the Arduino BLE? I tried uploading a sample sketch and I am getting an MbedOS hard fault… so when I found this, I assume it is because it is not fully supported yet?

Thanks!

use version 1.1.3 there is a known error with 1.20 causing hard faults

Perfect. Working through that now. Thanks!!

I can’t find any examples for BLE in the Sparkfun Apollo3 boards package (Version 2.06) that I’ve installed on Arduino IDE version 1.8.13

Is there an ETA for this? I have an Redboard Artemis Nano and Redboard Artemis that I bought in November 2019. Still waiting for Bluetooth. Hope it will be available soon. Thanks.

David.

https://github.com/arduino-libraries/Ar … r/examples

I’ve used the standard ArduinoBLE examples on the nano (don’t have a Redboard). They work but you have to modify the pins.cpp file:

  • Variant = core directory + SparkFun/hardware/apollo3/2.03/variants/SFE_ARTEMIS_NANO

  • ** Variant/config/pins.cpp: Needs to be changed to: (then refer to A0 or D10 etc. in your code for pinmode etc.)

#include “bridge/pins.h”

const pin_size_t variantPinCount = 18;

PinState variantPinStates[variantPinCount] = {

{A0, 13, NULL, NULL},

{A1, 33, NULL, NULL},

{A2, 11, NULL, NULL},

{A3, 29, NULL, NULL},

{D4, 18, NULL, NULL},

{A5, 31, NULL, NULL},

{D6, 43, NULL, NULL},

{D7, 42, NULL, NULL},

{D8, 38, NULL, NULL},

{D9, 39, NULL, NULL},

{D10, 40, NULL, NULL},

{D11, 5, NULL, NULL},

{D12, 7, NULL, NULL},

{D13, 6, NULL, NULL},

{A14, 35, NULL, NULL},

{A15, 32, NULL, NULL},

{A16, 12, NULL, NULL},

{LED1, 19, NULL, NULL},

};

Thanks. I give it a try.

David.

Ive been playing around with this thing all day as it was just a board I had spare and I decided it was the perfect form factor to drop inside an emergency stop button… Ive had some issues (with button bounce mostly but have sorted that by filtering) but now Im up to what looks to be a common problem with getting to connect to the board as a device through BLE? (I tried both Android and Windows 10) Using the existing ArduinoBLE library as I couldnt find any other libraries or examples that helped me understand how this works but currently I can see the device but cannot connect to it.

I believe this is common? Is there some reference at this point that will help me out or am I in a limbo state waiting on some update/doc?

Hi, you have to wait for the update, the link will not help here))

Damn, I thought I was going to be clever and use this spare board I had for another project that I didnt use… I designed a small mounting board to fit it inside of an emergency stop button and was really hoping this would be a quick dirty HID project, but need BLE. I might be out of practice with the Arduino IDE as I couldnt figure out how to find libraries that were compatible and ended up just installing everything that was BLE and removing whatever was ‘not compatible’. Sadly the things that were ‘compatible’ dont seem to work at all including the ArduinoBLE examples. I was hoping I was just doing something wrong