xueliu / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

Patch for /trunk/ble/l2cap_le.c #438

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Modified the API, uint8_t *l2cap_get_outgoing_buffer(void) to return the 
pointer value accordingly using conditional compilation flag ,L2CAP_LE

Original issue reported on code.google.com by svrajas...@gmail.com on 5 Feb 2015 at 1:12

Attachments:

GoogleCodeExporter commented 8 years ago
Hi 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

Original comment by matthias.ringwald@gmail.com on 5 Feb 2015 at 2:22

GoogleCodeExporter commented 8 years ago
Hi Matthias,

Yes,am trying to reduce the code size using conditional compilation 
flag(modified the code for easy mathematical calculation).

Regards,
VenkataRajasekharSure

Original comment by svrajas...@gmail.com on 5 Feb 2015 at 3:52

GoogleCodeExporter commented 8 years ago
Hello

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

Original comment by matthias.ringwald@gmail.com on 5 Feb 2015 at 3:57

GoogleCodeExporter commented 8 years ago
Matthias,
         Yes, am interested to discuss the goals/ideas on the BTstack for the optimization of RAM Size or ROM Size.

Regards,
Venkata Rajasekhar Sure

Original comment by svrajas...@gmail.com on 5 Feb 2015 at 4:13

GoogleCodeExporter commented 8 years ago
i have iphone 6
ios 8.1.2
nes ad plus
btstack
it was working
now wiimote not conecting
when will btstack be fixed?

Original comment by Traffic2...@gmail.com on 15 Feb 2015 at 6:18