sedrubal / brother_printer_fwupd

Script to update the firmware of some Brother printers
https://pypi.org/project/brother_printer_fwupd/
GNU General Public License v3.0
30 stars 5 forks source link

Unable to update firmware #23

Closed sheepymeh closed 4 months ago

sheepymeh commented 4 months ago

Hi, I'm having issues updating my firmware. The logs are provided below. I've tried manually creating the request without BRNET and including the serial number but neither changed the output from the server. It seems like this is the response when the printer model is not found as it's what is returned when I submit a random name instead.

Logs ``` [i] Querying printer info via SNMP. [i] Detected HL-2270DW series with following firmware version(s): MAIN@1.19, BRNET@1.11 [i] Querying firmware download URL from Brother update API. [i] Try to get information for firmware part MAIN@1.19 [d] Sending POST request to https://firmverup.brother.co.jp/kne_bh7_update_nt_ssl/ifax2.asmx/fileUpdate with following content: MAIN LINUX 1 HL-2270DW series MAIN1.19BRNET1.11 1 2 1 [d] Response: 2MAIN [!] Received versioncheck value '2' for firmware part MAIN. I'm sorry, but I don't know, what Brother wants to say with this code. If you have any information, please open an issue on GitHub: https://github.com/sedrubal/brother_printer_fwupd/issues/new [i] Try to get information for firmware part BRNET@1.11 [d] Sending POST request to https://firmverup.brother.co.jp/kne_bh7_update_nt_ssl/ifax2.asmx/fileUpdate with following content: BRNET LINUX 1 HL-2270DW series MAIN1.19BRNET1.11 1 2 1 [d] Response: 2 [!] Received versioncheck value '2' for firmware part BRNET. I'm sorry, but I don't know, what Brother wants to say with this code. If you have any information, please open an issue on GitHub: https://github.com/sedrubal/brother_printer_fwupd/issues/new [i] Done. ```
sedrubal commented 4 months ago

Hi @sheepymeh

I'm sorry, but I really don't know, what Brother wants to say with the return code 2. As it is an undocumented proprietary API there is nothing we can do unless someone has more information.