# Blues note-c now also works with Apache MyNewt

**URL:** <https://discuss.blues.com/t/blues-note-c-now-also-works-with-apache-mynewt/2323>\
**Category:** Tools & SDKs\
**Tags:** firmware-release\
**Created:** [September 10, 2024, 1:31pm UTC](https://discuss.blues.com/t/blues-note-c-now-also-works-with-apache-mynewt/2323 "2024-09-10T13:31:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ujur007](https://avatars.discourse-cdn.com/v4/letter/u/e9bcb4/32.png) [@ujur007](https://discuss.blues.com/u/ujur007)\
**Post date:** [September 10, 2024, 1:31pm UTC](https://discuss.blues.com/t/blues-note-c-now-also-works-with-apache-mynewt/2323/1 "2024-09-10T13:31:51Z")

</div>

Blues wireless uses [note-c](https://github.com/blues/note-c) for communicating to the Notecard from host such as Microcontroller or SoC. It uses I2C or serial protocol to send and receive JSON request and responses.  
Recently, I have ported this API to work with [Apache MyNewt](https://github.com/apache/mynewt-core). I will explain in short how to get it working.

The getting started guide for MyNewt is for installing the `newt` tool which is a meta tool for Apache MyNewt. I have followed the guide for installing the tool on Linux but it also works on Windows and Mac OS.

 ![Screenshot_2024-09-10_18-50-45](https://us1.discourse-cdn.com/flex020/uploads/blues/original/2X/9/9af5b2b924a034afbbfdec54a075ba10974f5608.png)

[https://mynewt.apache.org/latest/newt/install/newt\_linux.html](https://mynewt.apache.org/latest/newt/install/newt_linux.html)

The next step would be to install the `arm-none-eabi-gcc` and `arm-none-eabi-gdb`. After install the tutorial explains how to create a simple project, target and application. Basically project is where all project related files are stored. There can be multiple targets and application in a project. Targets and applications can be configured with different settings.

As I my PR for Blues wireless note-c is approved the sources for the API and example application are automatically downloaded with just one command `"newt upgrade"`.

The API will be downloaded to /repos/ folder and the example application will be in apps/blues-wireless folder.

Then one can just build the application with `$newt build target`

This will compile all the required source to build and flash the example application.  
Finally, `$newt create-image target 1.0.1` and `$newt load target` will load the application on the board.

The example is a simple GPS tracking using the Notecard.

 ![Screenshot_2024-09-10_19-02-33](https://us1.discourse-cdn.com/flex020/uploads/blues/original/2X/3/3800cfe9a302e27e20d9c41fd054037ee14440c7.png)

---

<div class="post-metadata">

**Author:** ![RobLauer](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/roblauer/32/1567_2.png) [@RobLauer](https://discuss.blues.com/u/RobLauer)\
**Post date:** [September 16, 2024, 4:23pm UTC](https://discuss.blues.com/t/blues-note-c-now-also-works-with-apache-mynewt/2323/2 "2024-09-16T16:23:36Z")

</div>

Thanks @ujur007 this is great!

---

<div class="post-metadata">

**Author:** ![ujur007](https://avatars.discourse-cdn.com/v4/letter/u/e9bcb4/32.png) [@ujur007](https://discuss.blues.com/u/ujur007)\
**Post date:** [September 16, 2024, 5:39pm UTC](https://discuss.blues.com/t/blues-note-c-now-also-works-with-apache-mynewt/2323/3 "2024-09-16T17:39:31Z")

</div>

Thanks @RobLauer. someone might want to try that…!
