Git Product home page Git Product logo

stm32_iotboard_btle_demo's Introduction

STM32 Bluetooth Low Energy Demo

Hardware

L475E_IOT01

Development Software

This project has been configured to work with TrueStudio 9.3. The project was initilaized with STM32CubeMx, but it is no longer compatible with future STM32CubeMx updates, so make any changes with care!

Using STM HAL firmware

BTLE API Usage

ST's Guide can be found here: Getting started with the X-CUBE-BLE1 Bluetooth Low Energy software expansion for STM32Cube

BTLE Initialization

Initialize Hardware Abstraction Layer and serial interface:

  • SPI serial initialization:
    • BNRG_SPI_Init(); or
  • HCI_Init()
  • BlueNRG_RST();

Initialize services and characterisitics:

  • aci_gap_init()
  • aci_gatt_add_serv()

Set security requirements:

  • aci_gap_set_auth_requirement()

Set discoverable mode:

  • aci_gap_set_discoverable()

BTLE Files

  • gatt_db.c: Sets up the services and includes the service UUIDs as definitions

Sensor API Usage

ST's Guide can be found here: Getting started with the X-CUBE-MEMS1 motion MEMS and environmental sensor software expansion for STM32Cube

stm32_iotboard_btle_demo's People

Watchers

 avatar  avatar

stm32_iotboard_btle_demo's Issues

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.