def encode(self, pdu):
        if _debug: BVLCI._debug("encode %s", str(pdu))

        # copy the basics
        PCI.update(pdu, self)

        pdu.put( self.bvlciType )               # 0x81
        pdu.put( self.bvlciFunction )

        if (self.bvlciLength != len(self.pduData) + 4):
            raise EncodingError("invalid BVLCI length")

        pdu.put_short( self.bvlciLength )
Test that a CallBreakpoint is created.
dataset/ETHPy150Open JoelBender/bacpypes/py27/bacpypes/bvll.py/BVLCI.encode--crossover with--dataset/ETHPy150Open joonty/vdebug/tests/test_breakpoint_breakpoint.py/BreakpointTest.test_parse_with_call_breakpoint