사용하지 않는 매크로 삭제: LESC 및 Static Passkey 관련

- ble 관련이 ble_quick_security 파일로 가면서 정의만 남은 매크로
This commit is contained in:
2026-04-17 13:48:02 +09:00
parent 80c846fd25
commit 0294cdb428

View File

@@ -148,29 +148,6 @@
#define NEXT_CONN_PARAMS_UPDATE_DELAY APP_TIMER_TICKS(30000) /* Subsequent param update interval: 30s */ #define NEXT_CONN_PARAMS_UPDATE_DELAY APP_TIMER_TICKS(30000) /* Subsequent param update interval: 30s */
#define MAX_CONN_PARAMS_UPDATE_COUNT 3 /* Max param update attempts */ #define MAX_CONN_PARAMS_UPDATE_COUNT 3 /* Max param update attempts */
/* -- BLE security parameters (when FEATURE_SECURE_CONNECTION enabled) --
* Bonding (BOND=1): store pairing info in flash for reconnection
* MITM protection (MITM=1): prevent man-in-the-middle attacks (passkey auth required)
* LESC: disabled(0) in static passkey mode, enabled(1) in dynamic passkey mode
* IO capabilities: DISPLAY_ONLY -> device displays passkey, user enters in app
*/
#if FEATURE_SECURE_CONNECTION
#define LESC_DEBUG_MODE 0 /* LESC debug mode disabled */
#define SEC_PARAM_BOND 1 /* Bonding enabled (store pairing info) */
#define SEC_PARAM_MITM 1 /* MITM protection enabled */
#if FEATURE_STATIC_PASSKEY
#define SEC_PARAM_LESC 0 /* Static passkey mode: LESC disabled */
#else
#define SEC_PARAM_LESC 1 /* Dynamic passkey mode: LESC enabled */
#endif
#define SEC_PARAM_KEYPRESS 0 /* Keypress notification disabled */
#define SEC_PARAM_IO_CAPABILITIES BLE_GAP_IO_CAPS_DISPLAY_ONLY /* Display only */
#define SEC_PARAM_OOB 0 /* No OOB (Out-of-Band) data */
#define SEC_PARAM_MIN_KEY_SIZE 7 /* Min encryption key size (bytes) */
#define SEC_PARAM_MAX_KEY_SIZE 16 /* Max encryption key size (bytes) */
#define PASSKEY_TXT_LENGTH 8 /* Passkey text buffer length */
#endif
/*============================================================================== /*==============================================================================
* System Constants * System Constants
*============================================================================*/ *============================================================================*/