Skip to content

Commit 4170bc9

Browse files
committed
Release 1.1.0
1 parent ee9f2a4 commit 4170bc9

File tree

6 files changed

+25
-13
lines changed

6 files changed

+25
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## [Unreleased]
5+
## [1.1.0] - 2021-01-20
66

77
### Added
88
- `NimBLEDevice::setOwnAddrType` added to enable the use of random and random-resolvable addresses, by asukiaaa

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[Latest release ![Release Version](https://img.shields.io/github/release/h2zero/NimBLE-Arduino.svg?style=plastic)
22
![Release Date](https://img.shields.io/github/release-date/h2zero/NimBLE-Arduino.svg?style=plastic)](https://github.com/h2zero/NimBLE-Arduino/releases/latest/)
3+
4+
Need help? Have questions or suggestions? Join the [![Gitter](https://badges.gitter.im/NimBLE-Arduino/community.svg)](https://gitter.im/NimBLE-Arduino/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
35
<br/>
46

57
# NimBLE-Arduino

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=NimBLE-Arduino
2-
version=1.0.2
2+
version=1.1.0
33
author=h2zero
44
maintainer=h2zero <powellperalta@gmail.com>
55
sentence=Bluetooth low energy (BLE) library for arduino-esp32 based on NimBLE.

src/NimBLEClient.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,12 @@ int NimBLEClient::disconnect(uint8_t reason) {
378378

379379
/**
380380
* @brief Set the connection paramaters to use when connecting to a server.
381-
* @param [in] minInterval minimum connection interval in 0.625ms units.
382-
* @param [in] maxInterval maximum connection interval in 0.625ms units.
383-
* @param [in] latency number of packets allowed to skip (extends max interval)
384-
* @param [in] timeout the timeout time in 10ms units before disconnecting
385-
* @param [in] scanInterval the scan interval to use when attempting to connect in 0.625ms units.
386-
* @param [in] scanWindow the scan window to use when attempting to connect in 0.625ms units.
381+
* @param [in] minInterval The minimum connection interval in 1.25ms units.
382+
* @param [in] maxInterval The maximum connection interval in 1.25ms units.
383+
* @param [in] latency The number of packets allowed to skip (extends max interval).
384+
* @param [in] timeout The timeout time in 10ms units before disconnecting.
385+
* @param [in] scanInterval The scan interval to use when attempting to connect in 0.625ms units.
386+
* @param [in] scanWindow The scan window to use when attempting to connect in 0.625ms units.
387387
*/
388388
void NimBLEClient::setConnectionParams(uint16_t minInterval, uint16_t maxInterval,
389389
uint16_t latency, uint16_t timeout,
@@ -410,10 +410,10 @@ void NimBLEClient::setConnectionParams(uint16_t minInterval, uint16_t maxInterva
410410
/**
411411
* @brief Update the connection parameters:
412412
* * Can only be used after a connection has been established.
413-
* @param [in] minInterval minimum connection interval in 0.625ms units.
414-
* @param [in] maxInterval maximum connection interval in 0.625ms units.
415-
* @param [in] latency number of packets allowed to skip (extends max interval)
416-
* @param [in] timeout the timeout time in 10ms units before disconnecting
413+
* @param [in] minInterval The minimum connection interval in 1.25ms units.
414+
* @param [in] maxInterval The maximum connection interval in 1.25ms units.
415+
* @param [in] latency The number of packets allowed to skip (extends max interval).
416+
* @param [in] timeout The timeout time in 10ms units before disconnecting.
417417
*/
418418
void NimBLEClient::updateConnParams(uint16_t minInterval, uint16_t maxInterval,
419419
uint16_t latency, uint16_t timeout)

src/NimBLEHIDDevice.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
#define HID_DIGITAL_PEN 0x03C7
3737
#define HID_BARCODE 0x03C8
3838

39+
40+
/**
41+
* @brief A model of a %BLE Human Interface Device.
42+
*/
3943
class NimBLEHIDDevice {
4044
public:
4145
NimBLEHIDDevice(NimBLEServer*);

src/NimBLEServer.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,13 @@ uint16_t NimBLEServer::getPeerMTU(uint16_t conn_id) {
621621

622622

623623
/**
624-
* Update connection parameters can be called only after connection has been established
624+
* @brief Request an Update the connection parameters:
625+
* * Can only be used after a connection has been established.
626+
* @param [in] conn_handle The connection handle of the peer to send the request to.
627+
* @param [in] minInterval The minimum connection interval in 1.25ms units.
628+
* @param [in] maxInterval The maximum connection interval in 1.25ms units.
629+
* @param [in] latency The number of packets allowed to skip (extends max interval).
630+
* @param [in] timeout The timeout time in 10ms units before disconnecting.
625631
*/
626632
void NimBLEServer::updateConnParams(uint16_t conn_handle,
627633
uint16_t minInterval, uint16_t maxInterval,

0 commit comments

Comments
 (0)