This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ble/ble_watch_service.c b/ble/ble_watch_service.c | |
index 78af531..494819c 100644 | |
--- a/ble/ble_watch_service.c | |
+++ b/ble/ble_watch_service.c | |
@@ -188,8 +188,17 @@ static uint32_t tx_char_add(ble_watchs_t * p_watchs) | |
memset(&attr_md, 0, sizeof(attr_md)); | |
- BLE_GAP_CONN_SEC_MODE_SET_LESC_ENC_WITH_MITM(&attr_md.read_perm); | |
- BLE_GAP_CONN_SEC_MODE_SET_LESC_ENC_WITH_MITM(&attr_md.write_perm); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// file location: components/libraries/fds/fds.c | |
// Initialize the page structure (m_pages), and determine which | |
// initialization steps are required given the current state of the filesystem. | |
fds_init_opts_t init_opts = pages_init(); | |
if (init_opts == NO_PAGES) | |
{ | |
// try a reformat of the flash | |
init_opts = FRESH_INSTALL; | |
// instead of returning an error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# registered domains. might be the same for v4 and v6 | |
DOMAINV4=foobar.my-router.de | |
DOMAINV6=${DOMAINV4} | |
# generated token for each domain | |
TOKENV4=abcd-abcd-abcd | |
TOKENV6=abcd-abcd-abcd |