10 Commits

Author SHA1 Message Date
lemmingDev
22603ae878 Can now get peer connection info and device configuration info
See GetPeerInfo.ino example for details
2025-01-31 13:00:46 +09:00
lemmingDev
87880ec4a7 Update BleConnectionStatus.cpp - formatting 2025-01-29 21:35:21 +09:00
lemmingDev
57d0ae639a Allow forced pairing and removing of bonds
A much requested feature to work around hosts aggressively connecting to gamepad unwantedly.

Example provided
2025-01-29 20:39:03 +09:00
h2zero
2bec081589 Fix Windows notifications not being sent on reconnection.
When Windows bonds with a device and subscribes to notifications/indications of the device characteristics it does not re-subscribe on subsequent connections.
If a notification is sent when Windows reconnects it will overwrite the stored subscription value in the NimBLE stack configuration with an invalid value which results in notifications/indications not being sent.

This change will ensure that no notification or indication is sent before authentication upon reconnection, avoiding the described issue described above.
2025-01-11 16:47:47 -07:00
Sab1e
51cdda37f1 Fix compatibility with NimBle version 2.0.0
- Modified method signatures to adapt to changes in NimBle version 2.0.0.
2024-12-02 14:24:32 +08:00
lemmingDev
884ddba409 Add more configurable BLE characteristics 2022-09-27 09:54:51 +10:00
Giovanni Cascione
8af09a5085 add updateConnParams to server callbacks 2022-07-26 00:35:43 +02:00
dexterdy
acee5ab5ea Seperated configuration from base class for convenience. Added support for special buttons (#97)
* added support for start and select button

* Added the things I forgot

* changed header

* edited the main file to add support for the different special buttons

* added the press and release functions

* added stuff to make it more complete. not done yet

* this should do it

* added back button

* made the indentation consistent

* small commit so i can continue on my other pc

* finished the header for the config class

* started working on converting existing code with new config class

* replaced all _include variable with calls to the config class

* fixed constructor

* removed setAutoReport function

* fixed a bunch of dumb mistakes

* fixed a bunch of dumb mistakes

* made the indentation consistent

* small commit so i can continue on my other pc

* finished the header for the config class

* started working on converting existing code with new config class

* replaced all _include variable with calls to the config class

* removed setAutoReport function

* fixed a bunch of dumb mistakes

* added report id to list of configurable options

* actually finished all the getters and setters from the config class

* finished the configuration class

* forgot controllertype config

* updated the examples

* added my own example

* added home test to example

* ran an autoformatter

* added a comment (examples)

* more readable copy-by-value

* fixed circular dependancy problem

* spelling mistake

Co-authored-by: Hagedoorn, J.P. (pieter) <j.p.hagedoorn@students.uu.nl>
2022-05-01 02:14:13 +10:00
lemmingDev
eb6edf8b6e NimBLE library used as default 2021-06-28 08:43:21 +10:00
lemmingDev
3ed1c21ac5 Add files via upload 2019-09-14 18:32:50 +10:00