Modified the API, uint8_t *l2cap_get_outgoing_buffer(void) to return the pointer value accordingly using conditional compilation flag ,L2CAP_LE
- l2cap_le.c.patch 459
Comment #1
Posted on Feb 5, 2015 by Swift OxHi There!
First, thanks for the patches. Could you tell a bit more what's your goal? It looks like you're trying to reduce the code size. Is that correct? What are your assumptions?
thx Matthias
Comment #2
Posted on Feb 5, 2015 by Grumpy RhinoHi Matthias,
Yes,am trying to reduce the code size using conditional compilation flag(modified the code for easy mathematical calculation).
Regards, VenkataRajasekharSure
Comment #3
Posted on Feb 5, 2015 by Swift OxHello
My priorities are: RAM size, Readability, ROM size
I'm not sure if there's much to gain with small local modification. The bigger things on top of my head: - if you only need Bluetooth LE, quite some code in hci.c can be commented out. I'm happy to help here. - if you don't need to restart the stack, there's more to remove in hci.c - but that will get messy.
If you like, we can discuss goals/ideas on the BTstack mailing list.
best matthias
Comment #4
Posted on Feb 5, 2015 by Grumpy RhinoMatthias, Yes, am interested to discuss the goals/ideas on the BTstack for the optimization of RAM Size or ROM Size.
Regards, Venkata Rajasekhar Sure
Comment #5
Posted on Feb 15, 2015 by Swift Monkeyi have iphone 6 ios 8.1.2 nes ad plus btstack it was working now wiimote not conecting when will btstack be fixed?
Status: New
Labels:
Type-Patch