trippwill / OctoPrint-MarlinBft

Upload files using Marlin Binary File Transfer Mark II
11 stars 6 forks source link

Inconsistent access BFT #14

Open bakaufman opened 3 years ago

bakaufman commented 3 years ago

I have binary file transfer installed on octoprint 1.5.1. I can get transfer sometimes, but not all the time. When not working, I still get a response from M115, so I don't know what it is looking for.


Send: M115
Recv: FIRMWARE_NAME:Marlin bugfix-2.0.x (Dec  8 2020 22:57:57) SOURCE_CODE_URL:https://github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0 MACHINE_TYPE:Dual ZL EXTRUDER_COUNT:2 UUID:cede2a2f-41a2-4748-9b12-c55c62f367ff
Recv: Cap:SERIAL_XON_XOFF:0
Recv: Cap:BINARY_FILE_TRANSFER:1
Recv: Cap:EEPROM:1
Recv: Cap:VOLUMETRIC:1
Recv: Cap:AUTOREPORT_TEMP:1
Recv: Cap:PROGRESS:0
Recv: Cap:PRINT_JOB:1
Recv: Cap:AUTOLEVEL:1
Recv: Cap:RUNOUT:0
Recv: Cap:Z_PROBE:1
Recv: Cap:LEVELING_DATA:1
Recv: Cap:BUILD_PERCENT:0
Recv: Cap:SOFTWARE_POWER:0
Recv: Cap:TOGGLE_LIGHTS:0
Recv: Cap:CASE_LIGHT_BRIGHTNESS:0
Recv: Cap:EMERGENCY_PARSER:0
Recv: Cap:PROMPT_SUPPORT:0
Recv: Cap:SDCARD:1
Recv: Cap:REPEAT:0
Recv: Cap:AUTOREPORT_SD_STATUS:0
Recv: Cap:LONG_FILENAME:0
Recv: Cap:THERMAL_PROTECTION:1
Recv: Cap:MOTION_MODES:0
Recv: Cap:ARCS:1
Recv: Cap:BABYSTEPPING:1
Recv: Cap:CHAMBER_TEMPERATURE:0
Recv: ok
Send: M155 S2
Recv: ok
[...]
``` To solve, I just reboot until I get access. Why the inconsistency?
bakaufman commented 3 years ago

Ok, it seemed to come back to life when I clicked on >_send_gcode button. Will test to confirm. This might be unexpected behavior, or if not, it is confusing to some.

bakaufman commented 3 years ago

It stopped working. Reloaded. Wasn't working, but the combination of turning off reconnect after transfer and turning on send gcode gave me access to the upload button.

bakaufman commented 3 years ago

Ok, I think I have this. When it isn't working, go to terminal and type M115. Could you make that a button on the menu when you pull up the function in octoprint?