mershon-enterprises / wh-hero

Interactive data collection and visualization of WirelessHART mesh data
https://mershon.enterprises
GNU General Public License v3.0
0 stars 0 forks source link

Create Mesh View #11

Closed darinh closed 9 years ago

darinh commented 9 years ago

Requirements

darinh commented 9 years ago

@kevinmershon you mentioned having sample code for the mesh. That would be great, but isn't necessary. If you can let me know what sort of data will be available to populate the force-directed mesh graph, that would be helpful. For example:

An array of transmitter objects will be available.

Transmitter Object Model:

etc.

kevinmershon commented 9 years ago

@darinh This is the data returned from the HART-IP call for neighbor info for a single transmitter: https://github.com/mershon-enterprises/wirelesshart-gateway-parser/blob/feature-hart-ip-tcp-unsecured/clojure-prototype/src/wirelesshart/hart.clj#L442-462

We can turn that into a nice friendly object with the same property values, or transmute the neighbor 0/1/2 values into an array of objects for simplicity of iteration.