rfcomm.h (6e084577f7aac4b745d8b7b50cd790847358c63b) | rfcomm.h (78315a58573f370dd679856042aa32fba14bc84a) |
---|---|
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 --- 260 unchanged lines hidden (view full) --- 269 270/** 271 * @brief Set up RFCOMM. 272 */ 273void rfcomm_init(void); 274 275/** 276 * @brief Set security level required for incoming connections, need to be called before registering services. | 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 --- 260 unchanged lines hidden (view full) --- 269 270/** 271 * @brief Set up RFCOMM. 272 */ 273void rfcomm_init(void); 274 275/** 276 * @brief Set security level required for incoming connections, need to be called before registering services. |
277 * @deprecated use gap_set_security_level instead |
|
277 */ 278void rfcomm_set_required_security_level(gap_security_level_t security_level); 279 280/* 281 * @brief Create RFCOMM connection to a given server channel on a remote deivce. 282 * This channel will automatically provide enough credits to the remote side. 283 * @param addr 284 * @param server_channel --- 153 unchanged lines hidden --- | 278 */ 279void rfcomm_set_required_security_level(gap_security_level_t security_level); 280 281/* 282 * @brief Create RFCOMM connection to a given server channel on a remote deivce. 283 * This channel will automatically provide enough credits to the remote side. 284 * @param addr 285 * @param server_channel --- 153 unchanged lines hidden --- |