-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
8.3 filename format does not supported trough wifi upload #315
Comments
I modified the code:
It works, but i don't know if it's correct. |
The character limit of the display interface, currently only so many characters can be displayed |
Hello,
I modified the code to this.
Please search for the “~1.GCO” in the wifi_module.ccp file.
There is link in the bug description.
snow79 ***@***.***> (időpont: 2022. máj. 19., Cs, 19:52) ezt
írta:
… I modified the code:
if (i > 8) {
dosName[6] = '\0';
dosName[7] = '\0';
dosName[8] = '\0';
strcat_P(dosName, PSTR("~1.GCO"));
return dosName[0] != '\0';
}
It works, but i don't know if it's correct.
Where you have find this code???
—
Reply to this email directly, view it on GitHub
<#315 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATVGG2E2EB3X3RH54TEU2ITVKZ5ULANCNFSM5P5YLO4A>
.
You are receiving this because you authored the thread.Message ID:
<makerbase-mks/Mks-Robin-Nano-Marlin2.0-Firmware/issues/315/1132012780@
github.com>
|
yes but... you have solved or not??? |
Hello,
my goal was the dos 8.3 file name format because I use the ESP Wifi modul
with the ESP3D 3.0 firmware and it support max 8 characters.
snow79 ***@***.***> (időpont: 2022. jún. 1., Sze, 14:24) ezt
írta:
… Hello, I modified the code to this. Please search for the “~1.GCO” in the
wifi_module.ccp file. There is link in the bug description. snow79 *@*.***>
(időpont: 2022. máj. 19., Cs, 19:52) ezt írta:
… <#m_7848904293735048411_>
I modified the code: if (i > 8) { dosName[6] = '\0'; dosName[7] = '\0';
dosName[8] = '\0'; strcat_P(dosName, PSTR("~1.GCO")); return dosName[0] !=
'\0'; } It works, but i don't know if it's correct. Where you have find
this code??? — Reply to this email directly, view it on GitHub <#315
(comment)
<#315 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATVGG2E2EB3X3RH54TEU2ITVKZ5ULANCNFSM5P5YLO4A
. You are receiving this because you authored the thread.Message ID: <
/issues/315
<#315>
/1132012780@ github.com>
yes but... you have solved or not???
i try with your solution, but the problem presist... now it's not 5 char
but 8 ....
—
Reply to this email directly, view it on GitHub
<#315 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATVGG2H4YTUJOSO3YEGA5E3VM5I63ANCNFSM5P5YLO4A>
.
You are receiving this because you authored the thread.Message ID:
<makerbase-mks/Mks-Robin-Nano-Marlin2.0-Firmware/issues/315/1143540026@
github.com>
|
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
If you copy a gcode file trough wifi and if its name is 5 or more characters long the copied filename on SD card will be xxxxx~1.gco.
This is not a 8.3 filename format.
The checking of the lengt of the filename happens in the wifi_module.ccp
static bool longName2DosName(const char *longName, char *dosName)
What is the reason for this?
Bug Timeline
Old bug
Expected behavior
8.3 filename support
Actual behavior
qwer.gco --> qwer.gco
qwert.gco --> qwert~1.gco
qwertz.gco --> qwert~1.gco
qwertzu.gco --> qwert~1.gco
qwertzui.gco --> qwert~1.gco
qwertzuio.gco --> qwert~1.gco
Steps to Reproduce
Please upload a file trough wifi to the SD card.
I'm currently using ESP3D 3.0 and tested it with the MksWifi.bin firmware.
Version of Marlin Firmware
02000902
Printer model
No response
Electronics
MKS Robin Nano V3
Add-ons
MKS TS35 Display + MKS WIFI modul
Bed Leveling
No response
Your Slicer
No response
Host Software
No response
Additional information & file uploads
The text was updated successfully, but these errors were encountered: