Skip to content

service_console (AEGHB-1372) #79

@joyhope

Description

@joyhope

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

I use ESP-BOX-3, enable audio service, It should work.

Actual behavior (suspected bug)

The audio does not work

Error logs or terminal output

console display

esp32s3> svc_call Audio PlayUrl {"Url":"file://spiffs/example.mp3"}
I (43053) SrvAudio: [service_audio.cpp:0407](try_load_data): Loaded all data from NVS
I (43055) SrvAudio: [service_audio.cpp:0122](on_start): Board sample info: sample_rate(16000) channel(2) bits_per_sample(32)
E (43058) SrvAudio: [service_audio.cpp:0126](on_start): Checked ESP error: {(esp_codec_dev_open(manager_config.play_dev, &fs)) == (ESP_ERR_INVALID_ARG)(258)}
E (43060) SrvAudio: [service_audio.cpp:0126](on_start): Failed to open audio dac
E (43061) SrvMgr: [base.cpp:0757](start_internal): Checked false: {on_start()}
E (43063) SrvMgr: [base.cpp:0757](start_internal): Failed to start service

Steps to reproduce the behavior

configure and compile and download.

Project release version

v5.5.2

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

ubbuntu 24.04

Shell

Bash

Additional context

The structure is good, but I does not find proper docuement for how to use. Hope the sample could work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions