Skip to content

Commit d7315e6

Browse files
committed
small changes
1 parent 9a46a9b commit d7315e6

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

components/crsf/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
set(srcs "crsf.c")
22

33
idf_component_register(SRCS "${srcs}"
4-
INCLUDE_DIRS "include")
4+
INCLUDE_DIRS "include"
5+
REQUIRES bt)

docs/todo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
- BLE aufräumen
2+
- Einrichten, dass esp nach einen neustart die gleiche adresse erhält
3+
14
- Report deskriptor austauschen mit neuen --> report id noch hinzufügen
25
- struct verschicken mittels bluetooth --> nur wenn sich was verändert hat an den Daten
36
- hr functionen löschen

main/main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ blehr_gap_event(struct ble_gap_event *event, void *arg)
226226
//ESP_ERROR_CHECK(ble_gap_update_params(event->connect.conn_handle, &connectionParameters));
227227
}
228228

229+
230+
conn_handle = event->connect.conn_handle;
231+
229232
break;
230233

231234
case BLE_GAP_EVENT_DISCONNECT:

sdkconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ CONFIG_BT_NIMBLE_SM_LEGACY=y
252252
CONFIG_BT_NIMBLE_SM_SC=y
253253
# CONFIG_BT_NIMBLE_DEBUG is not set
254254
# CONFIG_BT_NIMBLE_SM_SC_DEBUG_KEYS is not set
255-
CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME="nimble asdf"
255+
CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME="SimlinkModule"
256256
CONFIG_BT_NIMBLE_GAP_DEVICE_NAME_MAX_LEN=31
257257
CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU=256
258258
CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE=0
@@ -1409,7 +1409,7 @@ CONFIG_NIMBLE_SM_LEGACY=y
14091409
CONFIG_NIMBLE_SM_SC=y
14101410
# CONFIG_NIMBLE_DEBUG is not set
14111411
# CONFIG_NIMBLE_SM_SC_DEBUG_KEYS is not set
1412-
CONFIG_NIMBLE_SVC_GAP_DEVICE_NAME="nimble asdf"
1412+
CONFIG_NIMBLE_SVC_GAP_DEVICE_NAME="SimlinkModule"
14131413
CONFIG_NIMBLE_GAP_DEVICE_NAME_MAX_LEN=31
14141414
CONFIG_NIMBLE_ATT_PREFERRED_MTU=256
14151415
CONFIG_NIMBLE_SVC_GAP_APPEARANCE=0

0 commit comments

Comments
 (0)