jimmyliu86 / btstack

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

Implement an embedded example. #158

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Implement an embedded example.

This could be a special build of an existing example, or something a bit more 
complex.

I have been working a app which advertises multiple RFCOMM ports and forwards 
data between any open sessions/connections. I'm happy to donate this to the 
project.

Simon

Original issue reported on code.google.com by mungew...@gmail.com on 13 May 2011 at 4:19

GoogleCodeExporter commented 8 years ago
First stab at an embedded example, which can be built either for
client/server model or as embedded (statically linked to BT stuff).

The example code advertises 8 RFCOMM connections and forwards any
data sent on a connection to all the others (kind of like an IRC
server, but over Bluetooth).

Original comment by mungew...@gmail.com on 18 May 2011 at 5:59

Attachments:

GoogleCodeExporter commented 8 years ago
did some more tinkering. Specifically with the way the sdprecords happen with 
embedded application.

Original comment by mungew...@gmail.com on 19 May 2011 at 6:56

Attachments:

GoogleCodeExporter commented 8 years ago
General fixes related to 'EMBEDDED' define

Original comment by mungew...@gmail.com on 19 May 2011 at 7:02

Attachments:

GoogleCodeExporter commented 8 years ago
Fixes a segfault related to the change I made to 'service_record_item_t'
when running in client/server mode.

The code assumed that it could write a data block at the location of
newItem->service_record, however this should be a pointer - as the
service record it points to could be in a different location for
embedded mode (ie. in ROM which means it must be a pointer).

Anyway it's fixed now :-)

Original comment by mungew...@gmail.com on 19 May 2011 at 8:31

Attachments:

GoogleCodeExporter commented 8 years ago
I've released a few examples for the MSP430 experimenter board.

Original comment by matthias.ringwald@gmail.com on 22 Sep 2011 at 12:14