bitrate16/peripage-python

getDeviceBattery(self)

Opened this issue · 3 comments

I tries using this function to only get the battery percentage of the printer but its sending nothing in return all other functions work like getting the serial number and other info. My printer is the Peripage A6 203 dpi.

Have you tried to call reset() after connect and before fetching battery percentage?

Thanks for the reply. The battery percentage was coming in bytes format so I had to pick with second byte to get the percentage. Now it all works good and doesn't event need to call reset.

Have you solved the problem? Can you provide more detailed description, so I can fix it if something is wrong with the library?