Skip to content

Commit 1aba8b9

Browse files
committed
doc: update multicast examples to 224.#.#.#
1 parent 0dad852 commit 1aba8b9

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Includes `synapsectl` command line utility:
3030
read Read from a device's StreamOut node
3131
plot Plot recorded synapse data
3232

33-
3433
As well as the base for a device implementation (`synapse/server`),
3534

3635
And a toy device `synapse-sim` for local development,
@@ -117,7 +116,7 @@ info = device.info()
117116

118117
print("Device info: ", device.info())
119118

120-
stream_out = syn.StreamOut(label="my broadband", multicast_group="239.0.0.1")
119+
stream_out = syn.StreamOut(label="my broadband", multicast_group="224.0.0.1")
121120
broadband = syn.BroadbandSource(
122121
peripheral_id=2,
123122
sample_rate_hz=30000,
@@ -179,8 +178,9 @@ pre-commit run
179178
```
180179

181180
## Plotting Offline
181+
182182
After recording data to a file, you can generate plots to visualize your data. Using the CLI, you can run:
183183

184184
```
185185
synapsectl plot --dir <path to directory containing .dat and .json>
186-
```
186+
```

synapse/examples/stream_out.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
assert info is not None, "Couldn't get device info"
77
print(info)
88

9-
stream_out = syn.StreamOut(label="my broadband", multicast_group="239.0.0.1")
9+
stream_out = syn.StreamOut(label="my broadband", multicast_group="224.0.0.1")
1010
broadband = syn.BroadbandSource(
1111
peripheral_id=2,
1212
sample_rate_hz=30000,

test_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "kStreamOut",
55
"id": 1,
66
"stream_out": {
7-
"multicast_group": "239.0.0.115"
7+
"multicast_group": "224.0.0.115"
88
}
99
},
1010
{

0 commit comments

Comments
 (0)