sm.h (916ea5b20b33cb81200d64c51271e261a4dd9d8f) sm.h (db88441f671cf9b797d1a7638cc0e38d13db6ac0)
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 277 unchanged lines hidden (view full) ---

286
287/* API_END */
288
289/**
290 * @brief De-Init SM
291 */
292void sm_deinit(void);
293
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 277 unchanged lines hidden (view full) ---

286
287/* API_END */
288
289/**
290 * @brief De-Init SM
291 */
292void sm_deinit(void);
293
294/**
295 * @brief Use Debug Keys for LE Secure Connections for testing until restart
296 * @note Requires ENABLE_LE_SECURE_CONNECTIONS and ENABLE_LE_SECURE_CONNECTIONS_DEBUG_KEY
297 */
298void sm_test_enable_secure_connections_debug_keys(void);
299
294// PTS testing
295void sm_test_set_irk(sm_key_t irk);
296void sm_test_use_fixed_local_csrk(void);
297
300// PTS testing
301void sm_test_set_irk(sm_key_t irk);
302void sm_test_use_fixed_local_csrk(void);
303
304
298#ifdef ENABLE_TESTING_SUPPORT
299void sm_test_set_pairing_failure(int reason);
300#endif
301
302#if defined __cplusplus
303}
304#endif
305
306#endif // SM_H
305#ifdef ENABLE_TESTING_SUPPORT
306void sm_test_set_pairing_failure(int reason);
307#endif
308
309#if defined __cplusplus
310}
311#endif
312
313#endif // SM_H