@kvaser/canking-api 7.1.0-beta.231

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (554) hide show
  1. package/EULA.pdf +0 -0
  2. package/README.md +87 -0
  3. package/REDISTRIBUTABLES.txt +5 -0
  4. package/dist/ElectronAPIFake.js +1 -0
  5. package/dist/ElectronAPIFake.mjs +266 -0
  6. package/dist/controls/CanChannelSelectControl.d.ts +35 -0
  7. package/dist/controls/CanIdentifierControl.d.ts +176 -0
  8. package/dist/controls/CanKingDataProvider.d.ts +116 -0
  9. package/dist/controls/CheckboxControl.d.ts +30 -0
  10. package/dist/controls/ContextMenu.d.ts +44 -0
  11. package/dist/controls/DropdownButton.d.ts +73 -0
  12. package/dist/controls/DropdownPanel.d.ts +41 -0
  13. package/dist/controls/FillBox.d.ts +8 -0
  14. package/dist/controls/FormControlRow.d.ts +30 -0
  15. package/dist/controls/InlineEditor.d.ts +26 -0
  16. package/dist/controls/LocalizedStrings.d.ts +21 -0
  17. package/dist/controls/NumberRangeControl.d.ts +80 -0
  18. package/dist/controls/OneLineButton.d.ts +9 -0
  19. package/dist/controls/RadioControl.d.ts +25 -0
  20. package/dist/controls/RadioGroupControl.d.ts +31 -0
  21. package/dist/controls/SectionControl.d.ts +40 -0
  22. package/dist/controls/SelectControl.d.ts +55 -0
  23. package/dist/controls/SizedBox.d.ts +11 -0
  24. package/dist/controls/TableControl.d.ts +61 -0
  25. package/dist/controls/TabsPanel.d.ts +5 -0
  26. package/dist/controls/TextControl.d.ts +56 -0
  27. package/dist/controls/ToolbarControl.d.ts +143 -0
  28. package/dist/controls/ValidateableTextControl.d.ts +82 -0
  29. package/dist/controls/index.d.ts +103 -0
  30. package/dist/controls.js +1 -0
  31. package/dist/controls.mjs +1714 -0
  32. package/dist/grpc/index.d.ts +7 -0
  33. package/dist/grpc.js +1 -0
  34. package/dist/grpc.mjs +917 -0
  35. package/dist/hooks/index.d.ts +112 -0
  36. package/dist/hooks.js +1 -0
  37. package/dist/hooks.mjs +28 -0
  38. package/dist/icons/index.d.ts +121 -0
  39. package/dist/icons.js +1 -0
  40. package/dist/icons.mjs +1237 -0
  41. package/dist/index.d.ts +6 -0
  42. package/dist/index.js +1 -0
  43. package/dist/index.mjs +596 -0
  44. package/dist/ipc/index.d.ts +160 -0
  45. package/dist/ipc.js +1 -0
  46. package/dist/ipc.mjs +123 -0
  47. package/dist/measurement_settings.js +1 -0
  48. package/dist/measurement_settings.mjs +4132 -0
  49. package/dist/models/DataBuffer.d.ts +100 -0
  50. package/dist/models/ElectronAPIFake.d.ts +13 -0
  51. package/dist/models/Point.d.ts +30 -0
  52. package/dist/models/index.d.ts +95 -0
  53. package/dist/models.js +1 -0
  54. package/dist/models.mjs +448 -0
  55. package/dist/protos/app_params.d.ts +208 -0
  56. package/dist/protos/app_service.d.ts +354 -0
  57. package/dist/protos/common_params.d.ts +33 -0
  58. package/dist/protos/device_params.d.ts +271 -0
  59. package/dist/protos/device_service.d.ts +154 -0
  60. package/dist/protos/frame_params.d.ts +189 -0
  61. package/dist/protos/google/protobuf/empty.d.ts +35 -0
  62. package/dist/protos/measurement_params.d.ts +308 -0
  63. package/dist/protos/measurement_service.d.ts +1333 -0
  64. package/dist/protos/measurement_settings.d.ts +453 -0
  65. package/dist/protos/signal_params.d.ts +72 -0
  66. package/dist/protos/status_params.d.ts +118 -0
  67. package/dist/status_params.js +1 -0
  68. package/dist/status_params.mjs +5045 -0
  69. package/doc/.nojekyll +1 -0
  70. package/doc/assets/highlight.css +120 -0
  71. package/doc/assets/icons.js +18 -0
  72. package/doc/assets/icons.svg +1 -0
  73. package/doc/assets/main.js +60 -0
  74. package/doc/assets/material-style.css +247 -0
  75. package/doc/assets/navigation.js +1 -0
  76. package/doc/assets/search.js +1 -0
  77. package/doc/assets/style.css +1493 -0
  78. package/doc/classes/controls.LocalizedStrings.html +177 -0
  79. package/doc/classes/models.DataBuffer.html +205 -0
  80. package/doc/classes/models.DataBufferView.html +193 -0
  81. package/doc/classes/models.Point.html +187 -0
  82. package/doc/enums/models.AccessMode.html +188 -0
  83. package/doc/enums/models.AppEvent.html +179 -0
  84. package/doc/enums/models.CanChannelCap.html +217 -0
  85. package/doc/enums/models.CanFrameFlag.html +200 -0
  86. package/doc/enums/models.CanMode.html +180 -0
  87. package/doc/enums/models.DecimalChar.html +178 -0
  88. package/doc/enums/models.DeviceEvent.html +179 -0
  89. package/doc/enums/models.FileConflictAction.html +180 -0
  90. package/doc/enums/models.LinFrameFlag.html +185 -0
  91. package/doc/enums/models.LogFileFormat.html +221 -0
  92. package/doc/enums/models.LogLevel.html +195 -0
  93. package/doc/enums/models.LogReplayState.html +179 -0
  94. package/doc/enums/models.MeasurementEvent.html +185 -0
  95. package/doc/enums/models.MessageLoggerState.html +180 -0
  96. package/doc/enums/models.Protocols.html +182 -0
  97. package/doc/enums/models.Separator.html +178 -0
  98. package/doc/enums/models.SignalEncoding.html +178 -0
  99. package/doc/enums/models.SignalType.html +185 -0
  100. package/doc/enums/models.SignalValueTriggerOperator.html +186 -0
  101. package/doc/enums/models.StatusLevel.html +180 -0
  102. package/doc/enums/models.TimeReference.html +178 -0
  103. package/doc/enums/models.TriggerOperator.html +179 -0
  104. package/doc/functions/controls.CanChannelSelectControl.html +177 -0
  105. package/doc/functions/controls.CanIdentifierControl.html +177 -0
  106. package/doc/functions/controls.CanIdentifierFrameControl.html +177 -0
  107. package/doc/functions/controls.CanIdentifierGeneratorControl.html +177 -0
  108. package/doc/functions/controls.CanIdentifierGeneratorSettingsControl.html +178 -0
  109. package/doc/functions/controls.CanKingDataProvider.html +182 -0
  110. package/doc/functions/controls.CheckboxControl.html +177 -0
  111. package/doc/functions/controls.ContextMenu.html +177 -0
  112. package/doc/functions/controls.DropdownButton.html +177 -0
  113. package/doc/functions/controls.DropdownButtonTextItems.html +177 -0
  114. package/doc/functions/controls.DropdownPanel.html +177 -0
  115. package/doc/functions/controls.FillBox.html +206 -0
  116. package/doc/functions/controls.FormControlRow.html +177 -0
  117. package/doc/functions/controls.InlineEditor.html +177 -0
  118. package/doc/functions/controls.NumberRangeControl.html +177 -0
  119. package/doc/functions/controls.OneLineButton.html +205 -0
  120. package/doc/functions/controls.RadioControl.html +177 -0
  121. package/doc/functions/controls.RadioGroupControl.html +177 -0
  122. package/doc/functions/controls.SectionControl.html +177 -0
  123. package/doc/functions/controls.SelectControl.html +177 -0
  124. package/doc/functions/controls.SizedBox.html +206 -0
  125. package/doc/functions/controls.TableControl.html +177 -0
  126. package/doc/functions/controls.TabsPanel.html +205 -0
  127. package/doc/functions/controls.TextControl.html +177 -0
  128. package/doc/functions/controls.ToolbarControl.html +177 -0
  129. package/doc/functions/controls.ValidateableTextControl.html +177 -0
  130. package/doc/functions/hooks.useDevices.html +176 -0
  131. package/doc/functions/hooks.useIsOnline.html +176 -0
  132. package/doc/functions/hooks.useLanguage.html +176 -0
  133. package/doc/functions/hooks.useLocalizedStrings.html +176 -0
  134. package/doc/functions/hooks.useLogMessages.html +176 -0
  135. package/doc/functions/hooks.useMaxDataBytes.html +175 -0
  136. package/doc/functions/hooks.useMeasurementSetup.html +176 -0
  137. package/doc/functions/hooks.useMeasurementStatus.html +176 -0
  138. package/doc/functions/hooks.useMessageLogFileFormats.html +175 -0
  139. package/doc/functions/hooks.useNewMeasurementData.html +178 -0
  140. package/doc/functions/hooks.useNodeStatus.html +176 -0
  141. package/doc/functions/hooks.useNumericRadix.html +176 -0
  142. package/doc/functions/hooks.useOnlineStatus.html +176 -0
  143. package/doc/functions/hooks.useOverallStatusLevel.html +176 -0
  144. package/doc/functions/hooks.useProjectData.html +178 -0
  145. package/doc/functions/hooks.useRecentProjectFiles.html +175 -0
  146. package/doc/functions/hooks.useRunningPeriodicTransmissions.html +176 -0
  147. package/doc/functions/hooks.useSessionData.html +178 -0
  148. package/doc/functions/hooks.useUserSettings.html +176 -0
  149. package/doc/functions/hooks.useWorkspacePaneWithId.html +175 -0
  150. package/doc/functions/icons.AddIcon.html +175 -0
  151. package/doc/functions/icons.ArrowDownIcon.html +175 -0
  152. package/doc/functions/icons.ArrowLeftIcon.html +175 -0
  153. package/doc/functions/icons.ArrowRightIcon.html +175 -0
  154. package/doc/functions/icons.ArrowUpIcon.html +175 -0
  155. package/doc/functions/icons.BusIsOffIcon.html +175 -0
  156. package/doc/functions/icons.BusIsOnIcon.html +175 -0
  157. package/doc/functions/icons.CloseIcon.html +175 -0
  158. package/doc/functions/icons.CopyIcon.html +175 -0
  159. package/doc/functions/icons.DarkModeIcon.html +175 -0
  160. package/doc/functions/icons.DeleteIcon.html +175 -0
  161. package/doc/functions/icons.DisableIcon.html +175 -0
  162. package/doc/functions/icons.EditIcon.html +175 -0
  163. package/doc/functions/icons.FilterIcon.html +175 -0
  164. package/doc/functions/icons.FixedPositionIcon.html +175 -0
  165. package/doc/functions/icons.LeaveFullScreenIcon.html +175 -0
  166. package/doc/functions/icons.LightModeIcon.html +175 -0
  167. package/doc/functions/icons.LineArrowDownIcon.html +175 -0
  168. package/doc/functions/icons.LineArrowUpIcon.html +175 -0
  169. package/doc/functions/icons.MaximizeWindowIcon.html +175 -0
  170. package/doc/functions/icons.MeasurementSetupIcon.html +175 -0
  171. package/doc/functions/icons.MoreHorizIcon.html +175 -0
  172. package/doc/functions/icons.MoreVertIcon.html +175 -0
  173. package/doc/functions/icons.NewIcon.html +175 -0
  174. package/doc/functions/icons.OpenExternallyIcon.html +175 -0
  175. package/doc/functions/icons.OpenIcon.html +175 -0
  176. package/doc/functions/icons.PauseIcon.html +175 -0
  177. package/doc/functions/icons.PlayIcon.html +175 -0
  178. package/doc/functions/icons.PlaySolidIcon.html +175 -0
  179. package/doc/functions/icons.SaveIcon.html +175 -0
  180. package/doc/functions/icons.SelectAllIcon.html +175 -0
  181. package/doc/functions/icons.ServiceIconActive.html +175 -0
  182. package/doc/functions/icons.ServiceIconInactive.html +175 -0
  183. package/doc/functions/icons.SettingsIcon.html +175 -0
  184. package/doc/functions/icons.StopIcon.html +175 -0
  185. package/doc/functions/icons.StopSolidIcon.html +175 -0
  186. package/doc/functions/icons.ToolsPanelHiddenIcon.html +175 -0
  187. package/doc/functions/icons.ToolsPanelVisibleIcon.html +175 -0
  188. package/doc/functions/icons.UnmaximizeWindowIcon.html +175 -0
  189. package/doc/functions/icons.WorkspacesIcon.html +175 -0
  190. package/doc/functions/ipc.addDataProcessor.html +178 -0
  191. package/doc/functions/ipc.addSource.html +176 -0
  192. package/doc/functions/ipc.addTarget.html +176 -0
  193. package/doc/functions/ipc.connectNodes.html +177 -0
  194. package/doc/functions/ipc.deleteDataProcessor.html +176 -0
  195. package/doc/functions/ipc.deleteSource.html +176 -0
  196. package/doc/functions/ipc.deleteTarget.html +176 -0
  197. package/doc/functions/ipc.disableNode.html +176 -0
  198. package/doc/functions/ipc.disconnectNodes.html +177 -0
  199. package/doc/functions/ipc.enableNode.html +176 -0
  200. package/doc/functions/ipc.getFrameDefinitions.html +178 -0
  201. package/doc/functions/ipc.getLogger.html +177 -0
  202. package/doc/functions/ipc.getMessageLogFileFormats.html +176 -0
  203. package/doc/functions/ipc.sendCanMessage.html +179 -0
  204. package/doc/functions/ipc.sendMessage.html +177 -0
  205. package/doc/functions/ipc.showMessageBox.html +177 -0
  206. package/doc/functions/ipc.showQuestionBox.html +183 -0
  207. package/doc/functions/ipc.startLogReplay.html +176 -0
  208. package/doc/functions/ipc.startMeasurement.html +175 -0
  209. package/doc/functions/ipc.startPeriodicTransmission.html +177 -0
  210. package/doc/functions/ipc.stopLogReplay.html +176 -0
  211. package/doc/functions/ipc.stopMeasurement.html +175 -0
  212. package/doc/functions/ipc.stopPeriodicTransmission.html +176 -0
  213. package/doc/functions/ipc.updateDataProcessor.html +176 -0
  214. package/doc/functions/ipc.updateSource.html +176 -0
  215. package/doc/functions/ipc.updateTarget.html +176 -0
  216. package/doc/functions/models.accessModeFromJSON.html +174 -0
  217. package/doc/functions/models.accessModeToJSON.html +174 -0
  218. package/doc/functions/models.appEventFromJSON.html +174 -0
  219. package/doc/functions/models.appEventToJSON.html +174 -0
  220. package/doc/functions/models.canChannelCapFromJSON.html +174 -0
  221. package/doc/functions/models.canChannelCapToJSON.html +174 -0
  222. package/doc/functions/models.canFrameFlagFromJSON.html +174 -0
  223. package/doc/functions/models.canFrameFlagToJSON.html +174 -0
  224. package/doc/functions/models.canModeFromJSON.html +174 -0
  225. package/doc/functions/models.canModeToJSON.html +174 -0
  226. package/doc/functions/models.createElectronApiFake.html +177 -0
  227. package/doc/functions/models.decimalCharFromJSON.html +174 -0
  228. package/doc/functions/models.decimalCharToJSON.html +174 -0
  229. package/doc/functions/models.decimalToFixed.html +174 -0
  230. package/doc/functions/models.decimalToHex.html +174 -0
  231. package/doc/functions/models.deviceEventFromJSON.html +174 -0
  232. package/doc/functions/models.deviceEventToJSON.html +174 -0
  233. package/doc/functions/models.fileConflictActionFromJSON.html +174 -0
  234. package/doc/functions/models.fileConflictActionToJSON.html +174 -0
  235. package/doc/functions/models.linFrameFlagFromJSON.html +174 -0
  236. package/doc/functions/models.linFrameFlagToJSON.html +174 -0
  237. package/doc/functions/models.logFileFormatFromJSON.html +174 -0
  238. package/doc/functions/models.logFileFormatToJSON.html +174 -0
  239. package/doc/functions/models.logLevelFromJSON.html +174 -0
  240. package/doc/functions/models.logLevelToJSON.html +174 -0
  241. package/doc/functions/models.logReplayStateFromJSON.html +174 -0
  242. package/doc/functions/models.logReplayStateToJSON.html +174 -0
  243. package/doc/functions/models.longToNumber.html +174 -0
  244. package/doc/functions/models.measurementEventFromJSON.html +174 -0
  245. package/doc/functions/models.measurementEventToJSON.html +174 -0
  246. package/doc/functions/models.messageLoggerStateFromJSON.html +174 -0
  247. package/doc/functions/models.messageLoggerStateToJSON.html +174 -0
  248. package/doc/functions/models.protocolsFromJSON.html +174 -0
  249. package/doc/functions/models.protocolsToJSON.html +174 -0
  250. package/doc/functions/models.separatorFromJSON.html +174 -0
  251. package/doc/functions/models.separatorToJSON.html +174 -0
  252. package/doc/functions/models.signalEncodingFromJSON.html +174 -0
  253. package/doc/functions/models.signalEncodingToJSON.html +174 -0
  254. package/doc/functions/models.signalTypeFromJSON.html +174 -0
  255. package/doc/functions/models.signalTypeToJSON.html +174 -0
  256. package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +174 -0
  257. package/doc/functions/models.signalValueTriggerOperatorToJSON.html +174 -0
  258. package/doc/functions/models.statusLevelFromJSON.html +174 -0
  259. package/doc/functions/models.statusLevelToJSON.html +174 -0
  260. package/doc/functions/models.timeReferenceFromJSON.html +174 -0
  261. package/doc/functions/models.timeReferenceToJSON.html +174 -0
  262. package/doc/functions/models.triggerOperatorFromJSON.html +174 -0
  263. package/doc/functions/models.triggerOperatorToJSON.html +174 -0
  264. package/doc/hierarchy.html +174 -0
  265. package/doc/index.html +244 -0
  266. package/doc/interfaces/controls.ButtonGroupProps.html +183 -0
  267. package/doc/interfaces/controls.ButtonProps.html +195 -0
  268. package/doc/interfaces/controls.CanChannelSelectControlProps.html +194 -0
  269. package/doc/interfaces/controls.CanIdentifierControlProps.html +195 -0
  270. package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +190 -0
  271. package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +208 -0
  272. package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +194 -0
  273. package/doc/interfaces/controls.CheckboxControlProps.html +190 -0
  274. package/doc/interfaces/controls.ContextMenuProps.html +182 -0
  275. package/doc/interfaces/controls.DropdownButtonChildrenProps.html +177 -0
  276. package/doc/interfaces/controls.DropdownButtonProps.html +193 -0
  277. package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +183 -0
  278. package/doc/interfaces/controls.DropdownPanelProps.html +193 -0
  279. package/doc/interfaces/controls.FormControlRowProps.html +181 -0
  280. package/doc/interfaces/controls.ILocalizedStrings.html +176 -0
  281. package/doc/interfaces/controls.InlineEditorProps.html +186 -0
  282. package/doc/interfaces/controls.LabelProps.html +179 -0
  283. package/doc/interfaces/controls.NumberRangeControlProps.html +225 -0
  284. package/doc/interfaces/controls.RadioControlProps.html +187 -0
  285. package/doc/interfaces/controls.RadioGroupControlProps.html +182 -0
  286. package/doc/interfaces/controls.SectionControlProps.html +190 -0
  287. package/doc/interfaces/controls.SelectControlProps.html +205 -0
  288. package/doc/interfaces/controls.TableColumn.html +185 -0
  289. package/doc/interfaces/controls.TableControlProps.html +197 -0
  290. package/doc/interfaces/controls.TextControlProps.html +214 -0
  291. package/doc/interfaces/controls.ToggleButtonGroupProps.html +190 -0
  292. package/doc/interfaces/controls.ToggleButtonProps.html +187 -0
  293. package/doc/interfaces/controls.ToolbarControlProps.html +191 -0
  294. package/doc/interfaces/controls.ValidateableTextControlProps.html +233 -0
  295. package/doc/interfaces/controls.toolbarItem.html +185 -0
  296. package/doc/interfaces/ipc.ILogger.html +181 -0
  297. package/doc/interfaces/models.AboutInformation.html +181 -0
  298. package/doc/interfaces/models.ActivateLicenseRequest.html +181 -0
  299. package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +177 -0
  300. package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +177 -0
  301. package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +185 -0
  302. package/doc/interfaces/models.AddOrUpdateSourceRequest.html +181 -0
  303. package/doc/interfaces/models.AddOrUpdateTargetRequest.html +181 -0
  304. package/doc/interfaces/models.ApiPreferences.html +183 -0
  305. package/doc/interfaces/models.AppEventArgs.html +179 -0
  306. package/doc/interfaces/models.BaseNodeProperties.html +181 -0
  307. package/doc/interfaces/models.BusStatus.html +190 -0
  308. package/doc/interfaces/models.CanBusParamLimits.html +180 -0
  309. package/doc/interfaces/models.CanBusParams.html +197 -0
  310. package/doc/interfaces/models.CanBusSpeed.html +187 -0
  311. package/doc/interfaces/models.CanBusSpeedInfo.html +193 -0
  312. package/doc/interfaces/models.CanChannelCapacity.html +180 -0
  313. package/doc/interfaces/models.CanChannelConfiguration.html +185 -0
  314. package/doc/interfaces/models.CanFDBusSpeedCombination.html +177 -0
  315. package/doc/interfaces/models.CanFDBusSpeedInfo.html +191 -0
  316. package/doc/interfaces/models.CanFrameFlags.html +177 -0
  317. package/doc/interfaces/models.CanMessageFilterSettings.html +178 -0
  318. package/doc/interfaces/models.Channel.html +180 -0
  319. package/doc/interfaces/models.ChannelSettings.html +193 -0
  320. package/doc/interfaces/models.ClearLinMessageRequest.html +180 -0
  321. package/doc/interfaces/models.ConnectNodesRequest.html +178 -0
  322. package/doc/interfaces/models.DataProcessingStatus.html +179 -0
  323. package/doc/interfaces/models.DataProcessorNodeProperties.html +181 -0
  324. package/doc/interfaces/models.DatabasesSettings.html +176 -0
  325. package/doc/interfaces/models.Device.html +182 -0
  326. package/doc/interfaces/models.DeviceEventArgs.html +177 -0
  327. package/doc/interfaces/models.Devices.html +175 -0
  328. package/doc/interfaces/models.DisconnectNodesRequest.html +178 -0
  329. package/doc/interfaces/models.Empty.html +182 -0
  330. package/doc/interfaces/models.ErrorStatus.html +177 -0
  331. package/doc/interfaces/models.Frame.html +203 -0
  332. package/doc/interfaces/models.FrameDefinition.html +185 -0
  333. package/doc/interfaces/models.FrameDefinitions.html +175 -0
  334. package/doc/interfaces/models.FramePropertyValue.html +177 -0
  335. package/doc/interfaces/models.FrameReceivedTrigger.html +179 -0
  336. package/doc/interfaces/models.Frame_PropertiesEntry.html +176 -0
  337. package/doc/interfaces/models.Frames.html +175 -0
  338. package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +177 -0
  339. package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +179 -0
  340. package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +179 -0
  341. package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +177 -0
  342. package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +178 -0
  343. package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +177 -0
  344. package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +178 -0
  345. package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +177 -0
  346. package/doc/interfaces/models.GetDataProcessorResponse.html +176 -0
  347. package/doc/interfaces/models.GetDevicesRequest.html +177 -0
  348. package/doc/interfaces/models.GetDevicesResponse.html +176 -0
  349. package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +178 -0
  350. package/doc/interfaces/models.GetLicensesResponse.html +177 -0
  351. package/doc/interfaces/models.GetLogFileFormatsRequest.html +180 -0
  352. package/doc/interfaces/models.GetLogFileFormatsResponse.html +183 -0
  353. package/doc/interfaces/models.GetLogLevelResponse.html +177 -0
  354. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +178 -0
  355. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +177 -0
  356. package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +181 -0
  357. package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +187 -0
  358. package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +180 -0
  359. package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +177 -0
  360. package/doc/interfaces/models.GetSourceResponse.html +176 -0
  361. package/doc/interfaces/models.GetTargetResponse.html +176 -0
  362. package/doc/interfaces/models.ILogFileFormat.html +179 -0
  363. package/doc/interfaces/models.IProject.html +179 -0
  364. package/doc/interfaces/models.IUserSettings.html +187 -0
  365. package/doc/interfaces/models.IWorkspaceComponentPaneData.html +177 -0
  366. package/doc/interfaces/models.IWorkspaceContainerPaneData.html +178 -0
  367. package/doc/interfaces/models.IWorkspaceData.html +178 -0
  368. package/doc/interfaces/models.IWorkspacePaneData.html +178 -0
  369. package/doc/interfaces/models.IdentifierRequest.html +178 -0
  370. package/doc/interfaces/models.IdentifiersRequest.html +178 -0
  371. package/doc/interfaces/models.InstallServiceExtensionRequest.html +181 -0
  372. package/doc/interfaces/models.InterpreterSettings.html +177 -0
  373. package/doc/interfaces/models.J1939InterpreterSettings.html +175 -0
  374. package/doc/interfaces/models.LicenseInformation.html +191 -0
  375. package/doc/interfaces/models.Licenses.html +177 -0
  376. package/doc/interfaces/models.LinChannelConfiguration.html +185 -0
  377. package/doc/interfaces/models.LinFrameFlags.html +177 -0
  378. package/doc/interfaces/models.LogMessage.html +185 -0
  379. package/doc/interfaces/models.LogMessages.html +177 -0
  380. package/doc/interfaces/models.LogReplaySettings.html +199 -0
  381. package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +176 -0
  382. package/doc/interfaces/models.LogReplayStatus.html +176 -0
  383. package/doc/interfaces/models.MeasurementEventArgs.html +179 -0
  384. package/doc/interfaces/models.MeasurementSetup.html +179 -0
  385. package/doc/interfaces/models.MessageLoggerSettings.html +213 -0
  386. package/doc/interfaces/models.MessageLoggerStatus.html +176 -0
  387. package/doc/interfaces/models.NodeStatus.html +191 -0
  388. package/doc/interfaces/models.NodeStatuses.html +176 -0
  389. package/doc/interfaces/models.OnlineStatus.html +176 -0
  390. package/doc/interfaces/models.PeriodicTransmissionSettings.html +209 -0
  391. package/doc/interfaces/models.RequestLinMessageRequest.html +180 -0
  392. package/doc/interfaces/models.ScheduleTable.html +181 -0
  393. package/doc/interfaces/models.ScheduleTableEntry.html +179 -0
  394. package/doc/interfaces/models.SendLinWakeupFrameRequest.html +182 -0
  395. package/doc/interfaces/models.SendMessageRequest.html +178 -0
  396. package/doc/interfaces/models.ServiceExtensionSettings.html +177 -0
  397. package/doc/interfaces/models.SetLogLevelRequest.html +179 -0
  398. package/doc/interfaces/models.SetMeasurementSetupRequest.html +177 -0
  399. package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +182 -0
  400. package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +180 -0
  401. package/doc/interfaces/models.SignalDefinition.html +188 -0
  402. package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +176 -0
  403. package/doc/interfaces/models.SignalDefinitions.html +175 -0
  404. package/doc/interfaces/models.SignalValue.html +180 -0
  405. package/doc/interfaces/models.SignalValueTrigger.html +189 -0
  406. package/doc/interfaces/models.SourceNodeProperties.html +180 -0
  407. package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +178 -0
  408. package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +176 -0
  409. package/doc/interfaces/models.TargetNodeProperties.html +178 -0
  410. package/doc/interfaces/models.TriggerSettings.html +181 -0
  411. package/doc/interfaces/models.UninstallServiceExtensionRequest.html +179 -0
  412. package/doc/interfaces/models.UpdateLinMessageRequest.html +181 -0
  413. package/doc/interfaces/models.WriteFrame.html +183 -0
  414. package/doc/modules/controls.html +242 -0
  415. package/doc/modules/hooks.html +201 -0
  416. package/doc/modules/icons.html +216 -0
  417. package/doc/modules/ipc.html +202 -0
  418. package/doc/modules/models.html +478 -0
  419. package/doc/modules.html +179 -0
  420. package/doc/types/controls.ContextMenuOption.html +179 -0
  421. package/doc/types/controls.SelectOption.html +177 -0
  422. package/doc/types/controls.StringsMap.html +175 -0
  423. package/doc/types/controls.canIdentifierType.html +175 -0
  424. package/doc/types/models.IReadOnlyDataBuffer.html +174 -0
  425. package/doc/types/models.themes.html +174 -0
  426. package/doc/variables/models.AboutInformation-1.html +174 -0
  427. package/doc/variables/models.ActivateLicenseRequest-1.html +174 -0
  428. package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +174 -0
  429. package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +174 -0
  430. package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +174 -0
  431. package/doc/variables/models.AddOrUpdateSourceRequest-1.html +174 -0
  432. package/doc/variables/models.AddOrUpdateTargetRequest-1.html +174 -0
  433. package/doc/variables/models.ApiPreferences-1.html +174 -0
  434. package/doc/variables/models.AppEventArgs-1.html +174 -0
  435. package/doc/variables/models.BaseNodeProperties-1.html +174 -0
  436. package/doc/variables/models.BusStatus-1.html +174 -0
  437. package/doc/variables/models.CanBusParamLimits-1.html +174 -0
  438. package/doc/variables/models.CanBusParams-1.html +174 -0
  439. package/doc/variables/models.CanBusSpeed-1.html +174 -0
  440. package/doc/variables/models.CanBusSpeedInfo-1.html +174 -0
  441. package/doc/variables/models.CanChannelCapacity-1.html +174 -0
  442. package/doc/variables/models.CanChannelConfiguration-1.html +174 -0
  443. package/doc/variables/models.CanFDBusSpeedCombination-1.html +174 -0
  444. package/doc/variables/models.CanFDBusSpeedInfo-1.html +174 -0
  445. package/doc/variables/models.CanFrameFlags-1.html +174 -0
  446. package/doc/variables/models.CanMessageFilterSettings-1.html +174 -0
  447. package/doc/variables/models.Channel-1.html +174 -0
  448. package/doc/variables/models.ChannelSettings-1.html +174 -0
  449. package/doc/variables/models.ClearLinMessageRequest-1.html +174 -0
  450. package/doc/variables/models.ConnectNodesRequest-1.html +174 -0
  451. package/doc/variables/models.DataProcessingStatus-1.html +174 -0
  452. package/doc/variables/models.DataProcessorNodeProperties-1.html +174 -0
  453. package/doc/variables/models.DatabasesSettings-1.html +174 -0
  454. package/doc/variables/models.Device-1.html +174 -0
  455. package/doc/variables/models.DeviceEventArgs-1.html +174 -0
  456. package/doc/variables/models.Devices-1.html +174 -0
  457. package/doc/variables/models.DisconnectNodesRequest-1.html +174 -0
  458. package/doc/variables/models.Empty-1.html +174 -0
  459. package/doc/variables/models.ErrorStatus-1.html +174 -0
  460. package/doc/variables/models.Frame-1.html +174 -0
  461. package/doc/variables/models.FrameDefinition-1.html +174 -0
  462. package/doc/variables/models.FrameDefinitions-1.html +174 -0
  463. package/doc/variables/models.FramePropertyValue-1.html +174 -0
  464. package/doc/variables/models.FrameReceivedTrigger-1.html +174 -0
  465. package/doc/variables/models.Frame_PropertiesEntry-1.html +174 -0
  466. package/doc/variables/models.Frames-1.html +174 -0
  467. package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +174 -0
  468. package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +174 -0
  469. package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +174 -0
  470. package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +174 -0
  471. package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +174 -0
  472. package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +174 -0
  473. package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +174 -0
  474. package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +174 -0
  475. package/doc/variables/models.GetDataProcessorResponse-1.html +174 -0
  476. package/doc/variables/models.GetDevicesRequest-1.html +174 -0
  477. package/doc/variables/models.GetDevicesResponse-1.html +174 -0
  478. package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +174 -0
  479. package/doc/variables/models.GetLicensesResponse-1.html +174 -0
  480. package/doc/variables/models.GetLogFileFormatsRequest-1.html +174 -0
  481. package/doc/variables/models.GetLogFileFormatsResponse-1.html +174 -0
  482. package/doc/variables/models.GetLogLevelResponse-1.html +174 -0
  483. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +174 -0
  484. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +174 -0
  485. package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +174 -0
  486. package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +174 -0
  487. package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +174 -0
  488. package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +174 -0
  489. package/doc/variables/models.GetSourceResponse-1.html +174 -0
  490. package/doc/variables/models.GetTargetResponse-1.html +174 -0
  491. package/doc/variables/models.IdentifierRequest-1.html +174 -0
  492. package/doc/variables/models.IdentifiersRequest-1.html +174 -0
  493. package/doc/variables/models.InstallServiceExtensionRequest-1.html +174 -0
  494. package/doc/variables/models.InterpreterSettings-1.html +174 -0
  495. package/doc/variables/models.J1939InterpreterSettings-1.html +174 -0
  496. package/doc/variables/models.LicenseInformation-1.html +174 -0
  497. package/doc/variables/models.Licenses-1.html +174 -0
  498. package/doc/variables/models.LinChannelConfiguration-1.html +174 -0
  499. package/doc/variables/models.LinFrameFlags-1.html +174 -0
  500. package/doc/variables/models.LogMessage-1.html +174 -0
  501. package/doc/variables/models.LogMessages-1.html +174 -0
  502. package/doc/variables/models.LogReplaySettings-1.html +174 -0
  503. package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +174 -0
  504. package/doc/variables/models.LogReplayStatus-1.html +174 -0
  505. package/doc/variables/models.MeasurementEventArgs-1.html +174 -0
  506. package/doc/variables/models.MeasurementSetup-1.html +174 -0
  507. package/doc/variables/models.MessageLoggerSettings-1.html +174 -0
  508. package/doc/variables/models.MessageLoggerStatus-1.html +174 -0
  509. package/doc/variables/models.NodeStatus-1.html +174 -0
  510. package/doc/variables/models.NodeStatuses-1.html +174 -0
  511. package/doc/variables/models.OnlineStatus-1.html +174 -0
  512. package/doc/variables/models.PeriodicTransmissionSettings-1.html +174 -0
  513. package/doc/variables/models.RequestLinMessageRequest-1.html +174 -0
  514. package/doc/variables/models.ScheduleTable-1.html +174 -0
  515. package/doc/variables/models.ScheduleTableEntry-1.html +174 -0
  516. package/doc/variables/models.SendLinWakeupFrameRequest-1.html +174 -0
  517. package/doc/variables/models.SendMessageRequest-1.html +174 -0
  518. package/doc/variables/models.ServiceExtensionSettings-1.html +174 -0
  519. package/doc/variables/models.SetLogLevelRequest-1.html +174 -0
  520. package/doc/variables/models.SetMeasurementSetupRequest-1.html +174 -0
  521. package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +174 -0
  522. package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +174 -0
  523. package/doc/variables/models.SignalDefinition-1.html +174 -0
  524. package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +174 -0
  525. package/doc/variables/models.SignalDefinitions-1.html +174 -0
  526. package/doc/variables/models.SignalValue-1.html +174 -0
  527. package/doc/variables/models.SignalValueTrigger-1.html +174 -0
  528. package/doc/variables/models.SourceNodeProperties-1.html +174 -0
  529. package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +174 -0
  530. package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +174 -0
  531. package/doc/variables/models.TargetNodeProperties-1.html +174 -0
  532. package/doc/variables/models.TriggerSettings-1.html +174 -0
  533. package/doc/variables/models.UninstallServiceExtensionRequest-1.html +174 -0
  534. package/doc/variables/models.UpdateLinMessageRequest-1.html +174 -0
  535. package/doc/variables/models.WriteFrame-1.html +174 -0
  536. package/doc/variables/models.defaultUserSettings.html +175 -0
  537. package/package.json +129 -0
  538. package/scripts/createCanKingExtension.js +403 -0
  539. package/scripts/index.js +39 -0
  540. package/scripts/template/_.eslintrc.cjs +38 -0
  541. package/scripts/template/_.gitignore +24 -0
  542. package/scripts/template/_.npmrc +2 -0
  543. package/scripts/template/_.prettierrc +8 -0
  544. package/scripts/template/_.vscode/_launch.json +28 -0
  545. package/scripts/template/_index.html +15 -0
  546. package/scripts/template/_tsconfig.app.json +27 -0
  547. package/scripts/template/_tsconfig.json +11 -0
  548. package/scripts/template/_tsconfig.node.json +13 -0
  549. package/scripts/template/_vite.config.ts +7 -0
  550. package/scripts/template/src/App.tsx +12 -0
  551. package/scripts/template/src/WorkspaceView/index.tsx +47 -0
  552. package/scripts/template/src/main.css +9 -0
  553. package/scripts/template/src/main.tsx +19 -0
  554. package/scripts/template/src/vite-env.d.ts +1 -0
