Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio for EC200U #5

Open
toonmich opened this issue Oct 11, 2023 · 1 comment
Open

Audio for EC200U #5

toonmich opened this issue Oct 11, 2023 · 1 comment

Comments

@toonmich
Copy link

toonmich commented Oct 11, 2023

First of all, thank you for this wonderfull SDK, is there some code I missed about using the speaker output and microphone input on the EC200U, or has it not yet been developed? Thank you very much

@ajaybhargav
Copy link
Member

We are working on next core release with support for audio playback and recording. However you can test audio via AT commands:

To Record:

START:   AT+CAUDREC=1,"filename",type[,quality[,time]]
STOP:    AT+CAUDREC=2
type:    1/mic 2/voice 3/voice dual 4/dump

For Playback:

START:   AT+CAUDPLAY=1,"filename"[,<type>]
STOP:    AT+CAUDPLAY=2
PAUSE:   AT+CAUDPLAY=3
RESUME:  AT+CAUDPLAY=4
type:    1/local audio path 2/voice call path default set to 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants