gap.h (c33e56d3e01b1b1e94606efef5e1a616eb44f207) gap.h (f8ee30711d382a32d09f62fdcf31e17b8873cde8)
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

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

548/**
549 * @brief Abort SSP Numeric Comparison/Pairing
550 * @param addr
551 * @param pin
552 * @return 0 if ok
553 */
554int gap_ssp_confirmation_negative(bd_addr_t addr);
555
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

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

548/**
549 * @brief Abort SSP Numeric Comparison/Pairing
550 * @param addr
551 * @param pin
552 * @return 0 if ok
553 */
554int gap_ssp_confirmation_negative(bd_addr_t addr);
555
556/**
557 * @brief Enter Sniff mode
558 * @param con_handle
559 * @param sniff_min_interval range: 0x0002 to 0xFFFE; only even values are valid, Time = N * 0.625 ms
560 * @param sniff_max_interval range: 0x0002 to 0xFFFE; only even values are valid, Time = N * 0.625 ms
561 * @param sniff_attempt Number of Baseband receive slots for sniff attempt.
562 * @param sniff_timeout Number of Baseband receive slots for sniff timeout.
563 @ @return 0 if ok
564 */
565uint8_t gap_sniff_mode_enter(hci_con_handle_t con_handle, uint16_t sniff_min_interval, uint16_t sniff_max_interval, uint16_t sniff_attempt, uint16_t sniff_timeout);
556
566
567/**
568 * @brief Exit Sniff mode
569 * @param con_handle
570 @ @return 0 if ok
571 */
572uint8_t gap_sniff_mode_exit(hci_con_handle_t con_handle);
557
558// LE
559
560/**
561 * @brief Get own addr type and address used for LE
562 */
563void gap_le_get_own_address(uint8_t * addr_type, bd_addr_t addr);
564

--- 17 unchanged lines hidden ---
573
574// LE
575
576/**
577 * @brief Get own addr type and address used for LE
578 */
579void gap_le_get_own_address(uint8_t * addr_type, bd_addr_t addr);
580

--- 17 unchanged lines hidden ---