gap.h (140c05572354590f2e1bafc201c571f374399606) gap.h (278ff8a910061d6697d57f96d145e4ac8ac1b587)
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

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

802uint8_t gap_sniff_mode_exit(hci_con_handle_t con_handle);
803
804/**
805 * @brief Configure Sniff Subrating
806 * @param con_handle
807 * @param max_latency range: 0x0002 to 0xFFFE; Time = N * 0.625 ms
808 * @param min_remote_timeout range: 0x0002 to 0xFFFE; Time = N * 0.625 ms
809 * @param min_local_timeout range: 0x0002 to 0xFFFE; Time = N * 0.625 ms
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

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

802uint8_t gap_sniff_mode_exit(hci_con_handle_t con_handle);
803
804/**
805 * @brief Configure Sniff Subrating
806 * @param con_handle
807 * @param max_latency range: 0x0002 to 0xFFFE; Time = N * 0.625 ms
808 * @param min_remote_timeout range: 0x0002 to 0xFFFE; Time = N * 0.625 ms
809 * @param min_local_timeout range: 0x0002 to 0xFFFE; Time = N * 0.625 ms
810 @ @return 0 if ok
810 */
811uint8_t gap_sniff_subrating_configure(hci_con_handle_t con_handle, uint16_t max_latency, uint16_t min_remote_timeout, uint16_t min_local_timeout);
812
811 */
812uint8_t gap_sniff_subrating_configure(hci_con_handle_t con_handle, uint16_t max_latency, uint16_t min_remote_timeout, uint16_t min_local_timeout);
813
814/**
815 * @Brief Set QoS
816 * @param con_handle
817 * @param service_type
818 * @param token_rate
819 * @param peak_bandwidth
820 * @param latency
821 * @param delay_variation
822 @ @return 0 if ok
823 */
824uint8_t gap_qos_set(hci_con_handle_t con_handle, hci_service_type_t service_type, uint32_t token_rate, uint32_t peak_bandwidth, uint32_t latency, uint32_t delay_variation);
825
813// LE
814
815/**
816 * @brief Get own addr type and address used for LE
817 */
818void gap_le_get_own_address(uint8_t * addr_type, bd_addr_t addr);
819
820

--- 41 unchanged lines hidden ---
826// LE
827
828/**
829 * @brief Get own addr type and address used for LE
830 */
831void gap_le_get_own_address(uint8_t * addr_type, bd_addr_t addr);
832
833

--- 41 unchanged lines hidden ---