/* 
 * btdebug.c --  Miscellaneous debug functions
 *        
 * Copyright (C) 2000  Axis Communications AB
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 * $Id: btdebug.c,v 1.12 2000/08/03 17:28:42 mattias Exp $
 *
 */

#define __NO_VERSION__ /* don't define kernel_version in module.h */

#ifdef __KERNEL__
#include <linux/bluetooth/btdebug.h>
#include <linux/bluetooth/bluetooth.h>
#else
#include "include/btdebug.h"
#endif
   
/****************** CONSTANT AND MACRO SECTION ******************************/

/****************** TYPE DEFINITION SECTION *********************************/

/****************** LOCAL FUNCTION DECLARATION SECTION **********************/

/****************** GLOBAL VARIABLE DECLARATION SECTION *********************/

/****************** LOCAL VARIABLE DECLARATION SECTION **********************/

/****************** FUNCTION DEFINITION SECTION *****************************/


void 
print_data(const u8 *message, u8 *buf, s32 len)
{ 
  s32 t;
  printk("\n%s (%d)", message, len);
  for (t=0;t<len;t++) 
  {
    if((t%16)==0)
      printk("\n   ");
    printk("0x%02x ", buf[t]);
  }
  printk("\n");
}

/****************** END OF FILE debug.c *************************************/
