AleXox / sme-cc2541-library

This is the SmartEverything library to manage the BLE component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SmartEverything TI CC2541 BLE Arduino Library

An Arduino library for creating custom BLE peripherals with CC2541.

It enables you to create more customized BLE Peripheral's providing a 2 way communication.

This library interacts with the CC2541 Image (TI "BLE Bridge" Example). The related data transfer algorithm is described here:

![Gitter](http://processors.wiki.ti.com/index.php/SerialBLEbridge_V_1.4.1

The library provides a transparent RX - TX transmission hiding to the user the interaction with the TI BLE Bridge protocol.

Notice:

  • To receive data from the SME a Central Application needs to Subscribe to Attribute FFF4.
  • To send data to the SME a Central Application needs to write on Attribute FFF3 accordingley to the BLE Bridge protocol.

Compatible Hardware

Note: The CC2541 is connected to the Smart Everything throught the pluggable TDK SESUB-PAN-T2541 module. The communication between the CC2541 and the SME is done through a USART interface.

Usage

Download Library

Arduino

Using the Arduino IDE Library Manager

  1. Choose Sketch -> Include Library -> Manage Libraries...
  2. Type BLEBridge into the search box.
  3. Click the row to select the library.
  4. Click the Install button to install the library.

Using Git

cd ~/Documents/Arduino/libraries/
git clone https://github.com/ameltech/sme-cc2541-library/  sme-cc2541-library

Releases


v1.0.0 First Release

Examples

See examples folder.

License Information


Copyright (c) Amel Technology. All right reserved.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Useful Links

About

This is the SmartEverything library to manage the BLE component


Languages

Language:C++ 100.0%