Skip to content

Instantly share code, notes, and snippets.

@zdxerr
Created June 7, 2020 18:37
Show Gist options
  • Save zdxerr/87e255858ff38602f1cc77b085d84c5c to your computer and use it in GitHub Desktop.
Save zdxerr/87e255858ff38602f1cc77b085d84c5c to your computer and use it in GitHub Desktop.
New topology format idea.
{
"DefaultRTPC|CAN|2|2|2": [
[
{
"channel": "Bla/Bla*/Channel1",
"properties": {
"Termination": "On",
}
},
{
"channel": "Bla/Bla*/Channel2",
"properties": {
"Termination": "On",
}
}
],
[
{
"channel": "Bla/Bla*/Channel3",
"properties": {
"Termination": "On",
}
},
{
"channel": "Bla/Bla*/Channel4",
"properties": {
"Termination": "On",
}
}
],
[
{
"channel": "Bla/Bla*/Channel5",
"properties": {
"Termination": "On",
}
},
{
"channel": "Bla/Bla*/Channel6",
"properties": {
"Termination": "On",
}
}
]
],
"DefaultRTPC|LIN|2|2": [
[
{
"channel": "Bla/Bla*/Channel1",
"properties": {
"Termination": "On",
}
},
{
"channel": "Bla/Bla*/Channel2",
"properties": {
"Termination": "On",
}
}
],
[
{
"channel": "Bla/Bla*/Channel3",
"properties": {
"Termination": "On",
}
},
{
"channel": "Bla/Bla*/Channel4",
"properties": {
"Termination": "On",
}
}
],
[
{
"channel": "Bla/Bla*/Channel5",
"properties": {
"Termination": "On",
}
},
{
"channel": "Bla/Bla*/Channel6",
"properties": {
"Termination": "On",
}
}
]
],
"DefaultDS6001|CAN|4|2|2": [
[
{
"channel": "Bla/Bla*/Channel1",
"properties": {
"Termination": "On",
}
},
{
"channel": "Bla/Bla*/Channel2",
"properties": {
"Termination": "On",
}
}
],
[
{
"channel": "Bla/Bla*/Channel3",
"properties": {
"Termination": "On",
}
},
{
"channel": "Bla/Bla*/Channel4",
"properties": {
"Termination": "On",
}
}
],
[
{
"channel": "Bla/Bla*/Channel5",
"properties": {
"Termination": "On",
}
},
{
"channel": "Bla/Bla*/Channel6",
"properties": {
"Termination": "On",
}
}
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment