Skip to content

Commit

Permalink
Merge pull request stm32duino#12 from cparata/master
Browse files Browse the repository at this point in the history
Replace ArduinoBLE.h with STM32duinoBLE.h and create a new release fo…
  • Loading branch information
cparata authored Feb 17, 2020
2 parents 04a895f + 742e409 commit dbc9cd1
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion examples/Central/LedControl/LedControl.ino
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
This example code is in the public domain.
*/

#include <ArduinoBLE.h>
#include <STM32duinoBLE.h>

#if defined(ARDUINO_STEVAL_MKSBOX1V1)
/* STEVAL-MKSBOX1V1 */
Expand Down
2 changes: 1 addition & 1 deletion examples/Central/PeripheralExplorer/PeripheralExplorer.ino
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
This example code is in the public domain.
*/

#include <ArduinoBLE.h>
#include <STM32duinoBLE.h>

#if defined(ARDUINO_STEVAL_MKSBOX1V1)
/* STEVAL-MKSBOX1V1 */
Expand Down
2 changes: 1 addition & 1 deletion examples/Central/Scan/Scan.ino
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
This example code is in the public domain.
*/

#include <ArduinoBLE.h>
#include <STM32duinoBLE.h>

#if defined(ARDUINO_STEVAL_MKSBOX1V1)
/* STEVAL-MKSBOX1V1 */
Expand Down
2 changes: 1 addition & 1 deletion examples/Central/ScanCallback/ScanCallback.ino
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
This example code is in the public domain.
*/

#include <ArduinoBLE.h>
#include <STM32duinoBLE.h>

#if defined(ARDUINO_STEVAL_MKSBOX1V1)
/* STEVAL-MKSBOX1V1 */
Expand Down
2 changes: 1 addition & 1 deletion examples/Central/SensorTagButton/SensorTagButton.ino
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
This example code is in the public domain.
*/

#include <ArduinoBLE.h>
#include <STM32duinoBLE.h>

#if defined(ARDUINO_STEVAL_MKSBOX1V1)
/* STEVAL-MKSBOX1V1 */
Expand Down
2 changes: 1 addition & 1 deletion examples/Peripheral/ButtonLED/ButtonLED.ino
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
This example code is in the public domain.
*/

#include <ArduinoBLE.h>
#include <STM32duinoBLE.h>

#if defined(ARDUINO_STEVAL_MKSBOX1V1)
/* STEVAL-MKSBOX1V1 */
Expand Down
2 changes: 1 addition & 1 deletion examples/Peripheral/CallbackLED/CallbackLED.ino
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
This example code is in the public domain.
*/

#include <ArduinoBLE.h>
#include <STM32duinoBLE.h>

#if defined(ARDUINO_STEVAL_MKSBOX1V1)
/* STEVAL-MKSBOX1V1 */
Expand Down
2 changes: 1 addition & 1 deletion examples/Peripheral/LED/LED.ino
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
This example code is in the public domain.
*/
#include <ArduinoBLE.h>
#include <STM32duinoBLE.h>

#if defined(ARDUINO_STEVAL_MKSBOX1V1)
/* STEVAL-MKSBOX1V1 */
Expand Down
5 changes: 2 additions & 3 deletions keywords.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#######################################
# Syntax Coloring Map For ArduinoBLE
# Syntax Coloring Map For STM32duinoBLE
#######################################

#######################################
# Datatypes (KEYWORD1)
#######################################

ArduinoBLE KEYWORD1
BLE KEYWORD1
STM32duinoBLE KEYWORD1

BLEDevice KEYWORD1
BLECharacteristic KEYWORD1
Expand Down
4 changes: 2 additions & 2 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name=STM32duinoBLE
version=1.1.2
version=1.2.0
author=Arduino, SRA
maintainer=stm32duino
sentence=Fork of ArduinoBLE library to add the support of SPBTLE-RF and SPBTLE-1S BLE modules.
paragraph=This library supports creating a BLE peripheral and BLE central mode.
category=Communication
url=https://github.com/stm32duino/STM32duinoBLE
architectures=stm32
includes=ArduinoBLE.h
includes=STM32duinoBLE.h
4 changes: 2 additions & 2 deletions src/ArduinoBLE.h → src/STM32duinoBLE.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _ARDUINO_BLE_H_
#define _ARDUINO_BLE_H_
#ifndef _STM32DUINO_BLE_H_
#define _STM32DUINO_BLE_H_

#include "local/BLELocalDevice.h"
#include "BLEProperty.h"
Expand Down

0 comments on commit dbc9cd1

Please sign in to comment.