mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-26 00:40:38 +00:00
mark rfcomm_cid as 16 bit in rfcomm_send_internal - thanks to bob for spotting this
This commit is contained in:
parent
412f9ba97f
commit
dcf2396cab
@ -1621,7 +1621,7 @@ void rfcomm_register_packet_handler(void (*handler)(void * connection, uint8_t p
|
||||
}
|
||||
|
||||
// send packet over specific channel
|
||||
int rfcomm_send_internal(uint8_t rfcomm_cid, uint8_t *data, uint16_t len){
|
||||
int rfcomm_send_internal(uint16_t rfcomm_cid, uint8_t *data, uint16_t len){
|
||||
|
||||
rfcomm_channel_t * channel = rfcomm_channel_for_rfcomm_cid(rfcomm_cid);
|
||||
if (!channel){
|
||||
|
@ -59,7 +59,7 @@ void rfcomm_unregister_service_internal(uint8_t service_channel);
|
||||
void rfcomm_accept_connection_internal(uint16_t rfcomm_cid);
|
||||
void rfcomm_decline_connection_internal(uint16_t rfcomm_cid);
|
||||
void rfcomm_grant_credits(uint16_t rfcomm_cid, uint8_t credits);
|
||||
int rfcomm_send_internal(uint8_t rfcomm_cid, uint8_t *data, uint16_t len);
|
||||
int rfcomm_send_internal(uint16_t rfcomm_cid, uint8_t *data, uint16_t len);
|
||||
void rfcomm_close_connection(void *connection);
|
||||
|
||||
#define UNLIMITED_INCOMING_CREDITS 0xff
|
||||
|
Loading…
x
Reference in New Issue
Block a user