Code Monkey home page Code Monkey logo

beetle-ble-app's Introduction

Beetle BLE Demo Application

This repository contains a demo BLE Application meant to demonstrate the BLE capabilities of the ARM Beetle SoC in mbed environment. The application is compliant with mbed-os and mbed classic.

Buid procedure

  • Setup the mbed environment. For all the information refer to mbed.
  • Install mbed-cli (requires python >= 2.7.11):
> pip install mbed-cli

⚠️ This procedure may require sudo rights to complete correctly on Unix Systems.

  • Verify that mbed-cli version is at least 0.8.9:
> mbed --version
  • Clone this repository:
> git clone https://github.com/ARMmbed/beetle-ble-app.git
  • Enter into beetle-ble-app:
> cd beetle-ble-app
  • Update and Sync mbed-os:
> mbed update
> mbed sync
  • Install mbed-os core dependencies:
> pip install -r mbed-os/requirements.txt

⚠️ This procedure may require sudo rights to complete correctly on Unix Systems.

  • From the beetle-ble-app directory compile the application:
* GCC_ARM:
> mbed compile -m ARM_BEETLE_SOC -t GCC_ARM
* ARMCC:
> mbed compile -m ARM_BEETLE_SOC -t ARM
  • The generated application will be in .build/ARM_BEETLE_SOC/compiler-name/beetle-ble-app.bin

Flash Procedure and Testing

  • For the flashing procedure and the Serial port configuration please refer to Beetle mbed Instructions.
  • After completing the procedure you should be able to visualize on the serial port a message like:
ARM SSG BEETLE.SYSTEM.CORE.2.0.1.0 Jul 19 2016 17:35:15
Device Name: Beetle-IoT-TS
MAC Address: 01:23:45:67:89:01
==================
Welcome to MBED-OS
  • At this point you should be able to connect to the beetle device using a Bluetooth enabled device. In our test we used an Android tablet and the application: nRF Master Control Panel.

Export the Beetle BLE project to Keil MDK

  • From the command line, run the following command:
> mbed export -m ARM_BEETLE_SOC -i uvision5
  • You should see the following output:
Successful:
  * ARM_BEETLE_SOC::uvision5    .\projectfiles\uvision5_ARM_BEETLE_SOC\Unnamed_Project
  • The project files are contained into the directory: .\projectfiles\uvision5_ARM_BEETLE_SOC

Image of Beetle Project on uVision5

beetle-ble-app's People

Contributors

fvincenzo avatar mmorenobarm avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mmorenobarm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.