gap.h (ceecb9d95af3568dc69d06a9255b87392ca1dd19) gap.h (2b6ab3e64ec775ee55c36df978ff4998d4f3497d)
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

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

335
336/**
337 * @brief Get accepted connection parameter range
338 * @param range
339 */
340void gap_set_connection_parameter_range(le_connection_parameter_range_t * range);
341
342/**
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

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

335
336/**
337 * @brief Get accepted connection parameter range
338 * @param range
339 */
340void gap_set_connection_parameter_range(le_connection_parameter_range_t * range);
341
342/**
343 * @brief Set max number of connections in LE Peripheral role (if Bluetooth Controller supports it)
344 * @note: default: 1
345 * @param max_peripheral_connections
346 */
347void gap_set_max_number_peripheral_connections(int max_peripheral_connections);
348
349/**
343 * @brief Connect to remote LE device
344 */
345uint8_t gap_connect(bd_addr_t addr, bd_addr_type_t addr_type);
346
347/**
348 * @brief Cancel connection process initiated by gap_connect
349 */
350uint8_t gap_connect_cancel(void);

--- 197 unchanged lines hidden ---
350 * @brief Connect to remote LE device
351 */
352uint8_t gap_connect(bd_addr_t addr, bd_addr_type_t addr_type);
353
354/**
355 * @brief Cancel connection process initiated by gap_connect
356 */
357uint8_t gap_connect_cancel(void);

--- 197 unchanged lines hidden ---