Skip to content

Commit 2be4ab5

Browse files
committed
todo updated
1 parent 9476407 commit 2be4ab5

File tree

3 files changed

+7
-15
lines changed

3 files changed

+7
-15
lines changed

components/ble/gap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ int bleGAPEevent(struct ble_gap_event *event, void *arg) {
102102
.supervision_timeout = 1860/10 //10ms units, laut apple größer als itvl_max * (latency + 1) * 3
103103
};
104104

105+
//Update connection parameters are not allowed during iPhone HID encryption, slave turns off the ability to automatically update connection parameters during encryption.
105106
ESP_ERROR_CHECK(ble_gap_update_params(event->connect.conn_handle, &connectionParameters));
106107
}
107108

components/ble/gatt.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ static const uint8_t reportReferenceChar[2] = {
1818
0x01 //input: 0x01, output: 0x02, feature: 0x03
1919
};
2020

21+
22+
//https://github.com/betaflight/betaflight/blob/025ee87a7aca068e3659fd066b8a9afbed123361/lib/main/STM32_USB_Device_Library/Class/hid/src/usbd_hid_core.c#L239
23+
//https://github.com/betaflight/betaflight/blob/c5468981e68795c674b76788abe820a7870f62a8/src/main/io/usb_cdc_hid.c#L56
24+
//originaller tbs tango hid report descriptor
2125
static const uint8_t hidReportMap[] = {
2226
0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
2327
0x09, 0x05, // Usage (Game Pad)

docs/todo

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
- Report deskriptor austauschen mit neuen --> report id noch hinzufügen
2-
- struct verschicken mittels bluetooth --> nur wenn sich was verändert hat an den Daten
3-
- hr functionen löschen
4-
- testen mit velocidrone
5-
- wenn verbindung getrennt wird oder notify beendet wird nicht mehr notifies schicken
6-
7-
8-
- Update connection parameter wieder hinzufügen (bleprh anschauen)
9-
- Update connection parameters are not allowed during iPhone HID encryption, slave turns off the ability to automatically update connection parameters during encryption.
101
- Bei einem erneuten verbindungsaufbau wird das gestoppte updaten der daten nicht wieder gestartet
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
16-
- Linux geht immer
2+
- ios funktioniert nicht --> schauen ob man uqora team anschreiben kann für beta invite
3+
--> dev@orqafpv.com anschreiben für IOS testflight invite code

0 commit comments

Comments
 (0)