Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_Thermometer MAXWSNENV_demo
L2CAP subsystem API. More...
Go to the source code of this file.
Typedefs | |
| typedef void(* | l2cDataCback_t )(uint16_t handle, uint16_t len, uint8_t *pPacket) |
| This callback function sends a received L2CAP packet to the client. | |
| typedef void(* | l2cCtrlCback_t )(wsfMsgHdr_t *pMsg) |
| This callback function sends control messages to the client. | |
Functions | |
| void | L2cInit (void) |
| Initialize L2C subsystem. | |
| void | L2cMasterInit (void) |
| Initialize L2C for operation as a Bluetooth LE master. | |
| void | L2cSlaveInit (void) |
| Initialize L2C for operation as a Bluetooth LE slave. | |
Detailed Description
L2CAP subsystem API.
- Date:
- 2012-03-07 22:32:20 -0800 (Wed, 07 Mar 2012)
- Revision:
- 268
Copyright (c) 2009-2016 ARM Limited. All rights reserved.
SPDX-License-Identifier: LicenseRef-PBL
Licensed under the Permissive Binary License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.mbed.com/licenses/PBL-1.0
See the License for the specific language governing permissions and limitations under the License.
Definition in file l2c_api.h.
Typedef Documentation
Function Documentation
| L2cInit | ( | void | ) |
Initialize L2C subsystem.
- Returns:
- None.
| L2cMasterInit | ( | void | ) |
Initialize L2C for operation as a Bluetooth LE master.
- Returns:
- None.
| L2cSlaveInit | ( | void | ) |
Initialize L2C for operation as a Bluetooth LE slave.
- Returns:
- None.
Generated on Tue Jul 12 2022 19:59:22 by
1.7.2