sm.h (b45b7749fd0a3efec18073ae84f893078d0216d0) sm.h (67f708e073a3b5c01fde35c3f01722ed61d4b6a3)
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

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

87
88/**
89 * @brief Add event packet handler.
90 * @param callback_handler
91 */
92void sm_add_event_handler(btstack_packet_callback_registration_t * callback_handler);
93
94/**
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

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

87
88/**
89 * @brief Add event packet handler.
90 * @param callback_handler
91 */
92void sm_add_event_handler(btstack_packet_callback_registration_t * callback_handler);
93
94/**
95 * @brief Remove event packet handler.
96 * @param callback_handler
97 */
98void sm_remove_event_handler(btstack_packet_callback_registration_t * callback_handler);
99
100/**
95 * @brief Limit the STK generation methods. Bonding is stopped if the resulting one isn't in the list
96 * @param OR combination of SM_STK_GENERATION_METHOD_
97 */
98void sm_set_accepted_stk_generation_methods(uint8_t accepted_stk_generation_methods);
99
100/**
101 * @brief Set the accepted encryption key size range. Bonding is stopped if the result isn't within the range
102 * @param min_size (default 7)

--- 183 unchanged lines hidden ---
101 * @brief Limit the STK generation methods. Bonding is stopped if the resulting one isn't in the list
102 * @param OR combination of SM_STK_GENERATION_METHOD_
103 */
104void sm_set_accepted_stk_generation_methods(uint8_t accepted_stk_generation_methods);
105
106/**
107 * @brief Set the accepted encryption key size range. Bonding is stopped if the result isn't within the range
108 * @param min_size (default 7)

--- 183 unchanged lines hidden ---