You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Update connection parameter wieder hinzufügen (bleprh anschauen)
2
+
- Update connection parameters are not allowed during iPhone HID encryption, slave turns off the ability to automatically update connection parameters during encryption.
2
3
- Bei einem erneuten verbindungsaufbau wird das gestoppte updaten der daten nicht wieder gestartet
3
-
- IOS kann den bond nicht wiederherstellen, wenn ESP neugestartet wird (muss neu hinzugefügt werden)
4
-
- Android kann schon beim enkoppeln und erneuten koppeln nicht mehr bonden ohne nachfrage
5
-
- Linux geht immer
4
+
6
5
- Code cleanup
7
6
- Kommentare von main nehmen und in diesen branch hinzufügen
8
7
- Mergen in main
9
8
10
9
11
-
Update connection parameters are not allowed during iPhone HID encryption, slave turns off the ability to automatically update connection parameters during encryption.
12
10
13
-
https://github.com/espressif/esp-idf/issues/3532
11
+
12
+
13
+
Kann ich nicht ändern --> wie https://github.com/h2zero/NimBLE-Arduino/blob/release/1.4/src/NimBLEDevice.cpp alles gemacht:
14
+
- IOS kann den bond nicht wiederherstellen, wenn ESP neugestartet wird (muss neu hinzugefügt werden)
15
+
- Android kann schon beim enkoppeln und erneuten koppeln nicht mehr bonden ohne nachfrage
//itvl: These determine how often the devices will "ping-pong" each other and also when they will send any data required. So if you set the value to something like 20, that would mean packets are sent every 25ms, which will obviously consume more power than say a value of 80 (100ms). The reason for the min max values is so the devices can negotiate a compromise for the best possible communication, you can set these to the same value if you prefer.
213
+
.itvl_min= (int)(11.25/1.25), //1.25ms units; laut apple 11.25 minimum fuer hid
214
+
.itvl_max= (int)(20/1.25), //minimum ist laut apple eigentlich 15ms deswegen etwas höher setzen
215
+
//latency: This is how many "ping-pong" (connection interval) events the slave(server) device is allowed to skip without the client device considering the connection terminated. So if you had a 25ms connection interval and you wanted to sleep for 1 second you could set this value to 40 and the client would consider the connection active for up to 40 skipped intervals.
216
+
.latency=30, //up to 30 connection intervals
217
+
//timeout: This is the absolute (disconnection) timeout, if no packets are received by either device within this time the connection is considered terminated.
218
+
.supervision_timeout=1860/10//10ms units, laut apple größer als itvl_max * (latency + 1) * 3
//itvl: These determine how often the devices will "ping-pong" each other and also when they will send any data required. So if you set the value to something like 20, that would mean packets are sent every 25ms, which will obviously consume more power than say a value of 80 (100ms). The reason for the min max values is so the devices can negotiate a compromise for the best possible communication, you can set these to the same value if you prefer.
214
-
.itvl_min= (int)(11.25/1.25), //1.25ms units; laut apple 11.25 minimum fuer hid
215
-
.itvl_max= (int)(20/1.25), //minimum ist laut apple eigentlich 15ms deswegen etwas höher setzen
216
-
//latency: This is how many "ping-pong" (connection interval) events the slave(server) device is allowed to skip without the client device considering the connection terminated. So if you had a 25ms connection interval and you wanted to sleep for 1 second you could set this value to 40 and the client would consider the connection active for up to 40 skipped intervals.
217
-
.latency=30, //up to 30 connection intervals
218
-
//timeout: This is the absolute (disconnection) timeout, if no packets are received by either device within this time the connection is considered terminated.
219
-
.supervision_timeout=1860/10//10ms units, laut apple größer als itvl_max * (latency + 1) * 3
0 commit comments