[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [bluetooth-dev] structure - how can I change




You can decrease the size of each hci_in_buffer by changing the size of HCI_IN_SIZE in hci.h. It must large enough to fit one l2cap mtu+hci header.

brgds
Mattias

> -----Original Message-----
> From: Pawel Dienwebel [mailto:PDienwebel@xxxxxxx.pl]
> Sent: den 18 december 2000 14:19
> To: Bluetooth-Dev
> Subject: [bluetooth-dev] structure - how can I change
> 
> 
> Hello,
> 
> I'm trying to port the bluetooth Axis stack to DOS system. :)
> I'm quite successfull in my project.
> But ... The structure :
> 
> typedef struct hci_controller {
> 	host_controller_buffers hc_buf;
> 	hci_in_buffer hci_in_buf[NBR_OF_HCI_INBUFFERS];
> 	hci_in_buffer trash_buffer;
> 	u32 nbr_of_connections;
> 	u8 local_bd[6];
> 	hci_con con[MAX_NBR_OF_CONNECTIONS];
> } hci_controller;
> 
> exceeds 64 kB. 
> Can someone please tell me what to change in this structure 
> (to decrease) ?
> 
> NBR_OF_HCI_INBUFFERS ?
> MAX_NBR_OF_CONNECTIONS ?
> 
> Best regards,
> 
> Pawel Dienwebel
> Product Development Engineer
> CT Creativeteam sp. z o.o.
> 
> 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe 
> bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com
> 
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com