from bacpypes sourceforge project