@@ -0,0 +1,354 @@
1
+ import { type CallOptions, ChannelCredentials, Client, type ClientOptions, ClientReadableStream, type ClientUnaryCall, handleServerStreamingCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
2
+ import { AboutInformation, ActivateLicenseRequest, AppEventArgs, GetLicensesResponse, GetLogLevelResponse, GetServiceExtensionInfoRequest, GetServiceExtensionInfoResponse, InstallServiceExtensionRequest, LicenseInformation, LogMessages, SetLogLevelRequest, UninstallServiceExtensionRequest } from "./app_params";
3
+ import { ApiPreferences } from "./common_params";
4
+ import { Empty } from "./google/protobuf/empty";
5
+ /**
6
+ * The application service. This service is responsible for settings and functions that is global
7
+ * to the complete application.
8
+ */
9
+ export type AppServiceService = typeof AppServiceService;
10
+ export declare const AppServiceService: {
11
+ /**
12
+ * Starts a subscription for application events.
13
+ * @param request A request message with API preferences.
14
+ * @returns A stream of AppEventArgs messages.
15
+ */
16
+ readonly subscribeForEvents: {
17
+ readonly path: "/appservice.AppService/SubscribeForEvents";
18
+ readonly requestStream: false;
19
+ readonly responseStream: true;
20
+ readonly requestSerialize: (value: ApiPreferences) => Buffer;
21
+ readonly requestDeserialize: (value: Buffer) => ApiPreferences;
22
+ readonly responseSerialize: (value: AppEventArgs) => Buffer;
23
+ readonly responseDeserialize: (value: Buffer) => AppEventArgs;
24
+ };
25
+ /**
26
+ * Starts a subscription for log messages.
27
+ * @param request A request message with API preferences.
28
+ * @returns A stream of log messages.
29
+ */
30
+ readonly subscribeForLogMessages: {
31
+ readonly path: "/appservice.AppService/SubscribeForLogMessages";
32
+ readonly requestStream: false;
33
+ readonly responseStream: true;
34
+ readonly requestSerialize: (value: ApiPreferences) => Buffer;
35
+ readonly requestDeserialize: (value: Buffer) => ApiPreferences;
36
+ readonly responseSerialize: (value: LogMessages) => Buffer;
37
+ readonly responseDeserialize: (value: Buffer) => LogMessages;
38
+ };
39
+ /**
40
+ * Gets the current log level.
41
+ * @param request A request message with API preferences.
42
+ * @returns A response message with the current log level.
43
+ */
44
+ readonly getLogLevel: {
45
+ readonly path: "/appservice.AppService/GetLogLevel";
46
+ readonly requestStream: false;
47
+ readonly responseStream: false;
48
+ readonly requestSerialize: (value: ApiPreferences) => Buffer;
49
+ readonly requestDeserialize: (value: Buffer) => ApiPreferences;
50
+ readonly responseSerialize: (value: GetLogLevelResponse) => Buffer;
51
+ readonly responseDeserialize: (value: Buffer) => GetLogLevelResponse;
52
+ };
53
+ /**
54
+ * Sets a new log level.
55
+ * @param request A request message with the new log level.
56
+ * @returns An empty response message.
57
+ */
58
+ readonly setLogLevel: {
59
+ readonly path: "/appservice.AppService/SetLogLevel";
60
+ readonly requestStream: false;
61
+ readonly responseStream: false;
62
+ readonly requestSerialize: (value: SetLogLevelRequest) => Buffer;
63
+ readonly requestDeserialize: (value: Buffer) => SetLogLevelRequest;
64
+ readonly responseSerialize: (value: Empty) => Buffer;
65
+ readonly responseDeserialize: (value: Buffer) => Empty;
66
+ };
67
+ /**
68
+ * Asks the service to be shutdown.
69
+ * @param request A request message with API preferences.
70
+ * @returns An empty response message.
71
+ */
72
+ readonly shutdown: {
73
+ readonly path: "/appservice.AppService/Shutdown";
74
+ readonly requestStream: false;
75
+ readonly responseStream: false;
76
+ readonly requestSerialize: (value: ApiPreferences) => Buffer;
77
+ readonly requestDeserialize: (value: Buffer) => ApiPreferences;
78
+ readonly responseSerialize: (value: Empty) => Buffer;
79
+ readonly responseDeserialize: (value: Buffer) => Empty;
80
+ };
81
+ /**
82
+ * Asks the service to install a service extension.
83
+ * @param request A request message with a service extension .wasm-file.
84
+ * @returns An empty response message.
85
+ */
86
+ readonly installServiceExtension: {
87
+ readonly path: "/appservice.AppService/InstallServiceExtension";
88
+ readonly requestStream: false;
89
+ readonly responseStream: false;
90
+ readonly requestSerialize: (value: InstallServiceExtensionRequest) => Buffer;
91
+ readonly requestDeserialize: (value: Buffer) => InstallServiceExtensionRequest;
92
+ readonly responseSerialize: (value: Empty) => Buffer;
93
+ readonly responseDeserialize: (value: Buffer) => Empty;
94
+ };
95
+ /**
96
+ * Asks the service to uninstall a service extension.
97
+ * @param request A request message with a service extension name.
98
+ * @returns An empty response message.
99
+ */
100
+ readonly uninstallServiceExtension: {
101
+ readonly path: "/appservice.AppService/UninstallServiceExtension";
102
+ readonly requestStream: false;
103
+ readonly responseStream: false;
104
+ readonly requestSerialize: (value: UninstallServiceExtensionRequest) => Buffer;
105
+ readonly requestDeserialize: (value: Buffer) => UninstallServiceExtensionRequest;
106
+ readonly responseSerialize: (value: Empty) => Buffer;
107
+ readonly responseDeserialize: (value: Buffer) => Empty;
108
+ };
109
+ /**
110
+ * Gets a service extension's information.
111
+ * @param request A request message with a service extension .wasm-file or an installed extension's name.
112
+ * @returns A response message with the extension information.
113
+ */
114
+ readonly getServiceExtensionInfo: {
115
+ readonly path: "/appservice.AppService/GetServiceExtensionInfo";
116
+ readonly requestStream: false;
117
+ readonly responseStream: false;
118
+ readonly requestSerialize: (value: GetServiceExtensionInfoRequest) => Buffer;
119
+ readonly requestDeserialize: (value: Buffer) => GetServiceExtensionInfoRequest;
120
+ readonly responseSerialize: (value: GetServiceExtensionInfoResponse) => Buffer;
121
+ readonly responseDeserialize: (value: Buffer) => GetServiceExtensionInfoResponse;
122
+ };
123
+ /**
124
+ * Gets all registered licenses.
125
+ * @param request A request message with API preferences.
126
+ * @returns A response message with all registered licenses.
127
+ */
128
+ readonly getLicenses: {
129
+ readonly path: "/appservice.AppService/GetLicenses";
130
+ readonly requestStream: false;
131
+ readonly responseStream: false;
132
+ readonly requestSerialize: (value: ApiPreferences) => Buffer;
133
+ readonly requestDeserialize: (value: Buffer) => ApiPreferences;
134
+ readonly responseSerialize: (value: GetLicensesResponse) => Buffer;
135
+ readonly responseDeserialize: (value: Buffer) => GetLicensesResponse;
136
+ };
137
+ /**
138
+ * Asks the service to activate a license.
139
+ * @param request A request message with the license key.
140
+ * @returns A response message with license information.
141
+ */
142
+ readonly activateLicense: {
143
+ readonly path: "/appservice.AppService/ActivateLicense";
144
+ readonly requestStream: false;
145
+ readonly responseStream: false;
146
+ readonly requestSerialize: (value: ActivateLicenseRequest) => Buffer;
147
+ readonly requestDeserialize: (value: Buffer) => ActivateLicenseRequest;
148
+ readonly responseSerialize: (value: LicenseInformation) => Buffer;
149
+ readonly responseDeserialize: (value: Buffer) => LicenseInformation;
150
+ };
151
+ /**
152
+ * Asks the service to check a license.
153
+ * @param request A request message with the license key.
154
+ * @returns A response message with license information.
155
+ */
156
+ readonly checkLicense: {
157
+ readonly path: "/appservice.AppService/CheckLicense";
158
+ readonly requestStream: false;
159
+ readonly responseStream: false;
160
+ readonly requestSerialize: (value: ActivateLicenseRequest) => Buffer;
161
+ readonly requestDeserialize: (value: Buffer) => ActivateLicenseRequest;
162
+ readonly responseSerialize: (value: LicenseInformation) => Buffer;
163
+ readonly responseDeserialize: (value: Buffer) => LicenseInformation;
164
+ };
165
+ /**
166
+ * Asks the service for about information.
167
+ * @param request A request message with API preferences.
168
+ * @returns A response with about information.
169
+ */
170
+ readonly getAbout: {
171
+ readonly path: "/appservice.AppService/GetAbout";
172
+ readonly requestStream: false;
173
+ readonly responseStream: false;
174
+ readonly requestSerialize: (value: ApiPreferences) => Buffer;
175
+ readonly requestDeserialize: (value: Buffer) => ApiPreferences;
176
+ readonly responseSerialize: (value: AboutInformation) => Buffer;
177
+ readonly responseDeserialize: (value: Buffer) => AboutInformation;
178
+ };
179
+ };
180
+ export interface AppServiceServer extends UntypedServiceImplementation {
181
+ /**
182
+ * Starts a subscription for application events.
183
+ * @param request A request message with API preferences.
184
+ * @returns A stream of AppEventArgs messages.
185
+ */
186
+ subscribeForEvents: handleServerStreamingCall<ApiPreferences, AppEventArgs>;
187
+ /**
188
+ * Starts a subscription for log messages.
189
+ * @param request A request message with API preferences.
190
+ * @returns A stream of log messages.
191
+ */
192
+ subscribeForLogMessages: handleServerStreamingCall<ApiPreferences, LogMessages>;
193
+ /**
194
+ * Gets the current log level.
195
+ * @param request A request message with API preferences.
196
+ * @returns A response message with the current log level.
197
+ */
198
+ getLogLevel: handleUnaryCall<ApiPreferences, GetLogLevelResponse>;
199
+ /**
200
+ * Sets a new log level.
201
+ * @param request A request message with the new log level.
202
+ * @returns An empty response message.
203
+ */
204
+ setLogLevel: handleUnaryCall<SetLogLevelRequest, Empty>;
205
+ /**
206
+ * Asks the service to be shutdown.
207
+ * @param request A request message with API preferences.
208
+ * @returns An empty response message.
209
+ */
210
+ shutdown: handleUnaryCall<ApiPreferences, Empty>;
211
+ /**
212
+ * Asks the service to install a service extension.
213
+ * @param request A request message with a service extension .wasm-file.
214
+ * @returns An empty response message.
215
+ */
216
+ installServiceExtension: handleUnaryCall<InstallServiceExtensionRequest, Empty>;
217
+ /**
218
+ * Asks the service to uninstall a service extension.
219
+ * @param request A request message with a service extension name.
220
+ * @returns An empty response message.
221
+ */
222
+ uninstallServiceExtension: handleUnaryCall<UninstallServiceExtensionRequest, Empty>;
223
+ /**
224
+ * Gets a service extension's information.
225
+ * @param request A request message with a service extension .wasm-file or an installed extension's name.
226
+ * @returns A response message with the extension information.
227
+ */
228
+ getServiceExtensionInfo: handleUnaryCall<GetServiceExtensionInfoRequest, GetServiceExtensionInfoResponse>;
229
+ /**
230
+ * Gets all registered licenses.
231
+ * @param request A request message with API preferences.
232
+ * @returns A response message with all registered licenses.
233
+ */
234
+ getLicenses: handleUnaryCall<ApiPreferences, GetLicensesResponse>;
235
+ /**
236
+ * Asks the service to activate a license.
237
+ * @param request A request message with the license key.
238
+ * @returns A response message with license information.
239
+ */
240
+ activateLicense: handleUnaryCall<ActivateLicenseRequest, LicenseInformation>;
241
+ /**
242
+ * Asks the service to check a license.
243
+ * @param request A request message with the license key.
244
+ * @returns A response message with license information.
245
+ */
246
+ checkLicense: handleUnaryCall<ActivateLicenseRequest, LicenseInformation>;
247
+ /**
248
+ * Asks the service for about information.
249
+ * @param request A request message with API preferences.
250
+ * @returns A response with about information.
251
+ */
252
+ getAbout: handleUnaryCall<ApiPreferences, AboutInformation>;
253
+ }
254
+ export interface AppServiceClient extends Client {
255
+ /**
256
+ * Starts a subscription for application events.
257
+ * @param request A request message with API preferences.
258
+ * @returns A stream of AppEventArgs messages.
259
+ */
260
+ subscribeForEvents(request: ApiPreferences, options?: Partial<CallOptions>): ClientReadableStream<AppEventArgs>;
261
+ subscribeForEvents(request: ApiPreferences, metadata?: Metadata, options?: Partial<CallOptions>): ClientReadableStream<AppEventArgs>;
262
+ /**
263
+ * Starts a subscription for log messages.
264
+ * @param request A request message with API preferences.
265
+ * @returns A stream of log messages.
266
+ */
267
+ subscribeForLogMessages(request: ApiPreferences, options?: Partial<CallOptions>): ClientReadableStream<LogMessages>;
268
+ subscribeForLogMessages(request: ApiPreferences, metadata?: Metadata, options?: Partial<CallOptions>): ClientReadableStream<LogMessages>;
269
+ /**
270
+ * Gets the current log level.
271
+ * @param request A request message with API preferences.
272
+ * @returns A response message with the current log level.
273
+ */
274
+ getLogLevel(request: ApiPreferences, callback: (error: ServiceError | null, response: GetLogLevelResponse) => void): ClientUnaryCall;
275
+ getLogLevel(request: ApiPreferences, metadata: Metadata, callback: (error: ServiceError | null, response: GetLogLevelResponse) => void): ClientUnaryCall;
276
+ getLogLevel(request: ApiPreferences, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetLogLevelResponse) => void): ClientUnaryCall;
277
+ /**
278
+ * Sets a new log level.
279
+ * @param request A request message with the new log level.
280
+ * @returns An empty response message.
281
+ */
282
+ setLogLevel(request: SetLogLevelRequest, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
283
+ setLogLevel(request: SetLogLevelRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
284
+ setLogLevel(request: SetLogLevelRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
285
+ /**
286
+ * Asks the service to be shutdown.
287
+ * @param request A request message with API preferences.
288
+ * @returns An empty response message.
289
+ */
290
+ shutdown(request: ApiPreferences, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
291
+ shutdown(request: ApiPreferences, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
292
+ shutdown(request: ApiPreferences, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
293
+ /**
294
+ * Asks the service to install a service extension.
295
+ * @param request A request message with a service extension .wasm-file.
296
+ * @returns An empty response message.
297
+ */
298
+ installServiceExtension(request: InstallServiceExtensionRequest, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
299
+ installServiceExtension(request: InstallServiceExtensionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
300
+ installServiceExtension(request: InstallServiceExtensionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
301
+ /**
302
+ * Asks the service to uninstall a service extension.
303
+ * @param request A request message with a service extension name.
304
+ * @returns An empty response message.
305
+ */
306
+ uninstallServiceExtension(request: UninstallServiceExtensionRequest, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
307
+ uninstallServiceExtension(request: UninstallServiceExtensionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
308
+ uninstallServiceExtension(request: UninstallServiceExtensionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
309
+ /**
310
+ * Gets a service extension's information.
311
+ * @param request A request message with a service extension .wasm-file or an installed extension's name.
312
+ * @returns A response message with the extension information.
313
+ */
314
+ getServiceExtensionInfo(request: GetServiceExtensionInfoRequest, callback: (error: ServiceError | null, response: GetServiceExtensionInfoResponse) => void): ClientUnaryCall;
315
+ getServiceExtensionInfo(request: GetServiceExtensionInfoRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetServiceExtensionInfoResponse) => void): ClientUnaryCall;
316
+ getServiceExtensionInfo(request: GetServiceExtensionInfoRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetServiceExtensionInfoResponse) => void): ClientUnaryCall;
317
+ /**
318
+ * Gets all registered licenses.
319
+ * @param request A request message with API preferences.
320
+ * @returns A response message with all registered licenses.
321
+ */
322
+ getLicenses(request: ApiPreferences, callback: (error: ServiceError | null, response: GetLicensesResponse) => void): ClientUnaryCall;
323
+ getLicenses(request: ApiPreferences, metadata: Metadata, callback: (error: ServiceError | null, response: GetLicensesResponse) => void): ClientUnaryCall;
324
+ getLicenses(request: ApiPreferences, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetLicensesResponse) => void): ClientUnaryCall;
325
+ /**
326
+ * Asks the service to activate a license.
327
+ * @param request A request message with the license key.
328
+ * @returns A response message with license information.
329
+ */
330
+ activateLicense(request: ActivateLicenseRequest, callback: (error: ServiceError | null, response: LicenseInformation) => void): ClientUnaryCall;
331
+ activateLicense(request: ActivateLicenseRequest, metadata: Metadata, callback: (error: ServiceError | null, response: LicenseInformation) => void): ClientUnaryCall;
332
+ activateLicense(request: ActivateLicenseRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: LicenseInformation) => void): ClientUnaryCall;
333
+ /**
334
+ * Asks the service to check a license.
335
+ * @param request A request message with the license key.
336
+ * @returns A response message with license information.
337
+ */
338
+ checkLicense(request: ActivateLicenseRequest, callback: (error: ServiceError | null, response: LicenseInformation) => void): ClientUnaryCall;
339
+ checkLicense(request: ActivateLicenseRequest, metadata: Metadata, callback: (error: ServiceError | null, response: LicenseInformation) => void): ClientUnaryCall;
340
+ checkLicense(request: ActivateLicenseRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: LicenseInformation) => void): ClientUnaryCall;
341
+ /**
342
+ * Asks the service for about information.
343
+ * @param request A request message with API preferences.
344
+ * @returns A response with about information.
345
+ */
346
+ getAbout(request: ApiPreferences, callback: (error: ServiceError | null, response: AboutInformation) => void): ClientUnaryCall;
347
+ getAbout(request: ApiPreferences, metadata: Metadata, callback: (error: ServiceError | null, response: AboutInformation) => void): ClientUnaryCall;
348
+ getAbout(request: ApiPreferences, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: AboutInformation) => void): ClientUnaryCall;
349
+ }
350
+ export declare const AppServiceClient: {
351
+ new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): AppServiceClient;
352
+ service: typeof AppServiceService;
353
+ serviceName: string;
354
+ };
@@ -0,0 +1,33 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ import Long from "long";
3
+ /** A message to be included in all request messages to control the responses. */
4
+ export interface ApiPreferences {
5
+ /** The API version used by the client. */
6
+ version: string;
7
+ /** The preferred UI language. */
8
+ language: string;
9
+ /** The preferred numeric base for message identifiers and message data */
10
+ useHexNumericBase: boolean;
11
+ /** The current user. */
12
+ username: string;
13
+ }
14
+ export declare const ApiPreferences: MessageFns<ApiPreferences>;
15
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
16
+ type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
17
+ [K in keyof T]?: DeepPartial<T[K]>;
18
+ } : Partial<T>;
19
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
20
+ type Exact<P, I extends P> = P extends Builtin ? P : P & {
21
+ [K in keyof P]: Exact<P[K], I[K]>;
22
+ } & {
23
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
24
+ };
25
+ interface MessageFns<T> {
26
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
27
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
28
+ fromJSON(object: any): T;
29
+ toJSON(message: T): unknown;
30
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
31
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
32
+ }
33
+ export {};
@@ -0,0 +1,271 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ import Long from "long";
3
+ import { ApiPreferences } from "./common_params";
4
+ /** Possible CAN channel capacity flags. */
5
+ export declare enum CanChannelCap {
6
+ CAN_CHANNEL_CAP_UNSPECIFIED = 0,
7
+ /** CAN_CHANNEL_CAP_EXTENDED_CAN - Can use extended identifiers. */
8
+ CAN_CHANNEL_CAP_EXTENDED_CAN = 1,
9
+ /** CAN_CHANNEL_CAP_BUS_STATISTICS - Can report busload etc. */
10
+ CAN_CHANNEL_CAP_BUS_STATISTICS = 2,
11
+ /** CAN_CHANNEL_CAP_ERROR_COUNTERS - Can return error counters. */
12
+ CAN_CHANNEL_CAP_ERROR_COUNTERS = 3,
13
+ /** CAN_CHANNEL_CAP_GENERATE_ERROR - Can send error frames. */
14
+ CAN_CHANNEL_CAP_GENERATE_ERROR = 4,
15
+ /** CAN_CHANNEL_CAP_GENERATE_OVERLOAD - Can send CAN overload frame. */
16
+ CAN_CHANNEL_CAP_GENERATE_OVERLOAD = 5,
17
+ /** CAN_CHANNEL_CAP_TXREQUEST - Can report when a CAN message transmission is initiated. */
18
+ CAN_CHANNEL_CAP_TXREQUEST = 6,
19
+ /** CAN_CHANNEL_CAP_TXACKNOWLEDGE - Can report when a CAN messages has been transmitted. */
20
+ CAN_CHANNEL_CAP_TXACKNOWLEDGE = 7,
21
+ /** CAN_CHANNEL_CAP_VIRTUAL - Virtual CAN channel. */
22
+ CAN_CHANNEL_CAP_VIRTUAL = 8,
23
+ /** CAN_CHANNEL_CAP_SIMULATED - Simulated CAN channel. */
24
+ CAN_CHANNEL_CAP_SIMULATED = 9,
25
+ /** CAN_CHANNEL_CAP_CAN_FD - CAN-FD ISO compliant channel. */
26
+ CAN_CHANNEL_CAP_CAN_FD = 10,
27
+ /** CAN_CHANNEL_CAP_CAN_FD_NONISO - CAN-FD NON-ISO compliant channel. */
28
+ CAN_CHANNEL_CAP_CAN_FD_NONISO = 11,
29
+ /** CAN_CHANNEL_CAP_SILENT_MODE - Channel supports Silent mode. */
30
+ CAN_CHANNEL_CAP_SILENT_MODE = 12,
31
+ /** CAN_CHANNEL_CAP_SINGLE_SHOT - Channel supports Single Shot messages. */
32
+ CAN_CHANNEL_CAP_SINGLE_SHOT = 13,
33
+ /** CAN_CHANNEL_CAP_LOGGER - Channel has logger capabilities. */
34
+ CAN_CHANNEL_CAP_LOGGER = 14,
35
+ /** CAN_CHANNEL_CAP_REMOTE_ACCESS - Channel has remote capabilities. */
36
+ CAN_CHANNEL_CAP_REMOTE_ACCESS = 15,
37
+ /** CAN_CHANNEL_CAP_SCRIPT - Channel has script capabilities. */
38
+ CAN_CHANNEL_CAP_SCRIPT = 16,
39
+ /** CAN_CHANNEL_CAP_LIN_HYBRID - Channel has LIN capabilities. */
40
+ CAN_CHANNEL_CAP_LIN_HYBRID = 17,
41
+ /** CAN_CHANNEL_CAP_IO_API - Channel has IO API capabilities. */
42
+ CAN_CHANNEL_CAP_IO_API = 18,
43
+ /** CAN_CHANNEL_CAP_CANTEGRITY - Channel has CANtegrity capabilities. */
44
+ CAN_CHANNEL_CAP_CANTEGRITY = 19,
45
+ /** CAN_CHANNEL_CAP_EX_BUSPARAMS_TQ - Channel has BusParams TQ API. */
46
+ CAN_CHANNEL_CAP_EX_BUSPARAMS_TQ = 20,
47
+ UNRECOGNIZED = -1
48
+ }
49
+ export declare function canChannelCapFromJSON(object: any): CanChannelCap;
50
+ export declare function canChannelCapToJSON(object: CanChannelCap): string;
51
+ /** Possible protocols supported by a channel or device. */
52
+ export declare enum Protocols {
53
+ /** PROTOCOLS_UNSPECIFIED - No protocol is supported. */
54
+ PROTOCOLS_UNSPECIFIED = 0,
55
+ /** PROTOCOLS_CAN - CAN protocol. */
56
+ PROTOCOLS_CAN = 1,
57
+ /** PROTOCOLS_LIN - LIN protocol. */
58
+ PROTOCOLS_LIN = 2,
59
+ UNRECOGNIZED = -1
60
+ }
61
+ export declare function protocolsFromJSON(object: any): Protocols;
62
+ export declare function protocolsToJSON(object: Protocols): string;
63
+ /** Possible events. */
64
+ export declare enum DeviceEvent {
65
+ DEVICE_EVENT_UNSPECIFIED = 0,
66
+ /** DEVICE_EVENT_DEVICES_CHANGED - Raised when the Device collection has changed, will pass the new Device collection as event data */
67
+ DEVICE_EVENT_DEVICES_CHANGED = 1,
68
+ UNRECOGNIZED = -1
69
+ }
70
+ export declare function deviceEventFromJSON(object: any): DeviceEvent;
71
+ export declare function deviceEventToJSON(object: DeviceEvent): string;
72
+ /**
73
+ * CanBusParams is used for getting the channels bus params capacity and it can be used for
74
+ * setting up a correct bus speed configuration for a specific CAN channel.
75
+ *
76
+ * Constraints that must be fulfilled when opening channel in classic CAN Mode:
77
+ *
78
+ * tq = 1 + prop + phase1 + phase2
79
+ * tq >= 3
80
+ * sjw <= min(phase1, phase2)
81
+ * prescaler >= 1
82
+ *
83
+ * Constraints that must be fulfilled when opening channel in CAN FD Mode:
84
+ *
85
+ * arbitration.tq = 1 + arbitration.prop + arbitration.phase1 + arbitration.phase2
86
+ * arbitration.tq >= 3
87
+ * arbitration.sjw <= min(arbitration.phase1, arbitration.phase2)
88
+ * arbitration.prescaler >= 1 (<=2 will enable Transmitter Delay Compensation Mechanism)
89
+ *
90
+ * data.tq = 1 + data.phase1 + data.phase2
91
+ * data.tq >= 3
92
+ * data.sjw <= min(data.phase1, data.phase2)
93
+ * data.prop = 0
94
+ * data.prescaler = arbitration.prescaler
95
+ */
96
+ export interface CanBusParams {
97
+ tq: number;
98
+ phase1: number;
99
+ phase2: number;
100
+ sjw: number;
101
+ prop: number;
102
+ prescaler: number;
103
+ }
104
+ /** CAN channel bus parameter limits. */
105
+ export interface CanBusParamLimits {
106
+ arbitrationMin: CanBusParams | undefined;
107
+ arbitrationMax: CanBusParams | undefined;
108
+ dataMin: CanBusParams | undefined;
109
+ dataMax: CanBusParams | undefined;
110
+ isValid: boolean;
111
+ }
112
+ /** Bus speed information, used for listing available bus speed settings for CAN. */
113
+ export interface CanBusSpeedInfo {
114
+ /** The target bit rate (measured in bits per second). */
115
+ bitRate: number;
116
+ /** The actual bit rate (measured in bits per second). */
117
+ actualBitRate: number;
118
+ /** The bit rate error with these settings. */
119
+ bitRateError: number;
120
+ /** Time segment 1, that is, the number of quanta from (but not including) the Sync Segment to the sampling point. */
121
+ timeSegment1: number;
122
+ /** Time segment 2, that is, the number of quanta from the sampling point to the end of the bit. */
123
+ timeSegment2: number;
124
+ /** The sampling point in percentage of the bit. */
125
+ samplingPoint: number;
126
+ /** The number of sampling points, 1 or 3. */
127
+ numberOfSamplingPoints: number;
128
+ /** Possible max Synchronization Jump Width for this bus speed, allowed SJW is 1..max_sync_jump_width. */
129
+ maxSyncJumpWidth: number;
130
+ /** A text description of the bus speed. */
131
+ description: string;
132
+ }
133
+ /** Bus speed information, used for listing available bus speed settings for CAN FD. */
134
+ export interface CanFDBusSpeedInfo {
135
+ /** The arbitration bit rate (measured in bits per second). */
136
+ bitRate: number;
137
+ /** Time segment 1, that is, the number of quanta from (but not including) the Sync Segment to the sampling point. */
138
+ timeSegment1: number;
139
+ /** Time segment 2, that is, the number of quanta from the sampling point to the end of the bit. */
140
+ timeSegment2: number;
141
+ /** The sampling point in percentage of the bit. */
142
+ samplingPoint: number;
143
+ /** The number of sampling points, 1 or 3. */
144
+ numberOfSamplingPoints: number;
145
+ /** Possible max Synchronization Jump Width for this bus speed, allowed SJW is 1..max_sync_jump_width. */
146
+ maxSyncJumpWidth: number;
147
+ /** The used prescaler for this settings. */
148
+ prescaler: number;
149
+ /** A text description of the bus speed. */
150
+ description: string;
151
+ }
152
+ /** CAN FD bus speed combination, holds one arbitration phase speed together with available data phase speeds. */
153
+ export interface CanFDBusSpeedCombination {
154
+ busSpeedArbPhase: CanFDBusSpeedInfo | undefined;
155
+ busSpeedsDataPhase: CanFDBusSpeedInfo[];
156
+ }
157
+ /** CAN channel capacity. */
158
+ export interface CanChannelCapacity {
159
+ busParamLimits: CanBusParamLimits | undefined;
160
+ channelCaps: CanChannelCap[];
161
+ /** Maximum bitrate of the channel. Zero means no limit on bitrate. */
162
+ maxBitRate: number;
163
+ clockFrequency: number;
164
+ }
165
+ /** A channel of any type, could be CAN and/or LIN. */
166
+ export interface Channel {
167
+ channelNumber: number;
168
+ channelNumberOnDevice: number;
169
+ name: string;
170
+ protocols: Protocols[];
171
+ canChannelCapacity?: CanChannelCapacity | undefined;
172
+ }
173
+ /** A hardware device. */
174
+ export interface Device {
175
+ cardType: number;
176
+ cardNumber: number;
177
+ productCode: string;
178
+ serialNumber: string;
179
+ name: string;
180
+ protocols: Protocols[];
181
+ channels: Channel[];
182
+ }
183
+ export interface Devices {
184
+ items: Device[];
185
+ }
186
+ /** A request message to get all connected devices. */
187
+ export interface GetDevicesRequest {
188
+ preferences: ApiPreferences | undefined;
189
+ includeVirtual: boolean;
190
+ }
191
+ /** A response on the GetDevices request. */
192
+ export interface GetDevicesResponse {
193
+ devices: Device[];
194
+ }
195
+ /** A request message to get a CAN channel's available bus speeds. */
196
+ export interface GetCanChannelBusSpeedsRequest {
197
+ preferences: ApiPreferences | undefined;
198
+ channelNumber: number;
199
+ }
200
+ /** A response on GetCanChannelBusSpeeds request. */
201
+ export interface GetCanChannelBusSpeedsResponse {
202
+ /** Available bus speeds on classic CAN. */
203
+ availableBusSpeeds: CanBusSpeedInfo[];
204
+ /** Available bus speeds on CAN FD. */
205
+ availableBusSpeedsFd: CanFDBusSpeedCombination[];
206
+ }
207
+ /** A request message to get a CAN channel's classic CAN bus speeds for the specified bit rates. */
208
+ export interface GetClassicCanBusSpeedsRequest {
209
+ preferences: ApiPreferences | undefined;
210
+ channelNumber: number;
211
+ bitRates: number[];
212
+ }
213
+ /** A response on GetClassicCanBusSpeeds request request. */
214
+ export interface GetClassicCanBusSpeedsResponse {
215
+ /** Available bus speeds on classic CAN. */
216
+ availableBusSpeeds: CanBusSpeedInfo[];
217
+ }
218
+ /** A request message to get a CAN channel's CAN FD bus speeds for a given bit rate. */
219
+ export interface GetCanFdBusSpeedsRequest {
220
+ preferences: ApiPreferences | undefined;
221
+ channelNumber: number;
222
+ bitRatesArbitrationPhase: number[];
223
+ bitRatesDataPhase: number[];
224
+ }
225
+ /** A response on GetCanFdBusSpeeds request request. */
226
+ export interface GetCanFdBusSpeedsResponse {
227
+ /** Available bus speeds on CAN FD. */
228
+ availableBusSpeedsFd: CanFDBusSpeedCombination[];
229
+ }
230
+ /** Event arguments */
231
+ export interface DeviceEventArgs {
232
+ eventType: DeviceEvent;
233
+ devices?: Devices | undefined;
234
+ }
235
+ export declare const CanBusParams: MessageFns<CanBusParams>;
236
+ export declare const CanBusParamLimits: MessageFns<CanBusParamLimits>;
237
+ export declare const CanBusSpeedInfo: MessageFns<CanBusSpeedInfo>;
238
+ export declare const CanFDBusSpeedInfo: MessageFns<CanFDBusSpeedInfo>;
239
+ export declare const CanFDBusSpeedCombination: MessageFns<CanFDBusSpeedCombination>;
240
+ export declare const CanChannelCapacity: MessageFns<CanChannelCapacity>;
241
+ export declare const Channel: MessageFns<Channel>;
242
+ export declare const Device: MessageFns<Device>;
243
+ export declare const Devices: MessageFns<Devices>;
244
+ export declare const GetDevicesRequest: MessageFns<GetDevicesRequest>;
245
+ export declare const GetDevicesResponse: MessageFns<GetDevicesResponse>;
246
+ export declare const GetCanChannelBusSpeedsRequest: MessageFns<GetCanChannelBusSpeedsRequest>;
247
+ export declare const GetCanChannelBusSpeedsResponse: MessageFns<GetCanChannelBusSpeedsResponse>;
248
+ export declare const GetClassicCanBusSpeedsRequest: MessageFns<GetClassicCanBusSpeedsRequest>;
249
+ export declare const GetClassicCanBusSpeedsResponse: MessageFns<GetClassicCanBusSpeedsResponse>;
250
+ export declare const GetCanFdBusSpeedsRequest: MessageFns<GetCanFdBusSpeedsRequest>;
251
+ export declare const GetCanFdBusSpeedsResponse: MessageFns<GetCanFdBusSpeedsResponse>;
252
+ export declare const DeviceEventArgs: MessageFns<DeviceEventArgs>;
253
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
254
+ type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
255
+ [K in keyof T]?: DeepPartial<T[K]>;
256
+ } : Partial<T>;
257
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
258
+ type Exact<P, I extends P> = P extends Builtin ? P : P & {
259
+ [K in keyof P]: Exact<P[K], I[K]>;
260
+ } & {
261
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
262
+ };
263
+ interface MessageFns<T> {
264
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
265
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
266
+ fromJSON(object: any): T;
267
+ toJSON(message: T): unknown;
268
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
269
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
270
+ }
271
+ export {};