hciconfig - configure Bluetooth devices


   hciconfig -h
   hciconfig [-a]
   hciconfig [-a] hciX [command [command parameters]]


   hciconfig  is used to configure Bluetooth devices.  hciX is the name of
   a Bluetooth device installed in the  system.  If  hciX  is  not  given,
   hciconfig  prints  name  and  basic information about all the Bluetooth
   devices installed in the system. If hciX is given  but  no  command  is
   given,   it  prints  basic  information  on  device  hciX  only.  Basic
   information is interface type, BD address, ACL MTU, SCO MTU, flags (up,
   init,  running,  raw, page scan enabled, inquiry scan enabled, inquiry,
   authentication enabled, encryption enabled).


   -h, --help
          Gives a list of possible commands.

   -a, --all
          Other than the basic info, print  features,  packet  type,  link
          policy, link mode, name, class, version.


   up     Open and initialize HCI device.

   down   Close HCI device.

   reset  Reset HCI device.

   rstat  Reset statistic counters.

   auth   Enable authentication (sets device to security mode 3).

   noauth Disable authentication.

          Enable encryption (sets device to security mode 3).

          Disable encryption.

   secmgr Enable security manager (current kernel support is limited).

          Disable security manager.

   piscan Enable page and inquiry scan.

   noscan Disable page and inquiry scan.

   iscan  Enable inquiry scan, disable page scan.

   pscan  Enable page scan, disable inquiry scan.

   ptype [type]
          With no type , displays the current packet types. Otherwise, all
          the packet types specified by type are set.  type  is  a  comma-
          separated  list of packet types, where the possible packet types
          are DM1, DM3, DM5, DH1, DH3, DH5, HV1, HV2, HV3.

   name [name]
          With no name, prints local name. Otherwise, sets local  name  to

   class [class]
          With  no class, prints class of device. Otherwise, sets class of
          device to class.  class is a 24-bit hex  number  describing  the
          class  of  device,  as specified in section 1.2 of the Bluetooth
          Assigned Numers document.

   voice [voice]
          With no voice,  prints  voice  setting.  Otherwise,  sets  voice
          setting  to  voice.  voice is a 16-bit hex number describing the
          voice setting.

   iac [iac]
          With no iac, prints the current IAC setting. Otherwise, sets the
          IAC to iac.

   inqtpl [level]
          With  no  level,  prints  out the current inquiry transmit power
          level. Otherwise, sets inquiry transmit power level to level.

   inqmode [mode]
          With no mode, prints out the current  inquiry  mode.  Otherwise,
          sets inquiry mode to mode.

   inqdata [data]
          With  no  name,  prints out the current inquiry data. Otherwise,
          sets inquiry data to data.

   inqtype [type]
          With  no  type,  prints  out  the  current  inquiry  scan  type.
          Otherwise, sets inquiry scan type to type.

   inqparams [win:int]
          With  no  win:int,  prints  inquiry  scan  window  and interval.
          Otherwise, sets inquiry scan window to  win  slots  and  inquiry
          scan interval to int slots.

   pageparms [win:int]
          With   no   win:int,  prints  page  scan  window  and  interval.
          Otherwise, sets page scan window to  win  slots  and  page  scan
          interval to int slots.

   pageto [to]
          With no to, prints page timeout. Otherwise, sets page timeout to
          .I to slots.

   afhmode [mode]
          With no mode, prints out the current AFH mode.  Otherwise,  sets
          AFH mode to mode.

   sspmode [mode]
          With  no  mode,  prints  out  the  current  Simple Pairing mode.
          Otherwise, sets Simple Pairing mode to mode.

   aclmtu mtu:pkt
          Sets ACL MTU to to mtu bytes and ACL buffer size to pkt packets.

   scomtu mtu:pkt
          Sets SCO MTU to mtu bytes and SCO buffer size to pkt packets.

   delkey <bdaddr>
          This command deletes the stored link key  for  bdaddr  from  the

          Get local OOB data (invalidates previously read data).

          Display supported commands.

          Display device features.

          Display version information.

          Display revision information.

   lm [mode]
          With  no  mode  ,  prints  link  mode.   MASTER  or  SLAVE mean,
          respectively, to ask to become master or to remain slave when  a
          connection request comes in. The additional keyword ACCEPT means
          that baseband  connections will be accepted even if there are no
          listening  AF_BLUETOOTH  sockets.   mode  is  NONE  or  a comma-
          separated list of keywords, where possible keywords  are  MASTER
          and  ACCEPT .  NONE sets link policy to the default behaviour of
          remaining slave and  not  accepting  baseband  connections  when
          there  are  no  listening  AF_BLUETOOTH  sockets.  If  MASTER is
          present, the device will ask to become master  if  a  connection
          request  comes  in. If ACCEPT is present, the device will accept
          baseband  connections  even  when   there   are   no   listening
          AF_BLUETOOTH sockets.


   Written  by  Maxim  Krasnyansky <maxk@qualcomm.com> and Marcel Holtmann

   man page by Fabrizio Gennari <fabrizio.gennari@philips.com>


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.