gap.h (32a127304c5c9da6fe53a9a8a37ffbb67c6047e9) | gap.h (c0c8a8293ce46e8f8082cf05b50606cfd6b3ded6) |
---|---|
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 --- 736 unchanged lines hidden (view full) --- 745 746/** 747 * @brief Set LAP for GAP Classic Inquiry 748 * @param lap GAP_IAC_GENERAL_INQUIRY (default), GAP_IAC_LIMITED_INQUIRY 749 */ 750void gap_inquiry_set_lap(uint32_t lap); 751 752/** | 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 --- 736 unchanged lines hidden (view full) --- 745 746/** 747 * @brief Set LAP for GAP Classic Inquiry 748 * @param lap GAP_IAC_GENERAL_INQUIRY (default), GAP_IAC_LIMITED_INQUIRY 749 */ 750void gap_inquiry_set_lap(uint32_t lap); 751 752/** |
753 * @brief Set Inquiry Scan Activity 754 * @param inquiry_scan_interval range: 0x0012 to 0x1000; only even values are valid, Time = N * 0.625 ms 755 * @param inquiry_scan_window range: 0x0011 to 0x1000; Time = N * 0.625 ms 756 */ 757void gap_inquiry_set_activity(uint16_t inquiry_scan_interval, uint16_t inquiry_scan_window); 758 759/** |
|
753 * @brief Remote Name Request 754 * @param addr 755 * @param page_scan_repetition_mode 756 * @param clock_offset only used when bit 15 is set - pass 0 if not known 757 * @events: HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE 758 */ 759int gap_remote_name_request(const bd_addr_t addr, uint8_t page_scan_repetition_mode, uint16_t clock_offset); 760 --- 202 unchanged lines hidden --- | 760 * @brief Remote Name Request 761 * @param addr 762 * @param page_scan_repetition_mode 763 * @param clock_offset only used when bit 15 is set - pass 0 if not known 764 * @events: HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE 765 */ 766int gap_remote_name_request(const bd_addr_t addr, uint8_t page_scan_repetition_mode, uint16_t clock_offset); 767 --- 202 unchanged lines hidden --- |