l2cap.h (8d8936a60e96fdf2e1dedb4085859674df5106d4) | l2cap.h (dfc5d4aed94bed8234f94d1fd37178a70255f1ba) |
---|---|
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 --- 685 unchanged lines hidden (view full) --- 694/** 695 * @brief Check if packet can be scheduled for transmission 696 * @param local_cid L2CAP Channel Identifier 697 * @return true if packet can be sent on local_cid 698 */ 699bool l2cap_cbm_can_send_now(uint16_t local_cid); 700 701/** | 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 --- 685 unchanged lines hidden (view full) --- 694/** 695 * @brief Check if packet can be scheduled for transmission 696 * @param local_cid L2CAP Channel Identifier 697 * @return true if packet can be sent on local_cid 698 */ 699bool l2cap_cbm_can_send_now(uint16_t local_cid); 700 701/** |
702 * @brief Request emission of L2CAP_EVENT_LE_CAN_SEND_NOW as soon as possible | 702 * @brief Request emission of L2CAP_EVENT_CBM_CAN_SEND_NOW as soon as possible |
703 * @note L2CAP_EVENT_CAN_SEND_NOW might be emitted during call to this function 704 * so packet handler should be ready to handle it 705 * @param local_cid L2CAP Channel Identifier 706 */ 707uint8_t l2cap_cbm_request_can_send_now_event(uint16_t local_cid); 708 709/** 710 * @brief Send data for channel in LE Credit-Based Flow-Control Mode --- 89 unchanged lines hidden (view full) --- 800 * @brief Provide credits for channel in Enhanced Credit-Based Flow-Control Mode 801 * @param local_cid L2CAP Channel Identifier 802 * @param credits Number additional credits for peer 803 * @return status 804 */ 805uint8_t l2cap_ecbm_provide_credits(uint16_t local_cid, uint16_t credits); 806 807/** | 703 * @note L2CAP_EVENT_CAN_SEND_NOW might be emitted during call to this function 704 * so packet handler should be ready to handle it 705 * @param local_cid L2CAP Channel Identifier 706 */ 707uint8_t l2cap_cbm_request_can_send_now_event(uint16_t local_cid); 708 709/** 710 * @brief Send data for channel in LE Credit-Based Flow-Control Mode --- 89 unchanged lines hidden (view full) --- 800 * @brief Provide credits for channel in Enhanced Credit-Based Flow-Control Mode 801 * @param local_cid L2CAP Channel Identifier 802 * @param credits Number additional credits for peer 803 * @return status 804 */ 805uint8_t l2cap_ecbm_provide_credits(uint16_t local_cid, uint16_t credits); 806 807/** |
808 * @brief Request emission of L2CAP_EVENT_DATA_CHANNEL_CAN_SEND_NOW as soon as possible 809 * @note L2CAP_EVENT_DATA_CHANNEL_CAN_SEND_NOW might be emitted during call to this function | 808 * @brief Request emission of L2CAP_EVENT_ECBM_CAN_SEND_NOW as soon as possible 809 * @note L2CAP_EVENT_ECBM_CAN_SEND_NOW might be emitted during call to this function |
810 * so packet handler should be ready to handle it 811 * @param local_cid L2CAP Channel Identifier 812 * @return status 813 */ 814uint8_t l2cap_ecbm_request_can_send_now_event(uint16_t local_cid); 815 816/** 817 * @brief Reconfigure MPS/MTU of local channels --- 76 unchanged lines hidden --- | 810 * so packet handler should be ready to handle it 811 * @param local_cid L2CAP Channel Identifier 812 * @return status 813 */ 814uint8_t l2cap_ecbm_request_can_send_now_event(uint16_t local_cid); 815 816/** 817 * @brief Reconfigure MPS/MTU of local channels --- 76 unchanged lines hidden --- |