gap.h (efc77985e3abe2b86c65a961b6e6a3ef759f5b3b) gap.h (64e2b019f2fddd9f3256ca185360838135765bd5)
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

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

676 * @brief Set update interval for resolvable private addresses generated by the Controller
677 * @param update_s timeout for updates in seconds
678 * @return status
679 */
680uint8_t gap_extended_advertising_set_resolvable_private_address_update(uint16_t update_s);
681
682/**
683 * @brief Provide storage for new advertising set and setup on Controller
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

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

676 * @brief Set update interval for resolvable private addresses generated by the Controller
677 * @param update_s timeout for updates in seconds
678 * @return status
679 */
680uint8_t gap_extended_advertising_set_resolvable_private_address_update(uint16_t update_s);
681
682/**
683 * @brief Provide storage for new advertising set and setup on Controller
684 * @note Using RPA as own_address_type requires ENABLE_LE_ENHANCED_CONNECTION_COMPLETE_EVENT is required for pairing
684 * @param storage to use by stack, needs to stay valid until adv set is removed with gap_extended_advertising_remove
685 * @param advertising_parameters
686 * @param out_advertising_handle to use with other adv config commands
687 * @return status
688 * @events: GAP_SUBEVENT_ADVERTISING_SET_INSTALLED
689 */
690uint8_t gap_extended_advertising_setup(le_advertising_set_t * storage, const le_extended_advertising_parameters_t * advertising_parameters, uint8_t * out_advertising_handle);
691
692/**
693 * @param Set advertising params for advertising set
685 * @param storage to use by stack, needs to stay valid until adv set is removed with gap_extended_advertising_remove
686 * @param advertising_parameters
687 * @param out_advertising_handle to use with other adv config commands
688 * @return status
689 * @events: GAP_SUBEVENT_ADVERTISING_SET_INSTALLED
690 */
691uint8_t gap_extended_advertising_setup(le_advertising_set_t * storage, const le_extended_advertising_parameters_t * advertising_parameters, uint8_t * out_advertising_handle);
692
693/**
694 * @param Set advertising params for advertising set
695 * @note Using RPA as own_address_type requires ENABLE_LE_ENHANCED_CONNECTION_COMPLETE_EVENT is required for pairing
694 * @param advertising_handle
695 * @param advertising_parameters
696 * @return status
697 */
698uint8_t gap_extended_advertising_set_params(uint8_t advertising_handle, const le_extended_advertising_parameters_t * advertising_parameters);
699
700/**
701 * @param Get advertising params for advertising set, e.g. to update params

--- 757 unchanged lines hidden ---
696 * @param advertising_handle
697 * @param advertising_parameters
698 * @return status
699 */
700uint8_t gap_extended_advertising_set_params(uint8_t advertising_handle, const le_extended_advertising_parameters_t * advertising_parameters);
701
702/**
703 * @param Get advertising params for advertising set, e.g. to update params

--- 757 unchanged lines hidden ---