- Created package.json for the bacnet-collector project with necessary dependencies. - Implemented main server logic in src/index.js to handle BACnet device scanning and reading. - Added raw discovery functionality in src/raw-discover.js to facilitate device detection over the network. - Introduced utility functions for handling IP addresses, broadcasting, and BACnet packet construction. - Implemented JSON response handling for health checks and capabilities endpoints.
13 lines
211 B
JSON
13 lines
211 B
JSON
{
|
|
"name": "seltd-bacnet-collector",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "node src/index.js"
|
|
},
|
|
"dependencies": {
|
|
"bacstack": "^0.0.1-beta.14"
|
|
}
|
|
}
|