decocare icon indicating copy to clipboard operation
decocare copied to clipboard

bolus ack is incorrect

Open kenstack opened this issue 9 years ago • 1 comments

when bolusing the command is received but the ack response is incorrect

{'recieved': False, '_type': 'BolusRequest'}

I believe line 478 of commands.py is incorrect
received = True if self.data[0] is 0x0c else False

I think it should be similar to the basal ack 
received = True if (len(self.data) > 0 and self.data[0] is 0) else False

but I dont know enough about the data being received to verify, and it looks from the bolus ack that the 0x0c was not unintentional, so I cant be sure

kenstack avatar Sep 12 '16 09:09 kenstack

Linked to this: https://github.com/oskarpearson/mmeowlink/issues/22

bewest avatar Oct 27 '16 22:10 bewest