From 695025bf1c8295eba240e688a61ca48377d2f61f Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 23 Aug 2017 11:10:36 +0200 Subject: [PATCH] state_enum: add HFP states and errors --- tool/state_enums.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tool/state_enums.sh b/tool/state_enums.sh index 6fe22262a..618c22db3 100755 --- a/tool/state_enums.sh +++ b/tool/state_enums.sh @@ -14,3 +14,11 @@ echo "RFCOMM Channel states" grep RFCOMM_CHANNEL_ $BTSTACK_ROOT/src/classic/rfcomm.h | grep -v RFCOMM_CHANNEL_STATE | grep -v "// state variables" | nl echo + +# HFP +echo "HFP Commands/States" +grep HFP_CMD_ $BTSTACK_ROOT/src/classic/hfp.h | nl -v 0 +echo "HFP Errors" +grep HFP_CME_ $BTSTACK_ROOT/src/classic/hfp.h | nl -v 0 + +echo