From 56fe0872e0421e08d64cedf459f5f235626d9e4f Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sat, 9 May 2009 17:43:27 +0000 Subject: [PATCH] moved hexdump to hci.c, use hci_send_packet, cleanups --- src/hci.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/hci.c b/src/hci.c index b395e1ebd..708cfa625 100644 --- a/src/hci.c +++ b/src/hci.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "hci.h" @@ -22,6 +23,22 @@ hci_cmd_t hci_reset = { static hci_transport_t *hci_transport; +void hexdump(uint8_t *data, int size){ + int i; + for (i=0; isend_cmd_packet(buffer, size); }