@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,154 @@
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 { ApiPreferences } from "./common_params";
3
+ import { DeviceEventArgs, GetCanChannelBusSpeedsRequest, GetCanChannelBusSpeedsResponse, GetCanFdBusSpeedsRequest, GetCanFdBusSpeedsResponse, GetClassicCanBusSpeedsRequest, GetClassicCanBusSpeedsResponse, GetDevicesRequest, GetDevicesResponse } from "./device_params";
4
+ /** The device service. This service is responsible for keeping track of all available devices. */
5
+ export type DeviceServiceService = typeof DeviceServiceService;
6
+ export declare const DeviceServiceService: {
7
+ /**
8
+ * Starts a subscription for device events.
9
+ * @param request A request message with API preferences.
10
+ * @returns A stream of DeviceEventArgs messages.
11
+ */
12
+ readonly subscribeForEvents: {
13
+ readonly path: "/deviceservice.DeviceService/SubscribeForEvents";
14
+ readonly requestStream: false;
15
+ readonly responseStream: true;
16
+ readonly requestSerialize: (value: ApiPreferences) => Buffer;
17
+ readonly requestDeserialize: (value: Buffer) => ApiPreferences;
18
+ readonly responseSerialize: (value: DeviceEventArgs) => Buffer;
19
+ readonly responseDeserialize: (value: Buffer) => DeviceEventArgs;
20
+ };
21
+ /**
22
+ * Gets all available devices.
23
+ * @param request A request message with API preferences.
24
+ * @returns A response message with all available devices.
25
+ */
26
+ readonly getDevices: {
27
+ readonly path: "/deviceservice.DeviceService/GetDevices";
28
+ readonly requestStream: false;
29
+ readonly responseStream: false;
30
+ readonly requestSerialize: (value: GetDevicesRequest) => Buffer;
31
+ readonly requestDeserialize: (value: Buffer) => GetDevicesRequest;
32
+ readonly responseSerialize: (value: GetDevicesResponse) => Buffer;
33
+ readonly responseDeserialize: (value: Buffer) => GetDevicesResponse;
34
+ };
35
+ /**
36
+ * Gets the possible CAN channel bus speeds.
37
+ * @param request A request message with information about the device to get bus speeds for.
38
+ * @returns A response message with the possible CAN channel bus speeds.
39
+ */
40
+ readonly getCanChannelBusSpeeds: {
41
+ readonly path: "/deviceservice.DeviceService/GetCanChannelBusSpeeds";
42
+ readonly requestStream: false;
43
+ readonly responseStream: false;
44
+ readonly requestSerialize: (value: GetCanChannelBusSpeedsRequest) => Buffer;
45
+ readonly requestDeserialize: (value: Buffer) => GetCanChannelBusSpeedsRequest;
46
+ readonly responseSerialize: (value: GetCanChannelBusSpeedsResponse) => Buffer;
47
+ readonly responseDeserialize: (value: Buffer) => GetCanChannelBusSpeedsResponse;
48
+ };
49
+ /**
50
+ * Gets the possible classic CAN bus speeds.
51
+ * @param request A request message with information about the device to get bus speeds for.
52
+ * @returns A response message with the possible classic CAN bus speeds.
53
+ */
54
+ readonly getClassicCanBusSpeeds: {
55
+ readonly path: "/deviceservice.DeviceService/GetClassicCanBusSpeeds";
56
+ readonly requestStream: false;
57
+ readonly responseStream: false;
58
+ readonly requestSerialize: (value: GetClassicCanBusSpeedsRequest) => Buffer;
59
+ readonly requestDeserialize: (value: Buffer) => GetClassicCanBusSpeedsRequest;
60
+ readonly responseSerialize: (value: GetClassicCanBusSpeedsResponse) => Buffer;
61
+ readonly responseDeserialize: (value: Buffer) => GetClassicCanBusSpeedsResponse;
62
+ };
63
+ /**
64
+ * Gets the possible CAN-FD bus speeds.
65
+ * @param request A request message with information about the device to get bus speeds for.
66
+ * @returns A response message with the possible CAN-FD bus speeds.
67
+ */
68
+ readonly getCanFdBusSpeeds: {
69
+ readonly path: "/deviceservice.DeviceService/GetCanFdBusSpeeds";
70
+ readonly requestStream: false;
71
+ readonly responseStream: true;
72
+ readonly requestSerialize: (value: GetCanFdBusSpeedsRequest) => Buffer;
73
+ readonly requestDeserialize: (value: Buffer) => GetCanFdBusSpeedsRequest;
74
+ readonly responseSerialize: (value: GetCanFdBusSpeedsResponse) => Buffer;
75
+ readonly responseDeserialize: (value: Buffer) => GetCanFdBusSpeedsResponse;
76
+ };
77
+ };
78
+ export interface DeviceServiceServer extends UntypedServiceImplementation {
79
+ /**
80
+ * Starts a subscription for device events.
81
+ * @param request A request message with API preferences.
82
+ * @returns A stream of DeviceEventArgs messages.
83
+ */
84
+ subscribeForEvents: handleServerStreamingCall<ApiPreferences, DeviceEventArgs>;
85
+ /**
86
+ * Gets all available devices.
87
+ * @param request A request message with API preferences.
88
+ * @returns A response message with all available devices.
89
+ */
90
+ getDevices: handleUnaryCall<GetDevicesRequest, GetDevicesResponse>;
91
+ /**
92
+ * Gets the possible CAN channel bus speeds.
93
+ * @param request A request message with information about the device to get bus speeds for.
94
+ * @returns A response message with the possible CAN channel bus speeds.
95
+ */
96
+ getCanChannelBusSpeeds: handleUnaryCall<GetCanChannelBusSpeedsRequest, GetCanChannelBusSpeedsResponse>;
97
+ /**
98
+ * Gets the possible classic CAN bus speeds.
99
+ * @param request A request message with information about the device to get bus speeds for.
100
+ * @returns A response message with the possible classic CAN bus speeds.
101
+ */
102
+ getClassicCanBusSpeeds: handleUnaryCall<GetClassicCanBusSpeedsRequest, GetClassicCanBusSpeedsResponse>;
103
+ /**
104
+ * Gets the possible CAN-FD bus speeds.
105
+ * @param request A request message with information about the device to get bus speeds for.
106
+ * @returns A response message with the possible CAN-FD bus speeds.
107
+ */
108
+ getCanFdBusSpeeds: handleServerStreamingCall<GetCanFdBusSpeedsRequest, GetCanFdBusSpeedsResponse>;
109
+ }
110
+ export interface DeviceServiceClient extends Client {
111
+ /**
112
+ * Starts a subscription for device events.
113
+ * @param request A request message with API preferences.
114
+ * @returns A stream of DeviceEventArgs messages.
115
+ */
116
+ subscribeForEvents(request: ApiPreferences, options?: Partial<CallOptions>): ClientReadableStream<DeviceEventArgs>;
117
+ subscribeForEvents(request: ApiPreferences, metadata?: Metadata, options?: Partial<CallOptions>): ClientReadableStream<DeviceEventArgs>;
118
+ /**
119
+ * Gets all available devices.
120
+ * @param request A request message with API preferences.
121
+ * @returns A response message with all available devices.
122
+ */
123
+ getDevices(request: GetDevicesRequest, callback: (error: ServiceError | null, response: GetDevicesResponse) => void): ClientUnaryCall;
124
+ getDevices(request: GetDevicesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetDevicesResponse) => void): ClientUnaryCall;
125
+ getDevices(request: GetDevicesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetDevicesResponse) => void): ClientUnaryCall;
126
+ /**
127
+ * Gets the possible CAN channel bus speeds.
128
+ * @param request A request message with information about the device to get bus speeds for.
129
+ * @returns A response message with the possible CAN channel bus speeds.
130
+ */
131
+ getCanChannelBusSpeeds(request: GetCanChannelBusSpeedsRequest, callback: (error: ServiceError | null, response: GetCanChannelBusSpeedsResponse) => void): ClientUnaryCall;
132
+ getCanChannelBusSpeeds(request: GetCanChannelBusSpeedsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCanChannelBusSpeedsResponse) => void): ClientUnaryCall;
133
+ getCanChannelBusSpeeds(request: GetCanChannelBusSpeedsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCanChannelBusSpeedsResponse) => void): ClientUnaryCall;
134
+ /**
135
+ * Gets the possible classic CAN bus speeds.
136
+ * @param request A request message with information about the device to get bus speeds for.
137
+ * @returns A response message with the possible classic CAN bus speeds.
138
+ */
139
+ getClassicCanBusSpeeds(request: GetClassicCanBusSpeedsRequest, callback: (error: ServiceError | null, response: GetClassicCanBusSpeedsResponse) => void): ClientUnaryCall;
140
+ getClassicCanBusSpeeds(request: GetClassicCanBusSpeedsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetClassicCanBusSpeedsResponse) => void): ClientUnaryCall;
141
+ getClassicCanBusSpeeds(request: GetClassicCanBusSpeedsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetClassicCanBusSpeedsResponse) => void): ClientUnaryCall;
142
+ /**
143
+ * Gets the possible CAN-FD bus speeds.
144
+ * @param request A request message with information about the device to get bus speeds for.
145
+ * @returns A response message with the possible CAN-FD bus speeds.
146
+ */
147
+ getCanFdBusSpeeds(request: GetCanFdBusSpeedsRequest, options?: Partial<CallOptions>): ClientReadableStream<GetCanFdBusSpeedsResponse>;
148
+ getCanFdBusSpeeds(request: GetCanFdBusSpeedsRequest, metadata?: Metadata, options?: Partial<CallOptions>): ClientReadableStream<GetCanFdBusSpeedsResponse>;
149
+ }
150
+ export declare const DeviceServiceClient: {
151
+ new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): DeviceServiceClient;
152
+ service: typeof DeviceServiceService;
153
+ serviceName: string;
154
+ };
@@ -0,0 +1,189 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ import Long from "long";
3
+ import { SignalDefinition } from "./signal_params";
4
+ /** Possible CAN frame flags. The flag value must match the canlib flag value. */
5
+ export declare enum CanFrameFlag {
6
+ CAN_FRAME_FLAG_UNSPECIFIED = 0,
7
+ CAN_FRAME_FLAG_RTR = 1,
8
+ CAN_FRAME_FLAG_STD = 2,
9
+ CAN_FRAME_FLAG_EXT = 4,
10
+ CAN_FRAME_FLAG_WAKEUP = 8,
11
+ CAN_FRAME_FLAG_NERR = 16,
12
+ CAN_FRAME_FLAG_ERROR_FRAME = 32,
13
+ CAN_FRAME_FLAG_TXACK = 64,
14
+ CAN_FRAME_FLAG_TXRQ = 128,
15
+ CAN_FRAME_FLAG_DELAY_MSG = 256,
16
+ CAN_FRAME_FLAG_LOCAL_TXACK = 268435456,
17
+ CAN_FRAME_FLAG_SINGLE_SHOT = 16777216,
18
+ CAN_FRAME_FLAG_TXNACK = 33554432,
19
+ CAN_FRAME_FLAG_ABL = 67108864,
20
+ CAN_FRAME_FLAG_FD_FDF = 65536,
21
+ CAN_FRAME_FLAG_FD_BRS = 131072,
22
+ CAN_FRAME_FLAG_FD_ESI = 262144,
23
+ CAN_FRAME_FLAG_ERR_HW_OVERRUN = 512,
24
+ CAN_FRAME_FLAG_ERR_SW_OVERRUN = 1024,
25
+ CAN_FRAME_FLAG_ERR_STUFF = 2048,
26
+ CAN_FRAME_FLAG_ERR_FORM = 4096,
27
+ CAN_FRAME_FLAG_ERR_CRC = 8192,
28
+ CAN_FRAME_FLAG_ERR_BIT0 = 16384,
29
+ CAN_FRAME_FLAG_ERR_BIT1 = 32768,
30
+ UNRECOGNIZED = -1
31
+ }
32
+ export declare function canFrameFlagFromJSON(object: any): CanFrameFlag;
33
+ export declare function canFrameFlagToJSON(object: CanFrameFlag): string;
34
+ /** Possible LIN frame flags. The flag value must match the linlib flag value. */
35
+ export declare enum LinFrameFlag {
36
+ LIN_FRAME_FLAG_UNSPECIFIED = 0,
37
+ LIN_FRAME_FLAG_TX = 1,
38
+ LIN_FRAME_FLAG_RX = 2,
39
+ LIN_FRAME_FLAG_WAKEUP_FRAME = 4,
40
+ LIN_FRAME_FLAG_NODATA = 8,
41
+ LIN_FRAME_FLAG_CSUM_ERROR = 16,
42
+ LIN_FRAME_FLAG_PARITY_ERROR = 32,
43
+ LIN_FRAME_FLAG_SYNCH_ERROR = 64,
44
+ LIN_FRAME_FLAG_BIT_ERROR = 128,
45
+ UNRECOGNIZED = -1
46
+ }
47
+ export declare function linFrameFlagFromJSON(object: any): LinFrameFlag;
48
+ export declare function linFrameFlagToJSON(object: LinFrameFlag): string;
49
+ /**
50
+ * A message holding a combination of CanFrameFlag enums.
51
+ * This is a work-around since it's not possible to use repeated fields as oneof fields.
52
+ */
53
+ export interface CanFrameFlags {
54
+ flags: CanFrameFlag[];
55
+ }
56
+ /**
57
+ * A message holding a combination of LinFrameFlag enums.
58
+ * This is a work-around since it's not possible to use repeated fields as oneof fields.
59
+ */
60
+ export interface LinFrameFlags {
61
+ flags: LinFrameFlag[];
62
+ }
63
+ /** A message that holds an extra frame property. */
64
+ export interface FramePropertyValue {
65
+ stringValue?: string | undefined;
66
+ doubleValue?: number | undefined;
67
+ }
68
+ /** A message that holds a signal's value. */
69
+ export interface SignalValue {
70
+ name: string;
71
+ qualifiedName: string;
72
+ unit: string;
73
+ stringValue?: string | undefined;
74
+ doubleValue?: number | undefined;
75
+ }
76
+ /** A message describing a frame. */
77
+ export interface Frame {
78
+ /** Identifier of the source node */
79
+ sourceId: string;
80
+ /** Name of the source node */
81
+ sourceName: string;
82
+ /** Identifier of the stream node */
83
+ streamId: string;
84
+ /** Frame identifier */
85
+ id: number;
86
+ /** Frame identifier */
87
+ messageName: string;
88
+ /** Frame data */
89
+ data: number[];
90
+ /** Timestamp in seconds when the frame was recieved or transmitted */
91
+ time: number;
92
+ /** Flag indicating if this message was transmitted or recieved */
93
+ tx: boolean;
94
+ /** Frame DLC */
95
+ dlc: number;
96
+ /** Frame hash code, a unique key that identifies the frame */
97
+ hashCode: number;
98
+ /** Extra properties */
99
+ properties: {
100
+ [key: string]: FramePropertyValue;
101
+ };
102
+ /** Signal values */
103
+ signalValues: SignalValue[];
104
+ /** Special CAN flags */
105
+ canFrameFlags?: CanFrameFlags | undefined;
106
+ /** Special LIN flags */
107
+ linFrameFlags?: LinFrameFlags | undefined;
108
+ }
109
+ export interface Frame_PropertiesEntry {
110
+ key: string;
111
+ value: FramePropertyValue | undefined;
112
+ }
113
+ export interface Frames {
114
+ items: Frame[];
115
+ }
116
+ /** A message describing a frame that will be used for writing message to a bus. */
117
+ export interface WriteFrame {
118
+ /** Frame identifier */
119
+ id: number;
120
+ /** Frame data, TODO: Why doesn't it work using bytes? */
121
+ data: number[];
122
+ /** Special CAN flags */
123
+ canFrameFlags?: CanFrameFlags | undefined;
124
+ /** Special LIN flags */
125
+ linFrameFlags?: LinFrameFlags | undefined;
126
+ }
127
+ /** A message describing a frame definition. */
128
+ export interface FrameDefinition {
129
+ /** Frame identifier */
130
+ id: number;
131
+ /** Message name */
132
+ messageName: string;
133
+ /** Message qualified name */
134
+ messageQualifiedName: string;
135
+ /** Signal definitions */
136
+ signals: SignalDefinition[];
137
+ /** Special CAN flags */
138
+ canFrameFlags?: CanFrameFlags | undefined;
139
+ }
140
+ export interface FrameDefinitions {
141
+ items: FrameDefinition[];
142
+ }
143
+ /** A message describing an entry in a schedule table. */
144
+ export interface ScheduleTableEntry {
145
+ /** Message qualified name */
146
+ messageQualifiedName: string;
147
+ /** Delay in milliseconds */
148
+ delay: number;
149
+ }
150
+ /** A message describing a schedule table. */
151
+ export interface ScheduleTable {
152
+ /** Name of the schedule table */
153
+ name: string;
154
+ /** Qualified name of the schedule table */
155
+ qualifiedName: string;
156
+ /** Schedule table entries */
157
+ entries: ScheduleTableEntry[];
158
+ }
159
+ export declare const CanFrameFlags: MessageFns<CanFrameFlags>;
160
+ export declare const LinFrameFlags: MessageFns<LinFrameFlags>;
161
+ export declare const FramePropertyValue: MessageFns<FramePropertyValue>;
162
+ export declare const SignalValue: MessageFns<SignalValue>;
163
+ export declare const Frame: MessageFns<Frame>;
164
+ export declare const Frame_PropertiesEntry: MessageFns<Frame_PropertiesEntry>;
165
+ export declare const Frames: MessageFns<Frames>;
166
+ export declare const WriteFrame: MessageFns<WriteFrame>;
167
+ export declare const FrameDefinition: MessageFns<FrameDefinition>;
168
+ export declare const FrameDefinitions: MessageFns<FrameDefinitions>;
169
+ export declare const ScheduleTableEntry: MessageFns<ScheduleTableEntry>;
170
+ export declare const ScheduleTable: MessageFns<ScheduleTable>;
171
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
172
+ 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 {} ? {
173
+ [K in keyof T]?: DeepPartial<T[K]>;
174
+ } : Partial<T>;
175
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
176
+ type Exact<P, I extends P> = P extends Builtin ? P : P & {
177
+ [K in keyof P]: Exact<P[K], I[K]>;
178
+ } & {
179
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
180
+ };
181
+ interface MessageFns<T> {
182
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
183
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
184
+ fromJSON(object: any): T;
185
+ toJSON(message: T): unknown;
186
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
187
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
188
+ }
189
+ export {};
@@ -0,0 +1,35 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ import Long from "long";
3
+ /**
4
+ * A generic empty message that you can re-use to avoid defining duplicated
5
+ * empty messages in your APIs. A typical example is to use it as the request
6
+ * or the response type of an API method. For instance:
7
+ *
8
+ * service Foo {
9
+ * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
10
+ * }
11
+ *
12
+ * The JSON representation for `Empty` is empty JSON object `{}`.
13
+ */
14
+ export interface Empty {
15
+ }
16
+ export declare const Empty: MessageFns<Empty>;
17
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
18
+ 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 {} ? {
19
+ [K in keyof T]?: DeepPartial<T[K]>;
20
+ } : Partial<T>;
21
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
22
+ type Exact<P, I extends P> = P extends Builtin ? P : P & {
23
+ [K in keyof P]: Exact<P[K], I[K]>;
24
+ } & {
25
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
26
+ };
27
+ interface MessageFns<T> {
28
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
29
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
30
+ fromJSON(object: any): T;
31
+ toJSON(message: T): unknown;
32
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
33
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
34
+ }
35
+ export {};