BAC7E57 Code
Brought to you by:
ajlefoley
File | Date | Author | Commit |
---|---|---|---|
bacpypes | 2013-06-06 |
![]() |
[ab4550] Fully implemented CreateObject and DeleteObject... |
bactest | 2013-06-06 |
![]() |
[ab4550] Fully implemented CreateObject and DeleteObject... |
samples | 2013-05-29 |
![]() |
[edb93a] Added an NPDU redirector and started implementa... |
tools | 2013-05-28 |
![]() |
[de0cfb] Initial Commit. |
tutorial | 2013-05-28 |
![]() |
[de0cfb] Initial Commit. |
README.txt | 2013-05-31 |
![]() |
[47f4a0] Finished the main piece of the virtual system; ... |
bacTEST.psproj | 2013-05-31 |
![]() |
[47f4a0] Finished the main piece of the virtual system; ... |
release_to_pypi.sh | 2013-05-28 |
![]() |
[de0cfb] Initial Commit. |
setup.py | 2013-05-28 |
![]() |
[de0cfb] Initial Commit. |
The folder structure is laid out as follows: Bacpypes: the BACpypes source code, of which the following files have been modified: Appservice.py: modified the ServerSSM class to prevent it from dropping the ball with confirmed request PDUs. Netservice.py: slight modifications to the NetworkServiceAccessPoint class that have no effect on functionality (included to test the waters). Bactest: the meat of the system. Within this folder the following files are located: NPDURedirect.py: a rather poorly named module, this contains: the VirtualNetworkServiceAccessPoint class, the base service for sending out and receiving packets from the upper and lower layers, the VirtualNetworkServiceElement class, which functions as the network message processing layer of the router, and the VirtualAdapter class, which functions as a funnel to pass through requests sent from below and feed messages with source address information into the VNSAP from above. VirtualApp.py: a module containing the following two classes: The VirtualDevice class, the application instance that manages the virtual device and any attached objects, and The VirtualNetworkApplication class, the actual application created by main, which manages the creation of the router and associated devices. Sample_Objects.py (Bill Roberts): Contains a collection of sample objects with plenty of properties available to query BACpypes_Simulator.py (Bill Roberts): Contains the main running function of the program, along with definitions to all the different services provided by the virtual router. BACpypes.ini: simple configuration file for running the BACpypes Virtual Network Simulator (maybe BACnet Virtual Device Simulator would be better)