async def resetErrors(self, bitmask: int = 0xFFFFFFFF): """ Resets errors. @param bitmask: A 32b bitmask of the errors to reset. """ await self._writeControlAndGetResult( ControlPacketsGenerator.getResetErrorPacket(bitmask))
async def reset_errors(self): control_packet = ControlPacketsGenerator.getResetErrorPacket( 0xFFFFFFFF) await self._command_via_mesh_broadcast(control_packet)