ihciah / miaomiaoji-tool

A python tool to control MiaoMiaoJi / Paperang / 喵喵机
https://www.ihcblog.com/miaomiaoji/
MIT License
159 stars 52 forks source link

Broken output when max_send_msg_length is set to 2016 #6

Open ZIXT233 opened 5 years ago

ZIXT233 commented 5 years ago

It just printed the last part of the images when I tried to put something that more than 2016 bytes, and I sent mmj.sendImageToBt(ImageConverter.frombits([1]*2016*8)) but the miaomiao had no action.

Then I set max_send_msg_length to (2016-48) and it seems to work well. Maybe there are some differences on miaomiao. My miaomiao firmware is "1.02.24 B" and the program runs on python2.7.

pdegrazia commented 5 years ago

This worked for me too, same firmware