@@ -44,10 +44,12 @@ service ArduinoCoreService {
44
44
rpc UpdateIndex (UpdateIndexRequest ) returns (stream UpdateIndexResponse ) {}
45
45
46
46
// Update libraries index
47
- rpc UpdateLibrariesIndex (UpdateLibrariesIndexRequest ) returns (stream UpdateLibrariesIndexResponse ) {}
47
+ rpc UpdateLibrariesIndex (UpdateLibrariesIndexRequest )
48
+ returns (stream UpdateLibrariesIndexResponse ) {}
48
49
49
50
// Update packages indexes for both Cores and Libraries
50
- rpc UpdateCoreLibrariesIndex (UpdateCoreLibrariesIndexRequest ) returns (stream UpdateCoreLibrariesIndexResponse ) {}
51
+ rpc UpdateCoreLibrariesIndex (UpdateCoreLibrariesIndexRequest )
52
+ returns (stream UpdateCoreLibrariesIndexResponse ) {}
51
53
52
54
// Outdated returns a message with a list of outdated Cores and Libraries
53
55
rpc Outdated (OutdatedRequest ) returns (OutdatedResponse ) {}
@@ -84,36 +86,45 @@ service ArduinoCoreService {
84
86
rpc BoardSearch (BoardSearchRequest ) returns (BoardSearchResponse );
85
87
86
88
// List boards connection and disconnected events.
87
- rpc BoardListWatch (stream BoardListWatchRequest ) returns (stream BoardListWatchResponse );
89
+ rpc BoardListWatch (stream BoardListWatchRequest )
90
+ returns (stream BoardListWatchResponse );
88
91
89
92
// Compile an Arduino sketch.
90
93
rpc Compile (CompileRequest ) returns (stream CompileResponse );
91
94
92
95
// Download and install a platform and its tool dependencies.
93
- rpc PlatformInstall (PlatformInstallRequest ) returns (stream PlatformInstallResponse );
96
+ rpc PlatformInstall (PlatformInstallRequest )
97
+ returns (stream PlatformInstallResponse );
94
98
95
99
// Download a platform and its tool dependencies to the `staging/packages`
96
100
// subdirectory of the data directory.
97
- rpc PlatformDownload (PlatformDownloadRequest ) returns (stream PlatformDownloadResponse );
101
+ rpc PlatformDownload (PlatformDownloadRequest )
102
+ returns (stream PlatformDownloadResponse );
98
103
99
104
// Uninstall a platform as well as its tool dependencies that are not used by
100
105
// other installed platforms.
101
- rpc PlatformUninstall (PlatformUninstallRequest ) returns (stream PlatformUninstallResponse );
106
+ rpc PlatformUninstall (PlatformUninstallRequest )
107
+ returns (stream PlatformUninstallResponse );
102
108
103
109
// Upgrade an installed platform to the latest version.
104
- rpc PlatformUpgrade (PlatformUpgradeRequest ) returns (stream PlatformUpgradeResponse );
110
+ rpc PlatformUpgrade (PlatformUpgradeRequest )
111
+ returns (stream PlatformUpgradeResponse );
105
112
106
113
// Upload a compiled sketch to a board.
107
114
rpc Upload (UploadRequest ) returns (stream UploadResponse );
108
115
109
116
// Upload a compiled sketch to a board using a programmer.
110
- rpc UploadUsingProgrammer (UploadUsingProgrammerRequest ) returns (stream UploadUsingProgrammerResponse );
117
+ rpc UploadUsingProgrammer (UploadUsingProgrammerRequest )
118
+ returns (stream UploadUsingProgrammerResponse );
111
119
112
120
// List programmers available for a board.
113
- rpc ListProgrammersAvailableForUpload (ListProgrammersAvailableForUploadRequest ) returns (ListProgrammersAvailableForUploadResponse );
121
+ rpc ListProgrammersAvailableForUpload (
122
+ ListProgrammersAvailableForUploadRequest )
123
+ returns (ListProgrammersAvailableForUploadResponse );
114
124
115
125
// Burn bootloader to a board.
116
- rpc BurnBootloader (BurnBootloaderRequest ) returns (stream BurnBootloaderResponse );
126
+ rpc BurnBootloader (BurnBootloaderRequest )
127
+ returns (stream BurnBootloaderResponse );
117
128
118
129
// Search for a platform in the platforms indexes.
119
130
rpc PlatformSearch (PlatformSearchRequest ) returns (PlatformSearchResponse );
@@ -123,26 +134,33 @@ service ArduinoCoreService {
123
134
124
135
// Download the archive file of an Arduino library in the libraries index to
125
136
// the staging directory.
126
- rpc LibraryDownload (LibraryDownloadRequest ) returns (stream LibraryDownloadResponse );
137
+ rpc LibraryDownload (LibraryDownloadRequest )
138
+ returns (stream LibraryDownloadResponse );
127
139
128
140
// Download and install an Arduino library from the libraries index.
129
- rpc LibraryInstall (LibraryInstallRequest ) returns (stream LibraryInstallResponse );
141
+ rpc LibraryInstall (LibraryInstallRequest )
142
+ returns (stream LibraryInstallResponse );
130
143
131
144
// Install a library from a Zip File
132
- rpc ZipLibraryInstall (ZipLibraryInstallRequest ) returns (stream ZipLibraryInstallResponse );
145
+ rpc ZipLibraryInstall (ZipLibraryInstallRequest )
146
+ returns (stream ZipLibraryInstallResponse );
133
147
134
148
// Download and install a library from a git url
135
- rpc GitLibraryInstall (GitLibraryInstallRequest ) returns (stream GitLibraryInstallResponse );
149
+ rpc GitLibraryInstall (GitLibraryInstallRequest )
150
+ returns (stream GitLibraryInstallResponse );
136
151
137
152
// Uninstall an Arduino library.
138
- rpc LibraryUninstall (LibraryUninstallRequest ) returns (stream LibraryUninstallResponse );
153
+ rpc LibraryUninstall (LibraryUninstallRequest )
154
+ returns (stream LibraryUninstallResponse );
139
155
140
156
// Upgrade all installed Arduino libraries to the newest version available.
141
- rpc LibraryUpgradeAll (LibraryUpgradeAllRequest ) returns (stream LibraryUpgradeAllResponse );
157
+ rpc LibraryUpgradeAll (LibraryUpgradeAllRequest )
158
+ returns (stream LibraryUpgradeAllResponse );
142
159
143
160
// List the recursive dependencies of a library, as defined by the `depends`
144
161
// field of the library.properties files.
145
- rpc LibraryResolveDependencies (LibraryResolveDependenciesRequest ) returns (LibraryResolveDependenciesResponse );
162
+ rpc LibraryResolveDependencies (LibraryResolveDependenciesRequest )
163
+ returns (LibraryResolveDependenciesResponse );
146
164
147
165
// Search the Arduino libraries index for libraries.
148
166
rpc LibrarySearch (LibrarySearchRequest ) returns (LibrarySearchResponse );
@@ -177,8 +195,7 @@ message DestroyRequest {
177
195
Instance instance = 1 ;
178
196
}
179
197
180
- message DestroyResponse {
181
- }
198
+ message DestroyResponse {}
182
199
183
200
message RescanRequest {
184
201
// Arduino Core Service instance from the Init response.
@@ -250,8 +267,7 @@ message UpgradeResponse {
250
267
TaskProgress task_progress = 2 ;
251
268
}
252
269
253
- message VersionRequest {
254
- }
270
+ message VersionRequest {}
255
271
256
272
message VersionResponse {
257
273
// The version of Arduino CLI in use.
@@ -274,18 +290,19 @@ message LoadSketchResponse {
274
290
repeated string other_sketch_files = 3 ;
275
291
// List of absolute paths to additional sketch files
276
292
repeated string additional_files = 4 ;
277
- // List of absolute paths to supported files in the sketch root folder, main file excluded
293
+ // List of absolute paths to supported files in the sketch root folder, main
294
+ // file excluded
278
295
repeated string root_folder_files = 5 ;
279
296
}
280
297
281
- message ArchiveSketchRequest {
298
+ message ArchiveSketchRequest {
282
299
// Absolute path to Sketch file or folder containing Sketch file
283
300
string sketch_path = 1 ;
284
- // Absolute path to archive that will be created or folder that will contain it
301
+ // Absolute path to archive that will be created or folder that will contain
302
+ // it
285
303
string archive_path = 2 ;
286
304
// Specifies if build directory should be included in the archive
287
305
bool include_build_dir = 3 ;
288
306
}
289
307
290
- message ArchiveSketchResponse {
291
- }
308
+ message ArchiveSketchResponse {}
0 commit comments