JoelBender/bacpypes

Unsetting the expecting reply bit

JoelBender opened this issue · 1 comments

Discussed in #471

When unsetting the expecting reply bit in a ReadPropertyMultipleRequest like this:

        request = ReadPropertyMultipleRequest(listOfReadAccessSpecs=readAccessSpecList)
        request.pduExpectingReply = 0
        request.pduDestination = Address(address)
        iocb = IOCB(request)
        deferred(self.request_io, iocb)

The bit is turned back on by the time the packet hits the wire.

There is a gist here that shows the bit correctly follows the request, if it is turned off at the application then it remains off through the stack.