btnut/btnode/include/terminal/bt-cmds.h File Reference


Detailed Description

Provides terminal commands for bluetooth control.

Author:
Martin Hinz <btnode@hinz.ch>
Commands:

Extra commands:

See also:
btn-terminal.h

#include <bt/bt_defs.h>
#include <bt/bt_hci_cmds.h>

Data Structures

struct  _terminal_bt_cmds_s

Defines

#define MAX_INQ_DEV   10

Typedefs

typedef _terminal_bt_cmds_s _terminal_bt_cmds_t

Functions

void bt_cmds_features_cmd (u_char *arg)
void bt_cmds_init (struct btstack *bt_stack)
 Initializes the commands.
void bt_cmds_register_cmds (void)
 Registers the commands into the terminal.
void bt_cmds_version_cmd (u_char *arg)
void bt_extra_cmds_register_cmds (void)
 Registers the commands into the terminal.

Variables

_terminal_bt_cmds_t * _terminal_bt_cmds


Function Documentation

void bt_cmds_init ( struct btstack bt_stack  ) 

Initializes the commands.

Parameters:
bt_stack Pointer to the bluetooth stack
Examples:
bt-lego/bt-lego.c, l2cap-cmd/l2cap-cmd.c, and rfcomm-cmd/rfcomm-cmd.c.

void bt_cmds_register_cmds ( void   ) 

Registers the commands into the terminal.

Call bt_cmds_init() first in order to use them.

Examples:
bt-lego/bt-lego.c, l2cap-cmd/l2cap-cmd.c, and rfcomm-cmd/rfcomm-cmd.c.

void bt_extra_cmds_register_cmds ( void   ) 

Registers the commands into the terminal.

Call bt_cmds_init() first in order to use them.


Generated on Wed Apr 29 11:12:29 2009 for BTnut System Software by doxygen 1.5.1