DF2301Q different response to playByCMDID(1) vs. playByCMDID(2)
Steve.Parus 2026-08-04 10:52:39 37 Views1 Replies DF2301Q voice recognition module:
playByCMDID(1); = Learned wake-up command :
response is 'Yes, I'm here',
blue LED turns On
module does respond to commands
then module times out and says 'I'm Off now'
playByCMDID(2); = Default wake-up command :
response is 'Yes, I'm here',
blue LED does Not turn On
and does not respond to spoken commands
and module does not say 'I'm Off now'
Why does its commanded wake-up behavior differ between its learned and default words ?
CMDID 1 is hard-coded in the firmware as the "enter wake-up state" command, not just an audio clip. When you call playByCMDID(1), the module switches to active listening mode — blue LED on, command recognition enabled, wake timer started — and the "Yes, I'm here" reply is just the audio side effect.
CMDID 2 is only the default wake-word audio reply. It plays the sound but doesn't flip the state machine, so if the module was sleeping it stays sleeping — no LED, no command listening, no timeout announcement.
If you want the default wake word to behave the same way, use settingCMD(DF2301Q_UART_MSG_CMD_SET_ENTERWAKEUP, 0) to force wake state, or stick with playByCMDID(1) since both wake words share the same active mode once the module is awake.
Jason.Miao 
