Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to STBTLE-RF and STBTLE-1S module #26

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
# ArduinoBLE
# STM32duinoBLE

[![Build Status](https://travis-ci.org/arduino-libraries/ArduinoBLE.svg?branch=master)](https://travis-ci.org/arduino-libraries/ArduinoBLE)
This library is a fork of ArduinoBLE library to add the support of STBTLE-RF and STBTLE-1S BLE modules.

Enables BLE connectivity on the Arduino MKR WiFi 1010, Arduino UNO WiFi Rev.2, Arduino Nano 33 IoT, and Arduino Nano 33 BLE.
You can find the official Pull Request at the following link:

This library supports creating a BLE peripheral and BLE central mode.
https://github.com/arduino-libraries/ArduinoBLE/pull/26

For the Arduino MKR WiFi 1010, Arduino UNO WiFi Rev.2, and Arduino Nano 33 IoT boards, it requires the NINA module to be running [Arduino NINA-W102 firmware](https://github.com/arduino/nina-fw) v1.2.0 or later.


For more information about this library please visit us at:
https://www.arduino.cc/en/Reference/ArduinoBLE
For more information about ArduinoBLE library please visit the official web page at:
https://github.com/arduino-libraries/ArduinoBLE

## License

Expand Down
12 changes: 6 additions & 6 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name=ArduinoBLE
name=STM32duinoBLE
version=1.1.1
author=Arduino
maintainer=Arduino <[email protected]>
sentence=Enables BLE connectivity on the Arduino MKR WiFi 1010, Arduino UNO WiFi Rev.2, Arduino Nano 33 IoT, and Arduino Nano 33 BLE.
author=Arduino, SRA
maintainer=stm32duino
sentence=Fork of ArduinoBLE library to add the support of STBTLE-RF and STBTLE-1S BLE modules.
paragraph=This library supports creating a BLE peripheral and BLE central mode.
category=Communication
url=https://www.arduino.cc/en/Reference/ArduinoBLE
architectures=samd,megaavr,mbed
url=https://github.com/stm32duino/STM32duinoBLE
architectures=samd,megaavr,mbed,stm32
includes=ArduinoBLE.h
2 changes: 1 addition & 1 deletion src/utility/ATT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ void ATTClass::handleData(uint16_t connectionHandle, uint8_t dlen, uint8_t data[
}
}

void ATTClass::removeConnection(uint8_t handle, uint16_t /*reason*/)
void ATTClass::removeConnection(uint16_t handle, uint8_t /*reason*/)
{
int peerIndex = -1;
int peerCount = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/utility/ATT.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class ATTClass {

void handleData(uint16_t connectionHandle, uint8_t dlen, uint8_t data[]);

void removeConnection(uint8_t handle, uint16_t reason);
void removeConnection(uint16_t handle, uint8_t reason);

uint16_t connectionHandle(uint8_t addressType, const uint8_t address[6]) const;
BLERemoteDevice* device(uint8_t addressType, const uint8_t address[6]) const;
Expand Down
Loading