mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
tool/state_num: remove whitespace
This commit is contained in:
parent
e5fc01d68a
commit
25d5427a34
@ -3,22 +3,22 @@ BTSTACK_ROOT=`dirname $0`'/..'
|
||||
|
||||
# SM
|
||||
echo "Security Manager states"
|
||||
grep SM_ $BTSTACK_ROOT/src/hci.h | nl -v0
|
||||
grep SM_ $BTSTACK_ROOT/src/hci.h | sed 's/^[[:space:]]*//' | nl -v0
|
||||
|
||||
echo
|
||||
|
||||
# RFCOMM
|
||||
echo "RFCOMM Multiplexer states"
|
||||
grep RFCOMM_MULTIPLEXER_ $BTSTACK_ROOT/src/classic/rfcomm.h | grep -v RFCOMM_MULTIPLEXER_EVENT | grep -v RFCOMM_MULTIPLEXER_STATE | nl
|
||||
grep RFCOMM_MULTIPLEXER_ $BTSTACK_ROOT/src/classic/rfcomm.h | grep -v RFCOMM_MULTIPLEXER_EVENT | grep -v RFCOMM_MULTIPLEXER_STATE | sed 's/^[[:space:]]*//' | nl
|
||||
echo "RFCOMM Channel states"
|
||||
grep RFCOMM_CHANNEL_ $BTSTACK_ROOT/src/classic/rfcomm.h | grep -v RFCOMM_CHANNEL_STATE | grep -v "// state variables" | nl
|
||||
grep RFCOMM_CHANNEL_ $BTSTACK_ROOT/src/classic/rfcomm.h | grep -v RFCOMM_CHANNEL_STATE | grep -v "// state variables" | sed 's/^[[:space:]]*//' | nl
|
||||
|
||||
echo
|
||||
|
||||
# HFP
|
||||
echo "HFP Commands/States"
|
||||
grep HFP_CMD_ $BTSTACK_ROOT/src/classic/hfp.h | nl -v 0
|
||||
grep HFP_CMD_ $BTSTACK_ROOT/src/classic/hfp.h | sed 's/^[[:space:]]*//' | nl -v 0
|
||||
echo "HFP Errors"
|
||||
grep HFP_CME_ $BTSTACK_ROOT/src/classic/hfp.h | nl -v 0
|
||||
grep HFP_CME_ $BTSTACK_ROOT/src/classic/hfp.h | sed 's/^[[:space:]]*//' | nl -v 0
|
||||
|
||||
echo
|
||||
|
Loading…
x
Reference in New Issue
Block a user