BLE

Hello,

Does anyone know how to get the Bluetooth function to work on the Artemis?

Thank you,

Using Arduino:

  • Get the latest release from the Arduino Boards Manager (SparkFun Apollo3 v1.0.20)

  • File->Examples->Artemis Examples->Example8_BLE_LED

  • Upload

Using the AmbiqSuite SDK:

git clone --recursive https://github.com/sparkfun/AmbiqSuiteSDK
cd AmbiqSuiteSDK
cd boards_sfe/{board}/examples/ble_cordio_tag/gcc
make              # build project
# choose one of:
make bootload     # equivalent to 'bootload_svl'
make bootload_svl # bootloads using the SparkFun Variable Loader
make bootload_asb # bootloads using the Ambiq Secure Bootloader - overwrites SparkFun Variable Loader
# optionally you can set the COM_PORT command line option as needed, like:
make bootload COM_PORT=COM72

Hello!

I was able to find “Example8_BLE_LED” and change the LED lights using the LightBlue app on ios. However, I am not sure how to go from here to using the my Artemis Nano to send data via Bluetooth.

In addition to the “Example8_BLE_LED”, I also have downloaded “BLE_example.h”, and “BLE_example_funcs.cpp”, and “nus_api.h”, and “nus_main.c”.

Right now that is the only example. We’re working hard to make it easy to use BLE but the expected timeframe is pretty uncertain right now. Check out this post as well:

viewtopic.php?f=164&t=51573