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

Support DF Player MP3-TF-16P V3.0 with the chip MH2024K-24SS #132

Closed
boerge1 opened this issue Nov 9, 2023 · 3 comments
Closed

Support DF Player MP3-TF-16P V3.0 with the chip MH2024K-24SS #132

boerge1 opened this issue Nov 9, 2023 · 3 comments
Labels

Comments

@boerge1
Copy link
Collaborator

boerge1 commented Nov 9, 2023

With the DF Player MP3-TF-16P V3.0 with the cip MH2024K-24SS (bought in October from AZ-Delivery) on some folder the request getFolderTrackCount() takes more than 900ms:

call getFolderTrackCount()
IN  7e ff 06 3d 00 00 12 fe ac ef
OUT  7e ff 06 4e 00 00 02 fe ab ef
OUT  7e ff 06 4e 00 00 02 fe ab ef (retry after 900ms)
IN  7e ff 06 4e 00 00 0f fe 9e ef (reply for the first getFolderTrackCount request)
end getFolderTrackCount()
call playFolderTrack()
OUT  7e ff 06 0f 01 02 0b fe de ef
IN  7e ff 06 41 00 00 00 fe ba ef
IN  7e ff 06 4e 00 00 0f fe 9e ef (reply for the second getFolderTrackCount request)
OUT  7e ff 06 0d 01 00 00 fe ed ef
IN  7e ff 06 41 00 00 00 fe ba ef
here it plays not the track that is requested but the very first mp3 track on sd card.

If the timeout is increased the to 1500ms there are no retries anymore.

Solution:

  1. In the library Makuna/DFMiniMp3 the timeout should be configurable
  2. increase the (configurable) timeout
@boerge1 boerge1 added enhancement New feature or request wait labels Nov 14, 2023
@boerge1 boerge1 changed the title Support DF Player MP3-TF-16P V3.0 with the cip MH2024K-24SS Support DF Player MP3-TF-16P V3.0 with the chip MH2024K-24SS Nov 21, 2023
@boerge1
Copy link
Collaborator Author

boerge1 commented Nov 21, 2023

In the version 1.2.3 of the DF Player Lib it is now possible to configure an own timeout. Set this timeout to 1500 for all configurations.

@boerge1
Copy link
Collaborator Author

boerge1 commented Nov 21, 2023

pull request #140 created

@boerge1
Copy link
Collaborator Author

boerge1 commented Nov 21, 2023

pull request #140 merged

@boerge1 boerge1 closed this as completed Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant