52 Commits

Author SHA1 Message Date
Matthias Ringwald
023f27646b sdp_query_util: inline into sdp_util and sdp_client 2016-02-18 12:10:47 +01:00
Matthias Ringwald
6c927b22a9 sdp_query: pass in packet handler on query instead of global registration. integrate sdp_parser into sdp_client 2016-02-17 20:21:21 +01:00
Matthias Ringwald
724d70a2cf bt_flip_addr(dest,src) -> reverse_bd_addr(src,dest) 2016-02-11 15:20:08 +01:00
Matthias Ringwald
d9a7306a10 hci/sm: use btstack_packet_handler instead of (*fn)(type,packet,size) for events 2016-02-04 17:45:02 +01:00
Matthias Ringwald
0b4d02b7ed panu demo: fix compile 2016-02-03 22:31:39 +01:00
Matthias Ringwald
c5b64319fd l2cap: don't forward HCI to l2cap packet handler. Replace l2cap_register_packet_handler with hci_add_event_handler. Fix tests 2016-02-03 21:55:36 +01:00
Matthias Ringwald
72b5080138 ancs: fix demo. add SM events. Update to MODULE_event_... scheme 2016-02-03 16:10:30 +01:00
Matthias Ringwald
f8fbdce0c5 use little/big_endian_read/store_16/24/32 2016-01-31 00:07:32 +01:00
Matthias Ringwald
5611a760af use for event types 2016-01-30 23:58:36 +01:00
Matthias Ringwald
4de250b4e0 sdp_parser: rename SDP_QUERY_ATTRIBUTE_VALUE -> SDP_QUERY_ATTRIBUTE_BYTE. Use SDP_QUERY_ATTRIBUTE_VALUE for daemon events 2016-01-29 21:58:46 +01:00
Matthias Ringwald
a874746709 sdp_parser: drop sdp_query_event_t finally 2016-01-29 21:31:07 +01:00
Matthias Ringwald
4225393c87 sdp_parser: replace sdp_query_attribute_value_event_t with regular hci event 2016-01-29 20:47:17 +01:00
Matthias Ringwald
fd2eb611c5 sdp_parser: replace sdp_query_complete_event_t with regular hci event 2016-01-29 18:30:07 +01:00
Matthias Ringwald
7907f06931 btstack-config.h -> btstack_config.h 2016-01-21 15:41:16 +01:00
Matthias Ringwald
5604262918 hci_cmds -> hci_cmd 2016-01-21 11:33:17 +01:00
Matthias Ringwald
eb8860135e fix missing bstack_ for struct data_source and struct timer. utils->btstack_util 2016-01-20 16:10:07 +01:00
Matthias Ringwald
ec820d7756 prefix data_source_t and timer_source_t with btstack 2016-01-20 16:00:45 +01:00
Matthias Ringwald
528a4a3b3e prefix run_loop_ functions with btstack_ 2016-01-20 15:58:46 +01:00
Matthias Ringwald
8263662281 run_loop.h -> btstack_run_loop.h 2016-01-20 15:08:39 +01:00
Matthias Ringwald
78b0cac0a4 Merge branch 'master' into ble-api-cleanup 2015-12-16 14:43:01 +01:00
Matthias Ringwald
23938d2dc8 fix compile panu_demo 2015-12-16 14:29:23 +01:00
Matthias Ringwald
0cc6429e00 drop connection from bnep implementation 2015-11-13 23:09:03 +01:00
Matthias Ringwald
ffbf82013e drop void * connection param from l2cap packet handlers 2015-11-13 21:57:19 +01:00
Matthias Ringwald
3edc84c5b6 fix paths after source reorg 2015-11-13 15:04:41 +01:00
Matthias Ringwald
195a80287b removed btstack/include folder 2015-10-15 16:33:34 +02:00
Milanka Ringwald
cae650303c manual: fix listing refs for mkdocs 2015-06-24 17:21:05 +02:00
Milanka Ringwald
4c719da614 manual: corrected listing refs for latex 2015-06-24 16:47:05 +02:00
Milanka Ringwald
613606fba5 manual: fixed emph and refs 2015-06-05 11:57:37 +02:00
Matthias Ringwald
71de195ed3 fix c99 warnings for missing argument of functions with no arguments, fix more warnings 2015-05-13 10:30:46 +02:00
Matthias Ringwald
3199ba5d7e hack section reference 2015-04-27 00:36:01 +02:00
Milanka Ringwald
d0a1612a4a manual: fixed underscore in ref in script 2015-04-27 00:30:22 +02:00
Milanka Ringwald
c26aef2c20 manual: fixed typos 2015-04-27 00:02:07 +02:00
Matthias Ringwald
e126fbda14 improve docu 2015-04-26 12:59:22 +02:00
Matthias Ringwald
a29875347d fix markup 2015-04-26 11:25:41 +02:00
Matthias Ringwald
a6a4345de1 draft docu for panu demo 2015-04-25 23:45:55 +02:00
Milanka Ringwald
4ed90f33e2 manual: uppdated annotation 2015-04-24 23:16:02 +02:00
Milanka Ringwald
7990b4cde2 manual: annotate examples 2015-04-24 23:08:52 +02:00
Matthias Ringwald
c13e0a893e removed run_loop_execute from embedded examples, call after btstack_main in main.c 2015-03-31 14:01:58 +02:00
matthias.ringwald@gmail.com
690bd0bab8 change hci_local_bd_adr 2015-03-24 08:44:48 +00:00
mila@ringwald.ch
ff34c5fd2d defined new SDP Sevice Class and Protocol constants 2015-02-13 09:28:39 +00:00
mila@ringwald.ch
f6ed4ea310 update copyright, add author 2015-02-06 10:45:10 +00:00
ole.reinhardt@googlemail.com
7d25205242 Fixed bnep device name setting on linux. The device name shall be of the form
bnepX where X is automatically enumerated by the kernel.

So if bnep0 just exists, the created device will be named bnep1

The former solution set the device name fixed to bnep
2015-01-04 00:19:18 +00:00
ole.reinhardt@googlemail.com
cda4591470 Fix compilation on Linux (Apple compilation needs several header files that
are not available on Linux)
2015-01-02 01:13:44 +00:00
matthias.ringwald@gmail.com
44a024d4f1 adapt for tuntaposx 2014-12-21 21:59:27 +00:00
matthias.ringwald@gmail.com
468e4ec60a prepare OS X port 2014-12-18 13:22:03 +00:00
mila@ringwald.ch
881797bd1b des_iterator moved to sdp_util 2014-12-12 08:42:35 +00:00
matthias.ringwald@gmail.com
21cd7d2f9b moved de_get_uint16 into sdp_utils 2014-12-04 09:40:43 +00:00
ole.reinhardt@googlemail.com
17d9831b7e Fixed buffer overflow in event package assembly in bnep_emit_incoming_connection() 2014-11-19 01:01:22 +00:00
ole.reinhardt@googlemail.com
0f62875543 Register panu service (server mode) and instanciate bnep device if a client connection has been
established
2014-11-19 01:01:16 +00:00
ole.reinhardt@googlemail.com
a29c6a1c34 Fixed memory leak (unfreed allocated string memory) 2014-11-18 21:37:29 +00:00