gap.h (9d8be771b7efd42f4804454cb0c7f42d85b831db) gap.h (f50ed5accd466e0382c16bf576fa99242f1de3ed)
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

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

1201/**
1202 * @brief Set Inquiry Scan Activity
1203 * @param inquiry_scan_interval range: 0x0012 to 0x1000; only even values are valid, Time = N * 0.625 ms
1204 * @param inquiry_scan_window range: 0x0011 to 0x1000; Time = N * 0.625 ms
1205 */
1206void gap_inquiry_set_scan_activity(uint16_t inquiry_scan_interval, uint16_t inquiry_scan_window);
1207
1208/**
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

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

1201/**
1202 * @brief Set Inquiry Scan Activity
1203 * @param inquiry_scan_interval range: 0x0012 to 0x1000; only even values are valid, Time = N * 0.625 ms
1204 * @param inquiry_scan_window range: 0x0011 to 0x1000; Time = N * 0.625 ms
1205 */
1206void gap_inquiry_set_scan_activity(uint16_t inquiry_scan_interval, uint16_t inquiry_scan_window);
1207
1208/**
1209 * @brief Set Inquiry Transmit Power Level
1210 * @param tx_power range: -70 to 20 dBm
1211 */
1212void gap_inquiry_set_transmit_power_level(int8_t tx_power);
1213
1214/**
1209 * @brief Remote Name Request
1210 * @param addr
1211 * @param page_scan_repetition_mode
1212 * @param clock_offset only used when bit 15 is set - pass 0 if not known
1213 * @events: HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE
1214 */
1215int gap_remote_name_request(const bd_addr_t addr, uint8_t page_scan_repetition_mode, uint16_t clock_offset);
1216

--- 209 unchanged lines hidden ---
1215 * @brief Remote Name Request
1216 * @param addr
1217 * @param page_scan_repetition_mode
1218 * @param clock_offset only used when bit 15 is set - pass 0 if not known
1219 * @events: HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE
1220 */
1221int gap_remote_name_request(const bd_addr_t addr, uint8_t page_scan_repetition_mode, uint16_t clock_offset);
1222

--- 209 unchanged lines hidden ---