|
1 | | -# ST BLE Sensor |
| 1 | +# Android_App_STBLESensors |
2 | 2 |
|
3 | | -This repository contains the ST BLE Sensor app source code. |
| 3 | +Application ST BLE Sensors |
4 | 4 |
|
5 | | -Used in conjunction with a firmware compatible with the BlueST protocol, the ST BLE Sensor application allow the user to access to all the sensors data, to request and download algorithm licenses, and to update the firmware directly from a mobile device via the Bluetooth® Low Energy protocol. |
6 | | -As an example, [FP-SNS-MOTENV1](http://www.st.com/content/st_com/en/products/embedded-software/mems-and-sensors-software/open-mems/bluemicrosystem1.html) expansion software package for STM32Cube lets the user read and display real-time inertial (e.g. motion MEMS) and environmental (e.g. humidity, pressure, temperature) sensor data. It also provides a set of Open.Mems library functionalities like motion-sensor data fusion (osxMotionFX), activity recognition (osxMotionAR) and pedometer (osxMotionPM). |
7 | | -The application is also compatible with the ST Open Development Environment compliant [FP-SNS-MOTENV1](http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32-ode-function-pack-sw/fp-sns-motenv1.html), [FP-SNS-ALLMEMS1](http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32-ode-function-pack-sw/fp-sns-allmems1.html) and [FP-SNS-FLIGHT1](http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32-ode-function-pack-sw/fp-sns-flight1.html) function packs. |
8 | 5 |
|
9 | | -The application is built on top of BlueST SDK, a library that provides an implementation of BlueST protocol and helps to easily export the data via Bluetooth® Low Energy. The SDK source code is freely available on [github](https://github.com/STMicroelectronics/) |
| 6 | +# Compilation |
10 | 7 |
|
11 | | -## Download the source |
| 8 | +Code compiled using gradle 8.1.1 and JDK 11 |
12 | 9 |
|
13 | | -Since the project uses git submodules, <code>--recurse-submodules</code> option must be used to clone the repository: |
| 10 | +set on Gradle properties the Github Login name and SSO authentication |
| 11 | +Example: |
14 | 12 |
|
15 | | -```Shell |
16 | | -git clone --recurse-submodules https://github.com/STMicroelectronics/STBlueMS_Android |
17 | | -``` |
| 13 | +GPR_USER=PezzoniL |
| 14 | +GPR_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXX |
18 | 15 |
|
19 | | -or run |
20 | | -```Shell |
21 | | -git clone https://github.com/STMicroelectronics/STBlueMS_Android |
22 | | -git submodule update --init --recursive |
23 | | -``` |
| 16 | +For using this application is necessary to downlaod the Android BlueST-SDK from: |
| 17 | +https://github.com/STMicroelectronics/BlueSTSDK_Android |
| 18 | + |
| 19 | +tag BlueST-SDK_V1.0.0 |
| 20 | + |
| 21 | +and follow the instruction for compiling and publish on local maven repository the 2 libraries necessary for this application: |
| 22 | +* st-blue-sdk |
| 23 | +* st-opus |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | +## Install Bash4 on Mac |
| 28 | + |
| 29 | +brew install bash |
| 30 | + |
| 31 | +## Using the script for creating a new demo |
| 32 | + |
| 33 | +brew install gnu-sed |
| 34 | +PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH" |
| 35 | +cd extra |
| 36 | +/usr/local/bin/bash ./createStDemoModule.sh binary_content xml "Binary Content" |
24 | 37 |
|
25 | 38 | ## License |
26 | 39 |
|
|
0 commit comments