gap.h (f5875de52c2368de57990d41b456c83e57f8f0ee) gap.h (b7f1ee76fc01b4587d4b3491e7884299bad22f99)
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

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

384/**
385 * @brief Stop GAP Classic Inquiry
386 * @brief Stop GAP Classic Inquiry
387 * @returns 0 if ok
388 * @events: GAP_EVENT_INQUIRY_COMPLETE
389 */
390int gap_inquiry_stop(void);
391
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

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

384/**
385 * @brief Stop GAP Classic Inquiry
386 * @brief Stop GAP Classic Inquiry
387 * @returns 0 if ok
388 * @events: GAP_EVENT_INQUIRY_COMPLETE
389 */
390int gap_inquiry_stop(void);
391
392/**
393 * @brief Remote Name Request
394 * @param addr
395 * @param page_scan_repetition_mode
396 * @param clock_offset only used when bit 15 is set - pass 0 if not known
397 * @events: HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE
398 */
399int gap_remote_name_request(bd_addr_t addr, uint8_t page_scan_repetition_mode, uint16_t clock_offset);
400
392// LE
393
394/**
395 * @brief Get own addr type and address used for LE
396 */
397void gap_le_get_own_address(uint8_t * addr_type, bd_addr_t addr);
398
399
400/* API_END*/
401
402#if defined __cplusplus
403}
404#endif
405
406#endif // __GAP_H
401// LE
402
403/**
404 * @brief Get own addr type and address used for LE
405 */
406void gap_le_get_own_address(uint8_t * addr_type, bd_addr_t addr);
407
408
409/* API_END*/
410
411#if defined __cplusplus
412}
413#endif
414
415#endif // __GAP_H