Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The Synapse Protocol defines a standard interface for interacting with a wide range of possible neural interface devices.

Synapse uses gRPC for its control plane API and UDP for streaming data. Read the full Synapse protocol docs [here](https://science.xyz/docs/d/synapse/index).
Synapse uses gRPC for its control plane API and Taps for streaming data. Read the full Synapse protocol docs [here](https://science.xyz/docs/d/synapse/index).

# Python Installation

Expand Down
21 changes: 13 additions & 8 deletions api/node.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ import "api/nodes/electrical_stimulation.proto";
import "api/nodes/optical_stimulation.proto";
import "api/nodes/spike_detector.proto";
import "api/nodes/spectral_filter.proto";
import "api/nodes/stream_out.proto";
import "api/nodes/stream_in.proto";
import "api/nodes/disk_writer.proto";
import "api/nodes/spike_source.proto";
import "api/nodes/spike_binner.proto";
import "api/nodes/application.proto";

enum NodeType {
kNodeTypeUnknown = 0;
kStreamIn = 1;
kStreamOut = 2;
// kStreamIn = 1;
// kStreamOut = 2;
reserved 1, 2;

kBroadbandSource = 3;
kElectricalStimulation = 4;
kOpticalStimulation = 5;
Expand All @@ -33,9 +33,12 @@ enum NodeType {
message NodeConfig {
NodeType type = 1;
uint32 id = 2;

// StreamOutConfig stream_out = 3;
// StreamInConfig stream_in = 4;
reserved 3, 4;

oneof config {
StreamOutConfig stream_out = 3;
StreamInConfig stream_in = 4;
BroadbandSourceConfig broadband_source = 5;
ElectricalStimulationConfig electrical_stimulation = 6;
OpticalStimulationConfig optical_stimulation = 8;
Expand All @@ -51,10 +54,12 @@ message NodeConfig {
message NodeStatus {
NodeType type = 1;
uint32 id = 2;

// StreamOutStatus stream_out = 3;
// StreamInStatus stream_in = 5;
reserved 3, 5;
oneof status {
StreamOutStatus stream_out = 3;
BroadbandSourceStatus broadband_source = 4;
StreamInStatus stream_in = 5;
ElectricalStimulationStatus electrical_stimulation = 6;
ApplicationNodeStatus application = 7;
OpticalStimulationStatus optical_stimulation = 8;
Expand Down
14 changes: 0 additions & 14 deletions api/nodes/stream_in.proto

This file was deleted.

42 changes: 0 additions & 42 deletions api/nodes/stream_out.proto

This file was deleted.