gap.h (308eeaffaa1b7bc3f35655c74d782ef314fd65cd) | gap.h (32a127304c5c9da6fe53a9a8a37ffbb67c6047e9) |
---|---|
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 --- 345 unchanged lines hidden (view full) --- 354void gap_set_page_scan_activity(uint16_t page_scan_interval, uint16_t page_scan_window); 355 356/** 357 * @brief Set Page Scan Type 358 * @param page_scan_mode 359 */ 360void gap_set_page_scan_type(page_scan_type_t page_scan_type); 361 | 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 --- 345 unchanged lines hidden (view full) --- 354void gap_set_page_scan_activity(uint16_t page_scan_interval, uint16_t page_scan_window); 355 356/** 357 * @brief Set Page Scan Type 358 * @param page_scan_mode 359 */ 360void gap_set_page_scan_type(page_scan_type_t page_scan_type); 361 |
362/** 363 * @brief Set Page Timeout 364 * @param page_timeout * 0.625 ms, range: 0x0001..0xffff, default: 0x6000 (ca 15 seconds) 365 */ 366void gap_set_page_timeout(uint16_t page_timeout); 367 |
|
362// LE 363 364/** 365 * @brief Set parameters for LE Scan 366 * @param scan_type 0 = passive, 1 = active 367 * @param scan_interval range 0x0004..0x4000, unit 0.625 ms 368 * @param scan_window range 0x0004..0x4000, unit 0.625 ms 369 * @param scanning_filter_policy 0 = all devices, 1 = all from whitelist --- 587 unchanged lines hidden --- | 368// LE 369 370/** 371 * @brief Set parameters for LE Scan 372 * @param scan_type 0 = passive, 1 = active 373 * @param scan_interval range 0x0004..0x4000, unit 0.625 ms 374 * @param scan_window range 0x0004..0x4000, unit 0.625 ms 375 * @param scanning_filter_policy 0 = all devices, 1 = all from whitelist --- 587 unchanged lines hidden --- |