1*a068cdf4SMatthias Ringwald#!/bin/sh 2*a068cdf4SMatthias RingwaldBTSTACK_ROOT=`dirname $0`'/..' 3*a068cdf4SMatthias Ringwald 4*a068cdf4SMatthias Ringwald# SM 5*a068cdf4SMatthias Ringwaldecho "Security Manager states" 6*a068cdf4SMatthias Ringwaldgrep SM_ $BTSTACK_ROOT/src/hci.h | nl -v0 7*a068cdf4SMatthias Ringwald 8*a068cdf4SMatthias Ringwaldecho 9*a068cdf4SMatthias Ringwald 10*a068cdf4SMatthias Ringwald# RFCOMM 11*a068cdf4SMatthias Ringwaldecho "RFCOMM Multiplexer states" 12*a068cdf4SMatthias Ringwaldgrep RFCOMM_MULTIPLEXER_ $BTSTACK_ROOT/src/classic/rfcomm.h | grep -v RFCOMM_MULTIPLEXER_EVENT | grep -v RFCOMM_MULTIPLEXER_STATE | nl 13*a068cdf4SMatthias Ringwaldecho "RFCOMM Channel states" 14*a068cdf4SMatthias Ringwaldgrep RFCOMM_CHANNEL_ $BTSTACK_ROOT/src/classic/rfcomm.h | grep -v RFCOMM_CHANNEL_STATE | grep -v "// state variables" | nl 15*a068cdf4SMatthias Ringwald 16*a068cdf4SMatthias Ringwaldecho 17