openc3-cosmos-tool-docs 5.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (432) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +729 -0
  3. data/README.md +42 -0
  4. data/Rakefile +42 -0
  5. data/plugin.txt +7 -0
  6. data/tools/docs/404.html +16 -0
  7. data/tools/docs/CNAME +1 -0
  8. data/tools/docs/assets/css/styles.7bc79028.css +1 -0
  9. data/tools/docs/assets/images/add_packet-f318d0e92e8a13bd56331350aa341c88c8b12f2c54a4424f6e287817f22fb327.png +0 -0
  10. data/tools/docs/assets/images/architecture-b78f12eba076a0c07af7abdd9dd4187c59aa6b4f5c51b47ad03f73e9f98a6ed6.png +0 -0
  11. data/tools/docs/assets/images/autonomic-3d6d152f700c8fc1878d0f952d013ace31fccd7872d28587dc761610a0959e9c.png +0 -0
  12. data/tools/docs/assets/images/bucket_explorer-983c087ee3bdcf8626219e782620b6c580fd82bfe2e8b0c662a0f90cdca43838.png +0 -0
  13. data/tools/docs/assets/images/calendar-9fbd635cf3df1ba684bb0c1ebc4f6ad34991efc582e9fd07820c8b74cbb66aa1.png +0 -0
  14. data/tools/docs/assets/images/checks_rb-a6049cdd99613cea2ee12d76fcfe798ff05270e39d208e93d37da7347049b2b3.png +0 -0
  15. data/tools/docs/assets/images/cmd_tlm_server-313e3f64afc0e374d9d28b46364235d7b793001f84690fc0ae90e1eefdd9142d.png +0 -0
  16. data/tools/docs/assets/images/command_sender-a0b113b65368263529d0f8f2d93276a0a44ed81af0d0100f56379346ba592928.png +0 -0
  17. data/tools/docs/assets/images/commands-3608d5c856fd34e771d1f9e69f9f449f52929249bdf4f0e7feed0aa2bd2d9fd7.png +0 -0
  18. data/tools/docs/assets/images/connecting-6e453f3d99800d4cb8fdc78f5b8fce1e8cf1bb04840a29dec7c5caefd07c004f.png +0 -0
  19. data/tools/docs/assets/images/data_extractor-62c5b1743ba9dfdff2e393bcbdf863c36effc5ef5319d845cfd17186bd757bca.png +0 -0
  20. data/tools/docs/assets/images/data_viewer-8c547cb5ad2ebd179aac5e46c2f4c147889ebad53a5359a5e6b6c580de7184fe.png +0 -0
  21. data/tools/docs/assets/images/date_chooser-10f7b740b9acc76604e5dc86fe409b6b777abe0fb3fa5ebf8f47cb1ac58b9676.png +0 -0
  22. data/tools/docs/assets/images/debug-04088348cc04bb8e1a1063fc44920dc8e39616840ef4b09a36c823f185c28669.png +0 -0
  23. data/tools/docs/assets/images/delete_all_mouseover-06083f3d3d712d39f21bc5eda45adbfff449732a2061e53cb1a0baf6c5f5d4b8.png +0 -0
  24. data/tools/docs/assets/images/delete_modified-a7ec0ceb61c37398d57fcecf11ebe2453ebd0110be6cfc960a5073a13a557638.png +0 -0
  25. data/tools/docs/assets/images/edit_all_items-2c57aff19d3b1ce52149c37f50dcaad8c30baa0c9931fdc629f1d163bb56ce96.png +0 -0
  26. data/tools/docs/assets/images/edit_all_mouseover-f6646df5320045ee10d4c0a15d0349fed6ede075f9cea6f9e449b3785c4f4f8d.png +0 -0
  27. data/tools/docs/assets/images/edit_graph-4ca61635376fae26cf5eb82fb9fd803f1a51c4d3584aaf9833a270b7916bf531.png +0 -0
  28. data/tools/docs/assets/images/edit_screen-5724ae13958c1631b3c187cf7cdb6dc9672ecd71f8b0786ac17c0266001edac3.png +0 -0
  29. data/tools/docs/assets/images/edit_temp1-7446e7c5b7869ccc9ddd467779fa86f44301a5e5896751b016a527587c483cb2.png +0 -0
  30. data/tools/docs/assets/images/file_menu-2fe13872737c0f3fef84ba5b58b80b609082733acce536ec1f56910c36f68299.png +0 -0
  31. data/tools/docs/assets/images/file_open-319761fd383fc513b3689ef0a7498c73ce9459a3967c8a395cc2da07c89240d0.png +0 -0
  32. data/tools/docs/assets/images/file_save_as-44468ed6a48bea3bc4fdd8f50d802569e4582b453e5bf946bfdcba400030d499.png +0 -0
  33. data/tools/docs/assets/images/four_graphs-826cf8145338fa46e037556df94c59aeb4448330b601953daa94c89de8494cfd.png +0 -0
  34. data/tools/docs/assets/images/graph_min_max-80a2bd83230c71b00ba9d6da24b8c32a09e4983976cdbf32c33d2680b534b106.png +0 -0
  35. data/tools/docs/assets/images/graph_temp1-de937a79b314cf856b783c936d2460a6c942bdd45e4d9b3fe488957df5bfa9bc.png +0 -0
  36. data/tools/docs/assets/images/graph_temp1_temp2-e96370f7d73a6cb68beaa92bcaaf18b72e6619ce948fe835762cca1048efbd18.png +0 -0
  37. data/tools/docs/assets/images/graph_temp1_time-fec5e99e3cc05ea87208abe9c4b66b63b7497bbefee55f65d034417e966b1c46.png +0 -0
  38. data/tools/docs/assets/images/handbooks-1d301c83c80a7cb96c548006f5139fe8ec967ed10a49df0142b37328cd987f33.png +0 -0
  39. data/tools/docs/assets/images/ignored-1e20d4ffe7fd88ffab610340957b1176294269f985e8fdb20a9af07d7a78215f.png +0 -0
  40. data/tools/docs/assets/images/inst_clear-5ecb859f06f14d91d2ebba27e5a7848d6393db5ad2357f95c12e776c45f6bc64.png +0 -0
  41. data/tools/docs/assets/images/inst_collect-4f4e453a6521b779e10c4d2be6a8b1acf15fcb083af0164b0df1de27ca250132.png +0 -0
  42. data/tools/docs/assets/images/inst_collect_hazardous-3aeabedb96bf114b4eb56b6b2ee7bcc601302ec8905a82a16c47ae7870f97978.png +0 -0
  43. data/tools/docs/assets/images/inst_collect_hazardous_history-952a6e6ff2fb1b5fdf2c6b3d84a3ccf9e303eeb310f35514dc4a6e95f2a7420e.png +0 -0
  44. data/tools/docs/assets/images/inst_collect_sent-0de429f724264ce8c52a6cb22d4bbb96f14e22b559c091ff4375bb59f124a7a2.png +0 -0
  45. data/tools/docs/assets/images/inst_collect_sent_3-91cf4e053d246917964330ab93534a0a5eb878b652e7ea879effca7c4eaefbea.png +0 -0
  46. data/tools/docs/assets/images/interface_read_logic-0deef27c1d2fec9de2a3720a3c9ecedb21a00dca7aabd13da0b8815c037e4c26.png +0 -0
  47. data/tools/docs/assets/images/interface_write_logic-3360afe1b4af20b10dafba848a21e09baccaacc06e2ec8b6c132ac7a3c99e994.png +0 -0
  48. data/tools/docs/assets/images/interfaces-5622abf50e3df63980661a48216bf71187f38cb636bd512f48917ca4a425f083.png +0 -0
  49. data/tools/docs/assets/images/items_table-2fc1bb4d03a2348c4af7df442e13cee2f310cf455228005d76cbfda7a706aa53.png +0 -0
  50. data/tools/docs/assets/images/items_table_raw-c4d454679c4503ec35710dcee6be5cd1940984595145b333d8604bc505dfe291.png +0 -0
  51. data/tools/docs/assets/images/items_table_temp1-ea091eaf8005cea839800f4514f72f94e9664993111b935f33e7c5aa3061ca64.png +0 -0
  52. data/tools/docs/assets/images/limits_monitor-c58d70daea7586b93d5069b9df068a90cea5f7cf2e51a445f3162bf3f66db3d0.png +0 -0
  53. data/tools/docs/assets/images/list_view-926f42bc1e43283c61616b0cd8fd630cad8e15c9b7298acd98536842472e673b.png +0 -0
  54. data/tools/docs/assets/images/log-ba64fd307e53adafae55fcea7eb31829ee1aacdf4aafe8b40b270b793be3aa27.png +0 -0
  55. data/tools/docs/assets/images/log_messages-19c3ce9c7ff86e43d459cb6591df8c05d25e1390d857728cb462a57b9d3ccc69.png +0 -0
  56. data/tools/docs/assets/images/log_messages-2cfad0fd6f6f980f69b5564a4b7ecfecf3331c6256c78bcfb2b084970db305ca.png +0 -0
  57. data/tools/docs/assets/images/minimized-59d0d8d8a179ff0475787e87237b77b24d59d78826d43dbc1a554a51380eb37f.png +0 -0
  58. data/tools/docs/assets/images/minimized-a658bd8f2115d3f9a386844e886de770b23bbf9c0c8c55a4ca587cea67ec320e.png +0 -0
  59. data/tools/docs/assets/images/minio-150460ac77a50711835de6f0150d019000e5515afae0f3adfcdda8e891484f47.png +0 -0
  60. data/tools/docs/assets/images/mouseover-95b774047b3c2ca23a3bc645caf75d90511c378729dd9cfb781510a1452e09fe.png +0 -0
  61. data/tools/docs/assets/images/new_screen-295720ec60219194c8c8dd64c755e8a188cc4a68c2b6cf66197b54514644d52a.png +0 -0
  62. data/tools/docs/assets/images/notifications-5b32d6619542431027ddd67491eb445469fa2d16fa8352a2b0917b9298b7bbb2.png +0 -0
  63. data/tools/docs/assets/images/open_config-2e61415a3c2d7a4ce427cf325f3708dd4a761092b7dd0c869279c4354dc34ae4.png +0 -0
  64. data/tools/docs/assets/images/open_config-3cd3be1ce4560d9e72bb37b83dc830149091dec9a088c36187e0e72660c6ec34.png +0 -0
  65. data/tools/docs/assets/images/open_config-55ef2f241d02047b252bb8201742f99cffed5680d0e9eb46b3cb53a644ca3dc9.png +0 -0
  66. data/tools/docs/assets/images/open_config-f848a8b371ae0ec31776834148e9f978d9be94efef03534e5ca3a59c0ae3847f.png +0 -0
  67. data/tools/docs/assets/images/packet_viewer-19c1015cc704a98d1f6d90dd0dadc13188d25f1d5d2e838b7cfb226e8c173c7b.png +0 -0
  68. data/tools/docs/assets/images/plugin-variables-5bc00c744182c9a9591e84cb3bbb1c4deb53ff22e05f62ce1b807c26bed782e5.png +0 -0
  69. data/tools/docs/assets/images/processing-b0c50908284739a76e1bbcfcb3eb34dc9446f8716117cb0e9089ad9df53ebed6.png +0 -0
  70. data/tools/docs/assets/images/project-fe7ac90f3e45971fca8f1be94be9dbabe494bafe705e7f8f485676e9d96e47ea.png +0 -0
  71. data/tools/docs/assets/images/project_update-8e7de3b0658b95d4d9931eb52ff8bf339d633cbdc273ce096eb11ceb357c009e.png +0 -0
  72. data/tools/docs/assets/images/raw_command-759d93759a73a6a3dd7e30f89fc4d1a544dfb6f7355abfed03897d404279161d.png +0 -0
  73. data/tools/docs/assets/images/raw_telemetry-ffeb6b603f9a9abbe0cb77afaaeb4b4f07dfee479682a5c9661f85589a679049.png +0 -0
  74. data/tools/docs/assets/images/raw_tlm_logs-8dcba4f020b36f8efbb793271b70d40d9cad627196afaeb5bf6f3931ed53fa52.png +0 -0
  75. data/tools/docs/assets/images/reactions-dd4a8ebf22eed921a82a5478d23178c62e2cf944d295c2b9e3f4d7ce555b0fcc.png +0 -0
  76. data/tools/docs/assets/images/reload_file-8e26cd3e1bc1eab7bb6c046d9a6a8231fcd76e56682d819b1e549182890c6486.png +0 -0
  77. data/tools/docs/assets/images/reloaded-9effa15527244928ee503eb0c3a48cc5e82c07cfb5d5c4300eacfcab913069d1.png +0 -0
  78. data/tools/docs/assets/images/running_scripts-78bfd36a6c8c7167234e03bd188e974927c2beea1f730498583169a81639e7a3.png +0 -0
  79. data/tools/docs/assets/images/save_config-0ae36ac1f8114665f2558e936ba3b30e5cba2a16cc01d3494e14ed689b4637f7.png +0 -0
  80. data/tools/docs/assets/images/save_config-8b028134b07c70d6de019825cbb328623fc485d72aad9ba5b1980246b316fec2.png +0 -0
  81. data/tools/docs/assets/images/save_config-e4ed80276ebdc2c4eaf9aaeb859cff8aecb380b22da8c659741c31ca66914098.png +0 -0
  82. data/tools/docs/assets/images/save_config-e748a338526ffd8f9e49def5c0d15f8a80cd987f40d210ff6c6d4b61b713555c.png +0 -0
  83. data/tools/docs/assets/images/script_error-ce060b3086e7b466e51a276fb6b27245b4d042f07a60fe121b0071dd65a42075.png +0 -0
  84. data/tools/docs/assets/images/script_runner-7d7f01b90be962b4de46c20568727c55488eec5d9844823b53a262c9cfc470fa.png +0 -0
  85. data/tools/docs/assets/images/script_suite-42832d936f91417740b76a39841996c8e4a7cf5391dbb19abe9d7b31ab07dd7d.png +0 -0
  86. data/tools/docs/assets/images/select_item-f063106a8d836656496ba81e7e7428f51bd8ab95aebab0aa4eb6ad41ed42e026.png +0 -0
  87. data/tools/docs/assets/images/select_packet-0b6d5a2b012445ab2bf0fd3e1545f015cd7787280d05d2bccb0a9c9220102529.png +0 -0
  88. data/tools/docs/assets/images/select_packet-be9d63c49f898cccb73f9e4b2b39c4b5879cead34a8ab2ede0bb08e953498e95.png +0 -0
  89. data/tools/docs/assets/images/select_target-71ebcab6cbefafd8958939130861a75f7544e99a043d90fa0734ec2f983d835f.png +0 -0
  90. data/tools/docs/assets/images/simple_screen-3c9d6d2366c716c03a301396a4ce0ea418532890f349d9bc9ebb8be90983a6e6.png +0 -0
  91. data/tools/docs/assets/images/status-80010882300d2f1c453fbc4cb35bdb1f06d3db578266dda95c56ea7ec230ac72.png +0 -0
  92. data/tools/docs/assets/images/table_manager-9a5357ce536102bc1bb0c859be552f4ac82f62e538935a3c45a8e76d4f9744db.png +0 -0
  93. data/tools/docs/assets/images/targets-d15296b133787be4997c3d5e7d43eec9030831f1758508a8f6a71d40d04478ce.png +0 -0
  94. data/tools/docs/assets/images/telemetry-3f1169fc67b3d2427047ba66a9b2f3ddf71f61edf498ee70d14e78f0ef3c1e3c.png +0 -0
  95. data/tools/docs/assets/images/telemetry_grapher-a96b7e0101f5e377a73a186683e967e79d748c5dff2dfed6ec0afcea5694d7c8.png +0 -0
  96. data/tools/docs/assets/images/telemetry_viewer-be6ee576f1efceb39c2f744889deb4c18f571c4922c69d5d0e5f49a653776a46.png +0 -0
  97. data/tools/docs/assets/images/temp1_details-f0b6e62bc28da18febacc936112735e1dbd5718ef675668f04d8b3e060d7f87a.png +0 -0
  98. data/tools/docs/assets/images/time_chooser-e4ca0705d5b97c3056b0de3ab7f71f8091482b9b2e8904e69866a43ce4e616f2.png +0 -0
  99. data/tools/docs/assets/images/timeline_lifecycle-0bd916dee06bf67936b043abfdbc4d5fdec7cc5a32a889ee6c05e9faf74f4c6a.png +0 -0
  100. data/tools/docs/assets/images/triggers-0b0b3f9cc2850c1b83b9a7aab6f8a936626fd847c3158e993e4baa0e64b38096.png +0 -0
  101. data/tools/docs/assets/images/two_full_height-7cf9d0bbdf0269ad85e312f6dcb77930e1e3c4319f9750968a9347fafcf26084.png +0 -0
  102. data/tools/docs/assets/images/two_full_width-db2d88c0e2e6fc417016f47e3bac0bf68374957d8fc014220f53870429ea1ef3.png +0 -0
  103. data/tools/docs/assets/images/view_portal-b2e5fef00be80f1551b965d170fc3cd8ed95597f0a1e475a8177ab2d306215f5.png +0 -0
  104. data/tools/docs/assets/images/view_portal_add-56f06135fc56f1fa85cbc22ea3b7ad52f311641aad25df08b6f4a6f979b30e3f.png +0 -0
  105. data/tools/docs/assets/js/019369f3.bb600de8.js +1 -0
  106. data/tools/docs/assets/js/058ffc22.ce27f074.js +1 -0
  107. data/tools/docs/assets/js/0686a885.5fe3bfd4.js +1 -0
  108. data/tools/docs/assets/js/078dbab0.0a98e0c9.js +1 -0
  109. data/tools/docs/assets/js/0f5d161c.3a7b00e4.js +1 -0
  110. data/tools/docs/assets/js/0ff569c9.930bab08.js +1 -0
  111. data/tools/docs/assets/js/103cc3be.451dd416.js +1 -0
  112. data/tools/docs/assets/js/1131.f9e1547d.js +1 -0
  113. data/tools/docs/assets/js/13196248.1be5ac81.js +1 -0
  114. data/tools/docs/assets/js/13c1b4e4.ad24c4f6.js +1 -0
  115. data/tools/docs/assets/js/15a39a64.4138456c.js +1 -0
  116. data/tools/docs/assets/js/2029.9e268a82.js +1 -0
  117. data/tools/docs/assets/js/2047b354.7995865f.js +1 -0
  118. data/tools/docs/assets/js/22b3ac48.73a6c979.js +1 -0
  119. data/tools/docs/assets/js/2846.a87f3fc4.js +1 -0
  120. data/tools/docs/assets/js/2923e883.0cbdcbc5.js +1 -0
  121. data/tools/docs/assets/js/3477.783e2e37.js +2 -0
  122. data/tools/docs/assets/js/3477.783e2e37.js.LICENSE.txt +61 -0
  123. data/tools/docs/assets/js/3dd7ef3b.8f77876c.js +1 -0
  124. data/tools/docs/assets/js/3df159b4.dded3e78.js +1 -0
  125. data/tools/docs/assets/js/40365d27.9322abd8.js +1 -0
  126. data/tools/docs/assets/js/411898ad.a1d949a2.js +1 -0
  127. data/tools/docs/assets/js/42170351.46c774f8.js +1 -0
  128. data/tools/docs/assets/js/43652efd.cbac4bc0.js +1 -0
  129. data/tools/docs/assets/js/5109.6a372217.js +1 -0
  130. data/tools/docs/assets/js/54d0d530.e9c8193b.js +1 -0
  131. data/tools/docs/assets/js/5bc719f6.fce76244.js +1 -0
  132. data/tools/docs/assets/js/5c6ce5ec.f909714f.js +1 -0
  133. data/tools/docs/assets/js/5e3ed378.cdfe0362.js +1 -0
  134. data/tools/docs/assets/js/5fe211ef.809c3f96.js +1 -0
  135. data/tools/docs/assets/js/6831b732.735c11e9.js +1 -0
  136. data/tools/docs/assets/js/696b4199.ff9185d0.js +1 -0
  137. data/tools/docs/assets/js/6b210247.248680ef.js +1 -0
  138. data/tools/docs/assets/js/6b65133b.2144fb1b.js +1 -0
  139. data/tools/docs/assets/js/6f92e431.608f28e7.js +1 -0
  140. data/tools/docs/assets/js/72c6d8a8.062b7650.js +1 -0
  141. data/tools/docs/assets/js/75e64983.d42f03f8.js +1 -0
  142. data/tools/docs/assets/js/7efc9fb0.6164fbad.js +1 -0
  143. data/tools/docs/assets/js/867640d5.28196e2c.js +1 -0
  144. data/tools/docs/assets/js/89e76475.5131b624.js +1 -0
  145. data/tools/docs/assets/js/8f7843ee.69e537b0.js +1 -0
  146. data/tools/docs/assets/js/9424f0b3.73086bed.js +1 -0
  147. data/tools/docs/assets/js/97535711.c7556831.js +1 -0
  148. data/tools/docs/assets/js/99581c43.30aef54d.js +1 -0
  149. data/tools/docs/assets/js/9d6e81d0.84fe3bb3.js +1 -0
  150. data/tools/docs/assets/js/9fb6059a.dc4760ab.js +1 -0
  151. data/tools/docs/assets/js/a182b3b3.25afec82.js +1 -0
  152. data/tools/docs/assets/js/a507c363.71a89240.js +1 -0
  153. data/tools/docs/assets/js/a677c089.2ec103f7.js +1 -0
  154. data/tools/docs/assets/js/a9987364.de63d165.js +1 -0
  155. data/tools/docs/assets/js/aa6b6c1b.6b24256f.js +1 -0
  156. data/tools/docs/assets/js/ada50b5c.1c75d3de.js +1 -0
  157. data/tools/docs/assets/js/b4596165.ab1c689f.js +1 -0
  158. data/tools/docs/assets/js/b6d70f94.ec27318b.js +1 -0
  159. data/tools/docs/assets/js/b9f60ba6.bb514133.js +1 -0
  160. data/tools/docs/assets/js/bd0034eb.0c60929d.js +1 -0
  161. data/tools/docs/assets/js/c24eae19.12176204.js +1 -0
  162. data/tools/docs/assets/js/cb8c3f08.762bb287.js +1 -0
  163. data/tools/docs/assets/js/cd879be4.3641a5cb.js +1 -0
  164. data/tools/docs/assets/js/d1b923aa.bf4b0c9e.js +1 -0
  165. data/tools/docs/assets/js/d24bf9b6.6ed3b576.js +1 -0
  166. data/tools/docs/assets/js/d370d7a7.28ef1aad.js +1 -0
  167. data/tools/docs/assets/js/d57a4b5d.017675ee.js +1 -0
  168. data/tools/docs/assets/js/d5d77c37.f472b18b.js +1 -0
  169. data/tools/docs/assets/js/d5f295fb.e008c3ec.js +1 -0
  170. data/tools/docs/assets/js/d797a795.9243eac2.js +1 -0
  171. data/tools/docs/assets/js/d7c988eb.2670948e.js +1 -0
  172. data/tools/docs/assets/js/d8ca4191.717db664.js +1 -0
  173. data/tools/docs/assets/js/d9b92eba.5eff70b2.js +1 -0
  174. data/tools/docs/assets/js/db8fa1d0.85784608.js +1 -0
  175. data/tools/docs/assets/js/dc5f7beb.120c148d.js +1 -0
  176. data/tools/docs/assets/js/e501b0d1.ae564e73.js +1 -0
  177. data/tools/docs/assets/js/f15615f1.3126a842.js +1 -0
  178. data/tools/docs/assets/js/fd886806.d2d0bdf4.js +1 -0
  179. data/tools/docs/assets/js/main.b5a535c2.js +2 -0
  180. data/tools/docs/assets/js/main.b5a535c2.js.LICENSE.txt +70 -0
  181. data/tools/docs/assets/js/runtime~main.e3a6c705.js +1 -0
  182. data/tools/docs/docs/configuration/command.html +40 -0
  183. data/tools/docs/docs/configuration/format.html +16 -0
  184. data/tools/docs/docs/configuration/interfaces.html +16 -0
  185. data/tools/docs/docs/configuration/plugins.html +17 -0
  186. data/tools/docs/docs/configuration/protocols.html +23 -0
  187. data/tools/docs/docs/configuration/ssl-tls.html +17 -0
  188. data/tools/docs/docs/configuration/table.html +30 -0
  189. data/tools/docs/docs/configuration/target.html +16 -0
  190. data/tools/docs/docs/configuration/telemetry-screens.html +36 -0
  191. data/tools/docs/docs/configuration/telemetry.html +16 -0
  192. data/tools/docs/docs/configuration.html +16 -0
  193. data/tools/docs/docs/development/curl.html +16 -0
  194. data/tools/docs/docs/development/developing.html +19 -0
  195. data/tools/docs/docs/development/host-install.html +16 -0
  196. data/tools/docs/docs/development/json-api.html +16 -0
  197. data/tools/docs/docs/development/log-structure.html +17 -0
  198. data/tools/docs/docs/development/roadmap.html +16 -0
  199. data/tools/docs/docs/development/streaming-api.html +18 -0
  200. data/tools/docs/docs/development/testing.html +16 -0
  201. data/tools/docs/docs/development.html +16 -0
  202. data/tools/docs/docs/getting-started/gettingstarted.html +16 -0
  203. data/tools/docs/docs/getting-started/installation.html +18 -0
  204. data/tools/docs/docs/getting-started/podman.html +18 -0
  205. data/tools/docs/docs/getting-started/requirements.html +16 -0
  206. data/tools/docs/docs/getting-started/upgrading.html +16 -0
  207. data/tools/docs/docs/getting-started.html +16 -0
  208. data/tools/docs/docs/guides/bridges.html +23 -0
  209. data/tools/docs/docs/guides/cfs.html +46 -0
  210. data/tools/docs/docs/guides/custom-widgets.html +16 -0
  211. data/tools/docs/docs/guides/little-endian-bitfields.html +16 -0
  212. data/tools/docs/docs/guides/local-mode.html +16 -0
  213. data/tools/docs/docs/guides/logging.html +16 -0
  214. data/tools/docs/docs/guides/monitoring.html +16 -0
  215. data/tools/docs/docs/guides/performance.html +16 -0
  216. data/tools/docs/docs/guides/raspberrypi.html +16 -0
  217. data/tools/docs/docs/guides/script-writing.html +18 -0
  218. data/tools/docs/docs/guides/scripting-api.html +17 -0
  219. data/tools/docs/docs/guides.html +16 -0
  220. data/tools/docs/docs/meta/contributing.html +20 -0
  221. data/tools/docs/docs/meta/philosophy.html +16 -0
  222. data/tools/docs/docs/meta/xtce.html +16 -0
  223. data/tools/docs/docs/meta.html +16 -0
  224. data/tools/docs/docs/privacy.html +23 -0
  225. data/tools/docs/docs/tools/autonomic.html +16 -0
  226. data/tools/docs/docs/tools/bucket-explorer.html +16 -0
  227. data/tools/docs/docs/tools/calendar.html +16 -0
  228. data/tools/docs/docs/tools/cmd-sender.html +16 -0
  229. data/tools/docs/docs/tools/cmd-tlm-server.html +17 -0
  230. data/tools/docs/docs/tools/data-extractor.html +16 -0
  231. data/tools/docs/docs/tools/data-viewer.html +16 -0
  232. data/tools/docs/docs/tools/handbooks.html +16 -0
  233. data/tools/docs/docs/tools/limits-monitor.html +16 -0
  234. data/tools/docs/docs/tools/packet-viewer.html +16 -0
  235. data/tools/docs/docs/tools/script-runner.html +16 -0
  236. data/tools/docs/docs/tools/table-manager.html +16 -0
  237. data/tools/docs/docs/tools/tlm-grapher.html +16 -0
  238. data/tools/docs/docs/tools/tlm-viewer.html +17 -0
  239. data/tools/docs/docs/tools.html +16 -0
  240. data/tools/docs/docs/v5/bridges/index.html +11 -0
  241. data/tools/docs/docs/v5/bucket-explorer/index.html +11 -0
  242. data/tools/docs/docs/v5/calendar/index.html +11 -0
  243. data/tools/docs/docs/v5/cfs/index.html +11 -0
  244. data/tools/docs/docs/v5/cmd-sender/index.html +11 -0
  245. data/tools/docs/docs/v5/cmd-tlm-server/index.html +11 -0
  246. data/tools/docs/docs/v5/command/index.html +11 -0
  247. data/tools/docs/docs/v5/contributing/index.html +11 -0
  248. data/tools/docs/docs/v5/custom-widgets/index.html +11 -0
  249. data/tools/docs/docs/v5/data-extractor/index.html +11 -0
  250. data/tools/docs/docs/v5/data-viewer/index.html +11 -0
  251. data/tools/docs/docs/v5/development/index.html +11 -0
  252. data/tools/docs/docs/v5/format/index.html +11 -0
  253. data/tools/docs/docs/v5/gettingstarted/index.html +11 -0
  254. data/tools/docs/docs/v5/handbooks/index.html +11 -0
  255. data/tools/docs/docs/v5/host-install/index.html +11 -0
  256. data/tools/docs/docs/v5/index.html +11 -0
  257. data/tools/docs/docs/v5/installation/index.html +11 -0
  258. data/tools/docs/docs/v5/interfaces/index.html +11 -0
  259. data/tools/docs/docs/v5/json-api/index.html +11 -0
  260. data/tools/docs/docs/v5/limits-monitor/index.html +11 -0
  261. data/tools/docs/docs/v5/little-endian-bitfields/index.html +11 -0
  262. data/tools/docs/docs/v5/local-mode/index.html +11 -0
  263. data/tools/docs/docs/v5/log-structure/index.html +11 -0
  264. data/tools/docs/docs/v5/logging/index.html +11 -0
  265. data/tools/docs/docs/v5/monitoring/index.html +11 -0
  266. data/tools/docs/docs/v5/packet-viewer/index.html +11 -0
  267. data/tools/docs/docs/v5/performance/index.html +11 -0
  268. data/tools/docs/docs/v5/philosophy/index.html +11 -0
  269. data/tools/docs/docs/v5/plugins/index.html +11 -0
  270. data/tools/docs/docs/v5/podman/index.html +11 -0
  271. data/tools/docs/docs/v5/protocols/index.html +11 -0
  272. data/tools/docs/docs/v5/raspberrypi/index.html +11 -0
  273. data/tools/docs/docs/v5/requirements/index.html +11 -0
  274. data/tools/docs/docs/v5/roadmap/index.html +11 -0
  275. data/tools/docs/docs/v5/script-runner/index.html +11 -0
  276. data/tools/docs/docs/v5/script-writing/index.html +11 -0
  277. data/tools/docs/docs/v5/scripting-api/index.html +11 -0
  278. data/tools/docs/docs/v5/ssl-tls/index.html +11 -0
  279. data/tools/docs/docs/v5/streaming-api/index.html +11 -0
  280. data/tools/docs/docs/v5/table/index.html +11 -0
  281. data/tools/docs/docs/v5/table-manager/index.html +11 -0
  282. data/tools/docs/docs/v5/target/index.html +11 -0
  283. data/tools/docs/docs/v5/telemetry/index.html +11 -0
  284. data/tools/docs/docs/v5/telemetry-screens/index.html +11 -0
  285. data/tools/docs/docs/v5/testing/index.html +11 -0
  286. data/tools/docs/docs/v5/tlm-grapher/index.html +11 -0
  287. data/tools/docs/docs/v5/tlm-viewer/index.html +11 -0
  288. data/tools/docs/docs/v5/tools/index.html +11 -0
  289. data/tools/docs/docs/v5/upgrading/index.html +11 -0
  290. data/tools/docs/docs/v5/xtce/index.html +11 -0
  291. data/tools/docs/docs.html +25 -0
  292. data/tools/docs/img/BCT.png +0 -0
  293. data/tools/docs/img/OpenC3.png +0 -0
  294. data/tools/docs/img/article-footer.png +0 -0
  295. data/tools/docs/img/ball.jpg +0 -0
  296. data/tools/docs/img/black_logo.svg +25 -0
  297. data/tools/docs/img/captech.gif +0 -0
  298. data/tools/docs/img/docusaurus-social-card.jpg +0 -0
  299. data/tools/docs/img/docusaurus.png +0 -0
  300. data/tools/docs/img/favicon.png +0 -0
  301. data/tools/docs/img/footer-logo.png +0 -0
  302. data/tools/docs/img/interface_read_logic.png +0 -0
  303. data/tools/docs/img/interface_write_logic.png +0 -0
  304. data/tools/docs/img/johnh.gif +0 -0
  305. data/tools/docs/img/lockheed.png +0 -0
  306. data/tools/docs/img/logo.svg +7 -0
  307. data/tools/docs/img/nasa.gif +0 -0
  308. data/tools/docs/img/sdlusu.gif +0 -0
  309. data/tools/docs/img/v5/architecture.png +0 -0
  310. data/tools/docs/img/v5/autonomic/autonomic.png +0 -0
  311. data/tools/docs/img/v5/autonomic/reactions.png +0 -0
  312. data/tools/docs/img/v5/autonomic/triggers.png +0 -0
  313. data/tools/docs/img/v5/bucket_explorer/bucket_explorer.png +0 -0
  314. data/tools/docs/img/v5/calendar/calendar.png +0 -0
  315. data/tools/docs/img/v5/calendar/list_view.png +0 -0
  316. data/tools/docs/img/v5/calendar/timeline_lifecycle.png +0 -0
  317. data/tools/docs/img/v5/cmd_tlm_server/cmd_tlm_server.png +0 -0
  318. data/tools/docs/img/v5/cmd_tlm_server/commands.png +0 -0
  319. data/tools/docs/img/v5/cmd_tlm_server/file_menu.png +0 -0
  320. data/tools/docs/img/v5/cmd_tlm_server/interfaces.png +0 -0
  321. data/tools/docs/img/v5/cmd_tlm_server/log_messages.png +0 -0
  322. data/tools/docs/img/v5/cmd_tlm_server/raw_command.png +0 -0
  323. data/tools/docs/img/v5/cmd_tlm_server/raw_telemetry.png +0 -0
  324. data/tools/docs/img/v5/cmd_tlm_server/routers.png +0 -0
  325. data/tools/docs/img/v5/cmd_tlm_server/status.png +0 -0
  326. data/tools/docs/img/v5/cmd_tlm_server/targets.png +0 -0
  327. data/tools/docs/img/v5/cmd_tlm_server/telemetry.png +0 -0
  328. data/tools/docs/img/v5/command_sender/command_sender.png +0 -0
  329. data/tools/docs/img/v5/command_sender/inst_clear.png +0 -0
  330. data/tools/docs/img/v5/command_sender/inst_collect.png +0 -0
  331. data/tools/docs/img/v5/command_sender/inst_collect_hazardous.png +0 -0
  332. data/tools/docs/img/v5/command_sender/inst_collect_hazardous_history.png +0 -0
  333. data/tools/docs/img/v5/command_sender/inst_collect_sent.png +0 -0
  334. data/tools/docs/img/v5/command_sender/inst_collect_sent_3.png +0 -0
  335. data/tools/docs/img/v5/command_sender/mode_menu.png +0 -0
  336. data/tools/docs/img/v5/contact/jason.png +0 -0
  337. data/tools/docs/img/v5/contact/ryan.jpeg +0 -0
  338. data/tools/docs/img/v5/data_extractor/data_extractor.png +0 -0
  339. data/tools/docs/img/v5/data_extractor/date_chooser.png +0 -0
  340. data/tools/docs/img/v5/data_extractor/delete_all_mouseover.png +0 -0
  341. data/tools/docs/img/v5/data_extractor/download.png +0 -0
  342. data/tools/docs/img/v5/data_extractor/edit_all_items.png +0 -0
  343. data/tools/docs/img/v5/data_extractor/edit_all_mouseover.png +0 -0
  344. data/tools/docs/img/v5/data_extractor/edit_temp1.png +0 -0
  345. data/tools/docs/img/v5/data_extractor/file_menu.png +0 -0
  346. data/tools/docs/img/v5/data_extractor/items_table.png +0 -0
  347. data/tools/docs/img/v5/data_extractor/items_table_raw.png +0 -0
  348. data/tools/docs/img/v5/data_extractor/items_table_temp1.png +0 -0
  349. data/tools/docs/img/v5/data_extractor/mode_menu.png +0 -0
  350. data/tools/docs/img/v5/data_extractor/open_config.png +0 -0
  351. data/tools/docs/img/v5/data_extractor/processing.png +0 -0
  352. data/tools/docs/img/v5/data_extractor/save_config.png +0 -0
  353. data/tools/docs/img/v5/data_extractor/select_item.png +0 -0
  354. data/tools/docs/img/v5/data_extractor/select_packet.png +0 -0
  355. data/tools/docs/img/v5/data_extractor/select_target.png +0 -0
  356. data/tools/docs/img/v5/data_extractor/time_chooser.png +0 -0
  357. data/tools/docs/img/v5/data_viewer/add_packet.png +0 -0
  358. data/tools/docs/img/v5/data_viewer/data_viewer.png +0 -0
  359. data/tools/docs/img/v5/data_viewer/file_menu.png +0 -0
  360. data/tools/docs/img/v5/data_viewer/open_config.png +0 -0
  361. data/tools/docs/img/v5/data_viewer/rename_tab.png +0 -0
  362. data/tools/docs/img/v5/data_viewer/save_config.png +0 -0
  363. data/tools/docs/img/v5/data_viewer/tab_right_click.png +0 -0
  364. data/tools/docs/img/v5/data_viewer/view_portal.png +0 -0
  365. data/tools/docs/img/v5/data_viewer/view_portal_add.png +0 -0
  366. data/tools/docs/img/v5/guides/local_mode/delete_modified.png +0 -0
  367. data/tools/docs/img/v5/guides/local_mode/minio.png +0 -0
  368. data/tools/docs/img/v5/guides/local_mode/project.png +0 -0
  369. data/tools/docs/img/v5/guides/local_mode/project_update.png +0 -0
  370. data/tools/docs/img/v5/guides/local_mode/reload_file.png +0 -0
  371. data/tools/docs/img/v5/guides/local_mode/reloaded.png +0 -0
  372. data/tools/docs/img/v5/guides/logging/browser.png +0 -0
  373. data/tools/docs/img/v5/guides/logging/log_messages.png +0 -0
  374. data/tools/docs/img/v5/guides/logging/notifications.png +0 -0
  375. data/tools/docs/img/v5/guides/logging/raw_tlm_logs.png +0 -0
  376. data/tools/docs/img/v5/guides/plugin-variables.png +0 -0
  377. data/tools/docs/img/v5/guides/simple_screen.png +0 -0
  378. data/tools/docs/img/v5/handbooks/handbooks.png +0 -0
  379. data/tools/docs/img/v5/limits_monitor/ignored.png +0 -0
  380. data/tools/docs/img/v5/limits_monitor/limits_monitor.png +0 -0
  381. data/tools/docs/img/v5/limits_monitor/log.png +0 -0
  382. data/tools/docs/img/v5/limits_monitor/mouseover.png +0 -0
  383. data/tools/docs/img/v5/navigation.png +0 -0
  384. data/tools/docs/img/v5/packet_viewer/file_menu.png +0 -0
  385. data/tools/docs/img/v5/packet_viewer/packet_viewer.png +0 -0
  386. data/tools/docs/img/v5/packet_viewer/select_packet.png +0 -0
  387. data/tools/docs/img/v5/packet_viewer/temp1_details.png +0 -0
  388. data/tools/docs/img/v5/packet_viewer/view_menu.png +0 -0
  389. data/tools/docs/img/v5/script_runner/checks_rb.png +0 -0
  390. data/tools/docs/img/v5/script_runner/connecting.png +0 -0
  391. data/tools/docs/img/v5/script_runner/debug.png +0 -0
  392. data/tools/docs/img/v5/script_runner/file_menu.png +0 -0
  393. data/tools/docs/img/v5/script_runner/file_open.png +0 -0
  394. data/tools/docs/img/v5/script_runner/file_save_as.png +0 -0
  395. data/tools/docs/img/v5/script_runner/running_scripts.png +0 -0
  396. data/tools/docs/img/v5/script_runner/script_error.png +0 -0
  397. data/tools/docs/img/v5/script_runner/script_menu.png +0 -0
  398. data/tools/docs/img/v5/script_runner/script_runner.png +0 -0
  399. data/tools/docs/img/v5/script_runner/script_suite.png +0 -0
  400. data/tools/docs/img/v5/table_manager/file_menu.png +0 -0
  401. data/tools/docs/img/v5/table_manager/table_manager.png +0 -0
  402. data/tools/docs/img/v5/telemetry_grapher/edit_graph.png +0 -0
  403. data/tools/docs/img/v5/telemetry_grapher/file_menu.png +0 -0
  404. data/tools/docs/img/v5/telemetry_grapher/four_graphs.png +0 -0
  405. data/tools/docs/img/v5/telemetry_grapher/graph_menu.png +0 -0
  406. data/tools/docs/img/v5/telemetry_grapher/graph_min_max.png +0 -0
  407. data/tools/docs/img/v5/telemetry_grapher/graph_temp1.png +0 -0
  408. data/tools/docs/img/v5/telemetry_grapher/graph_temp1_temp2.png +0 -0
  409. data/tools/docs/img/v5/telemetry_grapher/graph_temp1_time.png +0 -0
  410. data/tools/docs/img/v5/telemetry_grapher/grapher_controls.png +0 -0
  411. data/tools/docs/img/v5/telemetry_grapher/minimized.png +0 -0
  412. data/tools/docs/img/v5/telemetry_grapher/open_config.png +0 -0
  413. data/tools/docs/img/v5/telemetry_grapher/save_config.png +0 -0
  414. data/tools/docs/img/v5/telemetry_grapher/stop_start.png +0 -0
  415. data/tools/docs/img/v5/telemetry_grapher/telemetry_grapher.png +0 -0
  416. data/tools/docs/img/v5/telemetry_grapher/two_full_height.png +0 -0
  417. data/tools/docs/img/v5/telemetry_grapher/two_full_width.png +0 -0
  418. data/tools/docs/img/v5/telemetry_viewer/edit_screen.png +0 -0
  419. data/tools/docs/img/v5/telemetry_viewer/file_menu.png +0 -0
  420. data/tools/docs/img/v5/telemetry_viewer/minimized.png +0 -0
  421. data/tools/docs/img/v5/telemetry_viewer/new_screen.png +0 -0
  422. data/tools/docs/img/v5/telemetry_viewer/open_config.png +0 -0
  423. data/tools/docs/img/v5/telemetry_viewer/save_config.png +0 -0
  424. data/tools/docs/img/v5/telemetry_viewer/telemetry_viewer.png +0 -0
  425. data/tools/docs/index.html +16 -0
  426. data/tools/docs/lunr-index-1699630949575.json +1 -0
  427. data/tools/docs/lunr-index.json +1 -0
  428. data/tools/docs/markdown-page.html +16 -0
  429. data/tools/docs/search-doc-1699630949575.json +1 -0
  430. data/tools/docs/search-doc.json +1 -0
  431. data/tools/docs/sitemap.xml +1 -0
  432. metadata +477 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[647],{9719:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>d,frontMatter:()=>n,metadata:()=>s,toc:()=>l});var r=o(7896),i=(o(2784),o(876));const n={title:"OpenC3, Inc. Privacy Policy"},a=void 0,s={unversionedId:"privacy",id:"privacy",title:"OpenC3, Inc. Privacy Policy",description:"OpenC3 Inc. is strongly committed to protecting your privacy and complying with your choices. Both personal and non-personal information collected is safeguarded according to the highest privacy and data protection standards adopted worldwide. We have always had a robust and effective data protection program in place which complies with existing law and abides by the data protection principles. However, we recognise our obligations in updating and expanding this program to meet the demands of the GDPR.",source:"@site/docs/privacy.md",sourceDirName:".",slug:"/privacy",permalink:"/tools/docs/docs/privacy",draft:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/privacy.md",tags:[],version:"current",frontMatter:{title:"OpenC3, Inc. Privacy Policy"},sidebar:"defaultSidebar",previous:{title:"XTCE Support",permalink:"/tools/docs/docs/meta/xtce"}},c={},l=[{value:"Our Commitment",id:"our-commitment",level:2},{value:"1. Notice",id:"1-notice",level:2},{value:"2. Usage",id:"2-usage",level:2},{value:"3. Consent",id:"3-consent",level:2},{value:"4. Access to your information",id:"4-access-to-your-information",level:2},{value:"5. Security of information",id:"5-security-of-information",level:2},{value:"6. Retention of information",id:"6-retention-of-information",level:2},{value:"7. EU and EEA Users\u2019 Rights",id:"7-eu-and-eea-users-rights",level:2},{value:"8. What we do with the Information you share",id:"8-what-we-do-with-the-information-you-share",level:2},{value:"9. How to opt-out",id:"9-how-to-opt-out",level:2},{value:"10. Does OpenC3 Inc&#39;s privacy policy apply to linked websites?",id:"10-does-openc3-incs-privacy-policy-apply-to-linked-websites",level:2},{value:"11. Changes to this policy",id:"11-changes-to-this-policy",level:2},{value:"12. Enforcement of policy",id:"12-enforcement-of-policy",level:2},{value:"13. Questions or comments",id:"13-questions-or-comments",level:2}],u={toc:l},p="wrapper";function d(e){let{components:t,...o}=e;return(0,i.kt)(p,(0,r.Z)({},u,o,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"OpenC3 Inc. is strongly committed to protecting your privacy and complying with your choices. Both personal and non-personal information collected is safeguarded according to the highest privacy and data protection standards adopted worldwide. We have always had a robust and effective data protection program in place which complies with existing law and abides by the data protection principles. However, we recognise our obligations in updating and expanding this program to meet the demands of the GDPR."),(0,i.kt)("h2",{id:"our-commitment"},"Our Commitment"),(0,i.kt)("p",null,"\u2022 Your information will not be shared, rented or sold to any third party.\n\u2022 We use state-of-the-art security measures to protect your information from unauthorized users.\n\u2022 We give you the possibility to control the information that you shared with us (opt-out)"),(0,i.kt)("p",null,"OpenC3, Inc. is committed to processing data in accordance with its responsibilities under the GDPR.\nArticle 5 of the GDPR requires that personal data shall be:"),(0,i.kt)("p",null,"a. processed lawfully, fairly and in a transparent manner in relation to individuals;"),(0,i.kt)("p",null,"b. collected for specified, explicit and legitimate purposes and not further processed in a manner that is incompatible with those purposes; further processing for archiving purposes in the public interest, scientific or historical research purposes or statistical purposes shall not be considered to be incompatible with the initial purposes;"),(0,i.kt)("p",null,"c. adequate, relevant and limited to what is necessary in relation to the purposes for which they are processed;"),(0,i.kt)("p",null,"d. accurate and, where necessary, kept up to date; every reasonable step must be taken to ensure that personal data that are inaccurate, having regard to the purposes for which they are processed, are erased or rectified without delay;"),(0,i.kt)("p",null,"e. kept in a form which permits identification of data subjects for no longer than is necessary for the purposes for which the personal data are processed; personal data may be stored for longer periods insofar as the personal data will be processed solely for archiving purposes in the public interest, scientific or historical research purposes or statistical purposes subject to implementation of the appropriate technical and organisational measures required by the GDPR in order to safeguard the rights and freedoms of individuals; and"),(0,i.kt)("p",null,"f. processed in a manner that ensures appropriate security of the personal data, including protection against unauthorised or unlawful processing and against accidental loss, destruction or damage, using appropriate technical or organisational measures.\u201d"),(0,i.kt)("h2",{id:"1-notice"},"1. Notice"),(0,i.kt)("p",null,'We will clearly inform you when information that personally identifies you ("personal information") is asked for and you will have the choice to provide it or not. Generally, this information is requested when you subscribe to product updates, newsletters or other online services.'),(0,i.kt)("h2",{id:"2-usage"},"2. Usage"),(0,i.kt)("p",null,"We use your personal information for the following purposes:\n\u2022 To provide you information that will allow you to use our services\n\u2022 To automatically customize your documents with your information\n\u2022 To alert you of software upgrades, updates, discounts or other services from OpenC3, Inc."),(0,i.kt)("p",null,"We collect your email when you subscribe to our services or newsletter in order to send you informational communications about OpenC3 Inc's products, such as their purpose and the best use you can make of them. We also collect your email to send you our promotional offers."),(0,i.kt)("p",null,"We may also collect your name, language, currency, operating system, document searched and country information for a better experience with our products/services."),(0,i.kt)("p",null,"When you place your order with us, we collect your email in order to communicate with you. We also collect your phone number in order to contact you in case these emails bounce back because of a typo in your email address and if we cannot figure out what the correct email address is."),(0,i.kt)("p",null,"We also contact the phone number that is provided if we suspect that the cardholder\u2019s credit card information has been compromised, i.e used in a fraudulent way."),(0,i.kt)("p",null,"We also use our clients\u2019 email in order to notify of the release of updated versions of the software, new services or promotional offers."),(0,i.kt)("h2",{id:"3-consent"},"3. Consent"),(0,i.kt)("p",null,"When you provide your personal information, you consent that it can be used for the above purposes and that OpenC3, Inc. is an authorized holder of such information. If you choose not to register or provide personal information, you can still use our website but you will not be able to receive additional services or access certain areas that require registration. When you activate your account, you are providing your consent to occasionally receive information from us. In each communication from us you will have the opportunity to unsubscribe from further communications; alternatively, you may contact us to express your choices at the address provided at the bottom of this page."),(0,i.kt)("h2",{id:"4-access-to-your-information"},"4. Access to your information"),(0,i.kt)("p",null,"You are entitled to review the personal information you have provided us and ensure that it is accurate and current at all times. To review or update this information simply request that we send you this information."),(0,i.kt)("h2",{id:"5-security-of-information"},"5. Security of information"),(0,i.kt)("p",null,"OpenC3, Inc. is strongly committed to protecting your information and ensuring that your choices are honored. We have taken strong security measures to protect your data from loss, misuse, unauthorized access, disclosure, alteration, or destruction. All sensitive data is stored behind multiple firewalls on secure servers with restricted employee access."),(0,i.kt)("p",null,"We guarantee that all e-commerce transactions follow the latest security measures and use the best available technologies. Secure Sockets Layer (SSL) technology is employed when you place online orders or transmit sensitive information. SSL is one of the safest methods of passing information over the Internet."),(0,i.kt)("h2",{id:"6-retention-of-information"},"6. Retention of information"),(0,i.kt)("p",null,"We retain information as long as it is necessary to provide the services requested by you and others, subject to any legal obligations to further retain such information. Information associated with your account will generally be kept until it is no longer necessary to provide the services or until you ask us to delete it or your account is deleted whichever comes first. Additionally, we may retain information from deleted accounts to comply with the law, prevent fraud, resolve disputes, troubleshoot problems, assist with investigations, enforce the Terms of Use, and take other actions permitted by law. The information we retain will be handled in accordance with this Privacy Policy. Finally, your data could also be stored for sales statistical purposes."),(0,i.kt)("h2",{id:"7-eu-and-eea-users-rights"},"7. EU and EEA Users\u2019 Rights"),(0,i.kt)("p",null,"If you are habitually located in the European Union or European Economic Area, you have the right to access, rectify, download or erase your information, as well as the right to restrict and object to certain processing of your information. While some of these rights apply generally, certain rights apply only in certain limited circumstances. We describe these rights below:"),(0,i.kt)("p",null,"You have the right to access your personal data and, if necessary, have it amended or deleted or restricted. In certain instances, you may have the right to the portability of your data. You can also ask us to not send marketing communications and not to use your personal data when we carry out profiling for direct marketing purposes. You can opt out of receiving email newsletters and other marketing communications by following the opt-out instructions provided to you in those emails. Transactional account messages will be unaffected if you opt-out from marketing communications."),(0,i.kt)("h2",{id:"8-what-we-do-with-the-information-you-share"},"8. What we do with the Information you share"),(0,i.kt)("p",null,"Your information is never shared outside the company without your permission. Inside the company, data is stored behind multiple firewalls on secure servers with restricted user access."),(0,i.kt)("p",null,"When you register to our website, you are asked to provide your contact information, including a valid email address. We use this information to send you updates about order confirmations and information about our services. When you order from us, we ask for your credit card number and billing address. We use this information only to bill you for the product(s) you ordered at that time."),(0,i.kt)("p",null,"We may on occasion require the help of other companies to provide limited services on our behalf, such as packaging, shipping and delivery, customer support and processing event registrations. We will only provide such companies with the information required for them to perform these services; these service providers are bound by strict privacy policies and are prohibited from using your information for any other purpose."),(0,i.kt)("p",null,"In very rare instances OpenC3, Inc. may disclose your personal information, without notice, only if required to do so by law or in the good faith belief that such action is necessary to: (a) conform to the edicts of the law or comply with legal process served on OpenC3, Inc. or the site; (b) protect and defend the rights or property of OpenC3, Inc. and its family of websites and properties; and (c) act in urgent circumstances to protect the personal safety of users of OpenC3, Inc., its websites, or the public."),(0,i.kt)("h2",{id:"9-how-to-opt-out"},"9. How to opt-out"),(0,i.kt)("p",null,"We provide users with the opportunity to opt-out from receiving updates on our products, newsletters and other communications from us. You can opt-out by clicking on the link provided in our electronic mailings or by contacting us at the address at the bottom of this page."),(0,i.kt)("h2",{id:"10-does-openc3-incs-privacy-policy-apply-to-linked-websites"},"10. Does OpenC3 Inc's privacy policy apply to linked websites?"),(0,i.kt)("p",null,"Our Privacy Policy applies solely to information collected on our website or through interactions with our company.\nThe Site contains links to web sites of third parties. OpenC3, Inc. is not responsible for the actions of these third parties, including their privacy practices and any content posted on their web sites. We encourage you to review their privacy policies to learn more about what, why and how they collect and use personal information. OpenC3, Inc. adheres to industry recognized standards to secure any personal information in our possession, and to secure it from unauthorized access and tampering."),(0,i.kt)("p",null,"However, as is true with all online actions, it is possible that third parties may unlawfully intercept transmissions of personal information, or other users of the Site may misuse or abuse your personal information that they may collect from the Site."),(0,i.kt)("h2",{id:"11-changes-to-this-policy"},"11. Changes to this policy"),(0,i.kt)("p",null,"If we make changes to our Privacy Policy, we will post these changes here so that you are always aware of what information we collect, how we use it and under what circumstances, if any, we disclose it. If at any point we decide to use your information in a manner different from that stated at the time it was collected, we will notify you by email."),(0,i.kt)("h2",{id:"12-enforcement-of-policy"},"12. Enforcement of policy"),(0,i.kt)("p",null,"If for some reason you believe OpenC3, Inc. has not adhered to these principles, please notify us and we will do our best to promptly make corrections."),(0,i.kt)("h2",{id:"13-questions-or-comments"},"13. Questions or comments"),(0,i.kt)("p",null,"If you have questions or comments about this privacy policy, please email us at: ",(0,i.kt)("a",{parentName:"p",href:"mailto:support@openc3.com"},"support@openc3.com")),(0,i.kt)("p",null,"For additional information about how to contact OpenC3, Inc. please visit our help page."),(0,i.kt)("p",null,"Dated: August 11th, 2022"))}d.isMDXComponent=!0},876:(e,t,o)=>{o.d(t,{Zo:()=>u,kt:()=>m});var r=o(2784);function i(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function n(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function a(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){i(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function s(e,t){if(null==e)return{};var o,r,i=function(e,t){if(null==e)return{};var o,r,i={},n=Object.keys(e);for(r=0;r<n.length;r++)o=n[r],t.indexOf(o)>=0||(i[o]=e[o]);return i}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}var c=r.createContext({}),l=function(e){var t=r.useContext(c),o=t;return e&&(o="function"==typeof e?e(t):a(a({},t),e)),o},u=function(e){var t=l(e.components);return r.createElement(c.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},h=r.forwardRef((function(e,t){var o=e.components,i=e.mdxType,n=e.originalType,c=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),p=l(o),h=i,m=p["".concat(c,".").concat(h)]||p[h]||d[h]||n;return o?r.createElement(m,a(a({ref:t},u),{},{components:o})):r.createElement(m,a({ref:t},u))}));function m(e,t){var o=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var n=o.length,a=new Array(n);a[0]=h;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[p]="string"==typeof e?e:i,a[1]=s;for(var l=2;l<n;l++)a[l]=o[l];return r.createElement.apply(null,a)}return r.createElement.apply(null,o)}h.displayName="MDXCreateElement"}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[9028],{2953:e=>{e.exports=JSON.parse('{"title":"Development","slug":"/development","permalink":"/tools/docs/docs/development","navigation":{"previous":{"title":"Scripting API Guide","permalink":"/tools/docs/docs/guides/scripting-api"},"next":{"title":"Testing with Curl","permalink":"/tools/docs/docs/development/curl"}}}')}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[461],{9165:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>s,default:()=>m,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var o=n(7896),r=(n(2784),n(876));const a={title:"Host Install"},s=void 0,l={unversionedId:"development/host-install",id:"development/host-install",title:"Host Install",description:"Installing COSMOS Directly onto a Host (No Containers)",source:"@site/docs/development/host-install.md",sourceDirName:"development",slug:"/development/host-install",permalink:"/tools/docs/docs/development/host-install",draft:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/development/host-install.md",tags:[],version:"current",frontMatter:{title:"Host Install"},sidebar:"defaultSidebar",previous:{title:"Developing COSMOS",permalink:"/tools/docs/docs/development/developing"},next:{title:"JSON API",permalink:"/tools/docs/docs/development/json-api"}},i={},c=[{value:"Installing COSMOS Directly onto a Host (No Containers)",id:"installing-cosmos-directly-onto-a-host-no-containers",level:2}],p={toc:c},u="wrapper";function m(e){let{components:t,...n}=e;return(0,r.kt)(u,(0,o.Z)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"installing-cosmos-directly-onto-a-host-no-containers"},"Installing COSMOS Directly onto a Host (No Containers)"),(0,r.kt)("p",null,"Note: THIS IS NOT A RECOMMENDED CONFIGURATION."),(0,r.kt)("p",null,"COSMOS 5 is released as containers and intended to be run as containers. However, for various reasons someone might want to run COSMOS directly on a host. These instructions will walk through getting COSMOS 5 installed and running directly on RHEL 7 or Centos 7. This configuration will create a working install, but falls short of the ideal in that it does not setup the COSMOS processes as proper services on the host OS (that restart themselves on boot, and maintain themselves running in case of errors). Contributions that add that functionality are welcome."),(0,r.kt)("p",null,"Let's get started."),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("p",{parentName:"li"},"The starting assumption is that you have a fresh install of either RHEL 7 or Centos 7. You are running as a normal user that has sudo permissions, and has git installed.")),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("p",{parentName:"li"},"Start by downloading the latest working version of COSMOS from Github"),(0,r.kt)("pre",{parentName:"li"},(0,r.kt)("code",{parentName:"pre",className:"language-bash"},"cd ~\ngit clone https://github.com/openc3/cosmos.git\n"))),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("p",{parentName:"li"},"Run the COSMOS installation script"),(0,r.kt)("p",{parentName:"li"},"If you are feeling brave, you can run the one large installer script that installs everything in one step:"),(0,r.kt)("pre",{parentName:"li"},(0,r.kt)("code",{parentName:"pre",className:"language-bash"},"cd cosmos/examples/hostinstall/centos7\n./openc3_install.sh\n")),(0,r.kt)("p",{parentName:"li"},"Or, you may want to break it down to the same steps that are in that script, and make sure each individual step is successful:"),(0,r.kt)("pre",{parentName:"li"},(0,r.kt)("code",{parentName:"pre",className:"language-bash"},"cd cosmos/examples/hostinstall/centos7\n./openc3_install_packages.sh\n./openc3_install_ruby.sh\n./openc3_install_redis.sh\n./openc3_install_minio.sh\n./openc3_install_traefik.sh\n./openc3_install_openc3.sh\n./openc3_start_services.sh\n./openc3_first_init.sh\n"))),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("p",{parentName:"li"},"If all was successful, you should be able to open Firefox, and goto: http://localhost:2900. Congrats you have COSMOS running directly on a host.")),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("p",{parentName:"li"},"As stated at the beginning, this is not currently a supported configuration. Contributions that help to improve it are welcome."))))}m.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>h});var o=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var i=o.createContext({}),c=function(e){var t=o.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},p=function(e){var t=c(e.components);return o.createElement(i.Provider,{value:t},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},d=o.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,i=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),u=c(n),d=r,h=u["".concat(i,".").concat(d)]||u[d]||m[d]||a;return n?o.createElement(h,s(s({ref:t},p),{},{components:n})):o.createElement(h,s({ref:t},p))}));function h(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,s=new Array(a);s[0]=d;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[u]="string"==typeof e?e:r,s[1]=l;for(var c=2;c<a;c++)s[c]=n[c];return o.createElement.apply(null,s)}return o.createElement.apply(null,n)}d.displayName="MDXCreateElement"}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[7216],{9882:(t,e,a)=>{a.r(e),a.d(e,{assets:()=>s,contentTitle:()=>l,default:()=>m,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var r=a(7896),n=(a(2784),a(876));const o={sidebar_position:6,title:"Interfaces"},l=void 0,i={unversionedId:"configuration/interfaces",id:"configuration/interfaces",title:"Interfaces",description:"Interfaces are the connection to the external embedded systems called targets. Interfaces are defined by the top level INTERFACE keyword in the plugin.txt file.",source:"@site/docs/configuration/interfaces.md",sourceDirName:"configuration",slug:"/configuration/interfaces",permalink:"/tools/docs/docs/configuration/interfaces",draft:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/configuration/interfaces.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6,title:"Interfaces"},sidebar:"defaultSidebar",previous:{title:"Telemetry",permalink:"/tools/docs/docs/configuration/telemetry"},next:{title:"Protocols",permalink:"/tools/docs/docs/configuration/protocols"}},s={},c=[{value:"Provided Interfaces",id:"provided-interfaces",level:2},{value:"TCPIP Client Interface",id:"tcpip-client-interface",level:3},{value:"TCPIP Server Interface",id:"tcpip-server-interface",level:3},{value:"UDP Interface",id:"udp-interface",level:3},{value:"Serial Interface",id:"serial-interface",level:3},{value:"Streams",id:"streams",level:2},{value:"Protocols",id:"protocols",level:2}],d={toc:c},p="wrapper";function m(t){let{components:e,...a}=t;return(0,n.kt)(p,(0,r.Z)({},d,a,{components:e,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"Interfaces are the connection to the external embedded systems called targets. Interfaces are defined by the top level ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#interface-1"},"INTERFACE")," keyword in the plugin.txt file."),(0,n.kt)("p",null,"Interface classes provide the code that COSMOS uses to receive real-time telemetry from targets and to send commands to targets. The interface that a target uses could be anything (TCP/IP, serial, GPIB, Firewire, etc.), therefore it is important that this is a customizable portion of any reusable Command and Telemetry System. Fortunately the most common form of interfaces are over TCP/IP sockets, and COSMOS provides interface solutions for these. This guide will discuss how to use these interface classes, and how to create your own. Note that in most cases you can extend interfaces with ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/protocols"},"Protocols")," rather than implementing a new interface."),(0,n.kt)("admonition",{title:"Interface and Routers Are Very Similar",type:"info"},(0,n.kt)("p",{parentName:"admonition"},"Note that Interfaces and Routers are very similar and share the same configuration parameters. Routers are simply Interfaces which route an existing Interface's telemetry data out to the connected target and routes the connected target's commands back to the original Interface's target.")),(0,n.kt)("p",null,"Interfaces have the following methods that must be implemented:"),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"connect")," - Open the socket or port or somehow establish the connection to the target. Note: This method may not block indefinitely. Be sure to call super() in your implementation."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"connected?")," - Return true or false depending on the connection state. Note: This method should return immediately."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"disconnect")," - Close the socket or port of somehow disconnect from the target. Note: This method may not block indefinitely. Be sure to call super() in your implementation."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"read_interface")," - Lowest level read of data on the interface. Note: This method should block until data is available or the interface disconnects. On a clean disconnect it should return nil."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"write_interface")," - Lowest level write of data on the interface. Note: This method may not block indefinitely.")),(0,n.kt)("p",null,"Interfaces also have the following methods that exist and have default implementations. They can be overridden if necessary but be sure to call super() to allow the default implementation to be executed."),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"read_interface_base")," - This method should always be called from read_interface(). It updates interface specific variables that are displayed by CmdTLmServer including the bytes read count, the most recent raw data read, and it handles raw logging if enabled."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"write_interface_base")," - This method should always be called from write_interface(). It updates interface specific variables that are displayed by CmdTLmServer including the bytes written count, the most recent raw data written, and it handles raw logging if enabled."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"read")," - Read the next packet from the interface. COSMOS implements this method to allow the Protocol system to operate on the data and the packet before it is returned."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"write")," - Send a packet to the interface. COSMOS implements this method to allow the Protocol system to operate on the packet and the data before it is sent."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"write_raw")," - Send a raw binary string of data to the target. COSMOS implements this method by basically calling write_interface with the raw data.")),(0,n.kt)("admonition",{title:"Naming Conventions",type:"caution"},(0,n.kt)("p",{parentName:"admonition"},'When creating your own interfaces, in most cases they will be subclasses of one of the built-in interfaces described below. It is important to know that both the filename and class name of the interface files must match with correct capitalization or you will receive "class not found" errors when trying to load your new interface. For example, an interface file called labview_interface.rb must contain the class LabviewInterface. If the class was named, LabVIEWInterface, for example, COSMOS would not be able to find the class because of the unexpected capitalization.')),(0,n.kt)("h2",{id:"provided-interfaces"},"Provided Interfaces"),(0,n.kt)("p",null,"COSMOS provides the following interfaces for use: TCPIP Client, TCPIP Server, UDP, and Serial. The interface to use is defined by the ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#interface"},"INTERFACE")," and ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#router"},"ROUTER")," keywords."),(0,n.kt)("h3",{id:"tcpip-client-interface"},"TCPIP Client Interface"),(0,n.kt)("p",null,"The TCPIP client interface connects to a TCPIP socket to send commands and receive telemetry. This interface is used for targets which open a socket and wait for a connection. This is the most common type of interface."),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,n.kt)("th",{parentName:"tr",align:null},"Description"),(0,n.kt)("th",{parentName:"tr",align:null},"Required"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Host"),(0,n.kt)("td",{parentName:"tr",align:null},"Machine name to connect to"),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Write Port"),(0,n.kt)("td",{parentName:"tr",align:null},"Port to write commands to (can be the same as read port). Pass nil to make the interface read only."),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Read Port"),(0,n.kt)("td",{parentName:"tr",align:null},"Port to read telemetry from (can be the same as write port). Pass nil to make the interface write only."),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Write Timeout"),(0,n.kt)("td",{parentName:"tr",align:null},"Number of seconds to wait before aborting the write"),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Read Timeout"),(0,n.kt)("td",{parentName:"tr",align:null},"Number of seconds to wait before aborting the read. Pass 'nil' to block on read."),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Protocol Type"),(0,n.kt)("td",{parentName:"tr",align:null},"See Protocols."),(0,n.kt)("td",{parentName:"tr",align:null},"No")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Protocol Arguments"),(0,n.kt)("td",{parentName:"tr",align:null},"See Protocols for the arguments each stream protocol takes."),(0,n.kt)("td",{parentName:"tr",align:null},"No")))),(0,n.kt)("p",null,"plugin.txt Examples:"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-ruby"},"INTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8081 10.0 nil LENGTH 0 16 0 1 BIG_ENDIAN 4 0xBA5EBA11\nINTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8080 10.0 nil BURST 4 0xDEADBEEF\nINTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8080 10.0 nil FIXED 6 0 nil true\nINTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8080 10.0 10.0 TERMINATED 0x0D0A 0x0D0A true 0 0xF005BA11\nINTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8080 10.0 10.0 TEMPLATE 0xA 0xA\nINTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8080 10.0 nil PREIDENTIFIED 0xCAFEBABE\nINTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8080 10.0 10.0 # no built-in protocol\n")),(0,n.kt)("p",null,"See ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#interface"},"INTERFACE")," for a description of the INTERFACE keyword. See ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#interface-modifiers"},"Interface Modifiers")," for a description of the keywords which can follow the INTERFACE keyword."),(0,n.kt)("h3",{id:"tcpip-server-interface"},"TCPIP Server Interface"),(0,n.kt)("p",null,"The TCPIP server interface creates a TCPIP server which listens for incoming connections and dynamically creates sockets which communicate with the target. This interface is used for targets which open a socket and try to connect to a server."),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,n.kt)("th",{parentName:"tr",align:null},"Description"),(0,n.kt)("th",{parentName:"tr",align:null},"Required"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Write Port"),(0,n.kt)("td",{parentName:"tr",align:null},"Port to write commands to (can be the same as read port)"),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Read Port"),(0,n.kt)("td",{parentName:"tr",align:null},"Port to read telemetry from (can be the same as write port)"),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Write Timeout"),(0,n.kt)("td",{parentName:"tr",align:null},"Number of seconds to wait before aborting the write"),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Read Timeout"),(0,n.kt)("td",{parentName:"tr",align:null},"Number of seconds to wait before aborting the read. Pass 'nil' to block on read."),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Protocol Type"),(0,n.kt)("td",{parentName:"tr",align:null},"See Protocols."),(0,n.kt)("td",{parentName:"tr",align:null},"No")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Protocol Arguments"),(0,n.kt)("td",{parentName:"tr",align:null},"See Protocols for the arguments each stream protocol takes."),(0,n.kt)("td",{parentName:"tr",align:null},"No")))),(0,n.kt)("p",null,"plugin.txt Examples:"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-ruby"},"INTERFACE INTERFACE_NAME tcpip_server_interface.rb 8080 8081 10.0 nil LENGTH 0 16 0 1 BIG_ENDIAN 4 0xBA5EBA11\nINTERFACE INTERFACE_NAME tcpip_server_interface.rb 8080 8080 10.0 nil BURST 4 0xDEADBEEF\nINTERFACE INTERFACE_NAME tcpip_server_interface.rb 8080 8080 10.0 nil FIXED 6 0 nil true\nINTERFACE INTERFACE_NAME tcpip_server_interface.rb 8080 8080 10.0 10.0 TERMINATED 0x0D0A 0x0D0A true 0 0xF005BA11\nINTERFACE INTERFACE_NAME tcpip_client_interface.rb 8080 8080 10.0 10.0 TEMPLATE 0xA 0xA\nINTERFACE INTERFACE_NAME tcpip_server_interface.rb 8080 8080 10.0 nil PREIDENTIFIED 0xCAFEBABE\nINTERFACE INTERFACE_NAME tcpip_client_interface.rb 8080 8080 10.0 10.0 # no built-in protocol\n")),(0,n.kt)("p",null,"See ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#interface"},"INTERFACE")," for a description of the INTERFACE keyword. See ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#interface-modifiers"},"Interface Modifiers")," for a description of the keywords which can follow the INTERFACE keyword. Note, TcpipServerInterface processes the ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#option"},"OPTION")," modifier."),(0,n.kt)("h3",{id:"udp-interface"},"UDP Interface"),(0,n.kt)("p",null,"The UDP interface uses UDP packets to send and receive telemetry from the target."),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,n.kt)("th",{parentName:"tr",align:null},"Description"),(0,n.kt)("th",{parentName:"tr",align:null},"Required"),(0,n.kt)("th",{parentName:"tr",align:null},"Default"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Host"),(0,n.kt)("td",{parentName:"tr",align:null},"Host name or IP address of the machine to send and receive data with"),(0,n.kt)("td",{parentName:"tr",align:null},"Yes"),(0,n.kt)("td",{parentName:"tr",align:null})),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Write Dest Port"),(0,n.kt)("td",{parentName:"tr",align:null},"Port on the remote machine to send commands to"),(0,n.kt)("td",{parentName:"tr",align:null},"Yes"),(0,n.kt)("td",{parentName:"tr",align:null})),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Read Port"),(0,n.kt)("td",{parentName:"tr",align:null},"Port on the remote machine to read telemetry from"),(0,n.kt)("td",{parentName:"tr",align:null},"Yes"),(0,n.kt)("td",{parentName:"tr",align:null})),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Write Source Port"),(0,n.kt)("td",{parentName:"tr",align:null},"Port on the local machine to send commands from"),(0,n.kt)("td",{parentName:"tr",align:null},"No"),(0,n.kt)("td",{parentName:"tr",align:null},"nil (socket is not bound to an outgoing port)")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Interface Address"),(0,n.kt)("td",{parentName:"tr",align:null},"If the remote machine supports multicast the interface address is used to configure the outgoing multicast address"),(0,n.kt)("td",{parentName:"tr",align:null},"No"),(0,n.kt)("td",{parentName:"tr",align:null},"nil (not used)")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"TTL"),(0,n.kt)("td",{parentName:"tr",align:null},"Time to Live. The number of intermediate routers allowed before dropping the packet."),(0,n.kt)("td",{parentName:"tr",align:null},"No"),(0,n.kt)("td",{parentName:"tr",align:null},"128 (Windows)")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Write Timeout"),(0,n.kt)("td",{parentName:"tr",align:null},"Number of seconds to wait before aborting the write"),(0,n.kt)("td",{parentName:"tr",align:null},"No"),(0,n.kt)("td",{parentName:"tr",align:null},"10.0")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Read Timeout"),(0,n.kt)("td",{parentName:"tr",align:null},"Number of seconds to wait before aborting the read"),(0,n.kt)("td",{parentName:"tr",align:null},"No"),(0,n.kt)("td",{parentName:"tr",align:null},"nil (block on read)")))),(0,n.kt)("p",null,"plugin.txt Example:"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-ruby"},"INTERFACE INTERFACE_NAME udp_interface.rb host.docker.internal 8080 8081 8082 nil 128 10.0 nil\n")),(0,n.kt)("p",null,"See ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#interface"},"INTERFACE")," for a description of the INTERFACE keyword. See ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#interface-modifiers"},"Interface Modifiers")," for a description of the keywords which can follow the INTERFACE keyword."),(0,n.kt)("h3",{id:"serial-interface"},"Serial Interface"),(0,n.kt)("p",null,"The serial interface connects to a target over a serial port. COSMOS provides drivers for both Windows and POSIX drivers for UNIX based systems."),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,n.kt)("th",{parentName:"tr",align:null},"Description"),(0,n.kt)("th",{parentName:"tr",align:null},"Required"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Write Port"),(0,n.kt)("td",{parentName:"tr",align:null},"Name of the serial port to write, e.g. 'COM1' or '/dev/ttyS0'. Pass 'nil' to disable writing."),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Read Port"),(0,n.kt)("td",{parentName:"tr",align:null},"Name of the serial port to read, e.g. 'COM1' or '/dev/ttyS0'. Pass 'nil' to disable reading."),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Baud Rate"),(0,n.kt)("td",{parentName:"tr",align:null},"Baud rate to read and write"),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Parity"),(0,n.kt)("td",{parentName:"tr",align:null},"Serial port parity. Must be 'NONE', 'EVEN', or 'ODD'."),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Stop Bits"),(0,n.kt)("td",{parentName:"tr",align:null},"Number of stop bits, e.g. 1."),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Write Timeout"),(0,n.kt)("td",{parentName:"tr",align:null},"Number of seconds to wait before aborting the write"),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Read Timeout"),(0,n.kt)("td",{parentName:"tr",align:null},"Number of seconds to wait before aborting the read. Pass 'nil' to block on read."),(0,n.kt)("td",{parentName:"tr",align:null},"Yes")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Protocol Type"),(0,n.kt)("td",{parentName:"tr",align:null},"See Protocols."),(0,n.kt)("td",{parentName:"tr",align:null},"No")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"Protocol Arguments"),(0,n.kt)("td",{parentName:"tr",align:null},"See Protocols for the arguments each stream protocol takes."),(0,n.kt)("td",{parentName:"tr",align:null},"No")))),(0,n.kt)("p",null,"plugin.txt Examples:"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-ruby"},"INTERFACE INTERFACE_NAME serial_interface.rb COM1 COM1 9600 NONE 1 10.0 nil LENGTH 0 16 0 1 BIG_ENDIAN 4 0xBA5EBA11\nINTERFACE INTERFACE_NAME serial_interface.rb /dev/ttyS1 /dev/ttyS1 38400 ODD 1 10.0 nil BURST 4 0xDEADBEEF\nINTERFACE INTERFACE_NAME serial_interface.rb COM2 COM2 19200 EVEN 1 10.0 nil FIXED 6 0 nil true\nINTERFACE INTERFACE_NAME serial_interface.rb COM4 COM4 115200 NONE 1 10.0 10.0 TERMINATED 0x0D0A 0x0D0A true 0 0xF005BA11\nINTERFACE INTERFACE_NAME serial_interface.rb COM4 COM4 115200 NONE 1 10.0 10.0 TEMPLATE 0xA 0xA\nINTERFACE INTERFACE_NAME serial_interface.rb /dev/ttyS0 /dev/ttyS0 57600 NONE 1 10.0 nil PREIDENTIFIED 0xCAFEBABE\nINTERFACE INTERFACE_NAME serial_interface.rb COM4 COM4 115200 NONE 1 10.0 10.0 # no built-in protocol\n")),(0,n.kt)("p",null,"See ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#interface"},"INTERFACE")," for a description of the INTERFACE keyword. See ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#interface-modifiers"},"Interface Modifiers")," for a description of the keywords which can follow the INTERFACE keyword. Note, SerialInterface processes the ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#option"},"OPTION")," modifier."),(0,n.kt)("h2",{id:"streams"},"Streams"),(0,n.kt)("p",null,"Streams are low level classes that implement read, read_nonblock, write, connect, connected? and disconnect methods. The build-in Stream classes are SerialStream, TcpipSocketStream and TcpipClientStream and they are automatically used when creating a Serial Interface, TCP/IP Server Interface, or TCP/IP Client Interface."),(0,n.kt)("h2",{id:"protocols"},"Protocols"),(0,n.kt)("p",null,"Protocols define the behaviour of an Interface, including differentiating packet boundaries and modifying data as necessary. COSMOS defines the following built-in protocols which can be used with the above interfaces:"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:null},"Name"),(0,n.kt)("th",{parentName:"tr",align:null},"Description"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},(0,n.kt)("a",{parentName:"td",href:"/tools/docs/docs/configuration/protocols#burst-protocol"},"Burst")),(0,n.kt)("td",{parentName:"tr",align:null},"Reads as much data as possible from the interface")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},(0,n.kt)("a",{parentName:"td",href:"/tools/docs/docs/configuration/protocols#fixed-protocol"},"Fixed")),(0,n.kt)("td",{parentName:"tr",align:null},"Processes fixed length packets with a known ID position")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},(0,n.kt)("a",{parentName:"td",href:"/tools/docs/docs/configuration/protocols#length-protocol"},"Length")),(0,n.kt)("td",{parentName:"tr",align:null},"Processes a length field at a fixed location and then reads the remainder of the data")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},(0,n.kt)("a",{parentName:"td",href:"/tools/docs/docs/configuration/protocols#terminated-protocol"},"Terminated")),(0,n.kt)("td",{parentName:"tr",align:null},"Delineates packets uses termination characters at the end of each packet")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},(0,n.kt)("a",{parentName:"td",href:"/tools/docs/docs/configuration/protocols#template-protocol"},"Template")),(0,n.kt)("td",{parentName:"tr",align:null},"Processes text based command / response data such as SCPI interfaces")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},(0,n.kt)("a",{parentName:"td",href:"/tools/docs/docs/configuration/protocols#preidentified-protocol"},"Preidentified")),(0,n.kt)("td",{parentName:"tr",align:null},"Internal COSMOS protocol used by COSMOS tools")))),(0,n.kt)("p",null,"These protocols are declared directly after the interface:"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-ruby"},"INTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8080 10.0 nil BURST 4 0xDEADBEEF\nINTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8080 10.0 nil FIXED 6 0 nil true\nINTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8081 10.0 nil LENGTH 0 16 0 1 BIG_ENDIAN 4 INTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8080 10.0 10.0 TERMINATED 0x0D0A 0x0D0A true 0 0xF005BA11\nINTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8080 10.0 10.0 TEMPLATE 0xA 0xA\nINTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8080 10.0 nil PREIDENTIFIED 0xCAFEBABE\n")),(0,n.kt)("p",null,"COSMOS also defines the following helper protocols:"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:null},"Name"),(0,n.kt)("th",{parentName:"tr",align:null},"Description"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},(0,n.kt)("a",{parentName:"td",href:"/tools/docs/docs/configuration/protocols#crc-protocol"},"CRC")),(0,n.kt)("td",{parentName:"tr",align:null},"Adds CRCs to outgoing packets and verifies CRCs on incoming packets")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},(0,n.kt)("a",{parentName:"td",href:"/tools/docs/docs/configuration/protocols#ignore-packet-protocol"},"Ignore")),(0,n.kt)("td",{parentName:"tr",align:null},"Ignores the specified packet by dropping it")))),(0,n.kt)("p",null,"These protocols are declared after the INTERFACE:"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-ruby"},"INTERFACE INTERFACE_NAME tcpip_client_interface.rb host.docker.internal 8080 8080 10.0 nil BURST 4 0xDEADBEEF\nTARGET TGT\nPROTOCOL WRITE CrcProtocol CRC # See the documentation for parameters\n")),(0,n.kt)("p",null,"Note the first parameter after the PROTOCOL keyword is how to apply the protocol: READ, WRITE, or READ_WRITE. Read applies the protocol on incoming packets (telemetry) and write on outgoing packets (commands). The next parameter is the protocol filename or class name. All other parameters are protocol specific."),(0,n.kt)("p",null,"In addition, you can define your own protocols which are declared like the COSMOS helper protocols after your interface. See the ",(0,n.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/protocols#custom-protocols"},"Custom Protocols")," documentation for more information."),(0,n.kt)("admonition",{title:"Protocol Run Order",type:"info"},(0,n.kt)("p",{parentName:"admonition"},"Read protocols execute in the order specified (First specified runs first). Write protocols execute in the reverse order (Last specified executes first).")))}m.isMDXComponent=!0},876:(t,e,a)=>{a.d(e,{Zo:()=>d,kt:()=>N});var r=a(2784);function n(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function l(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?o(Object(a),!0).forEach((function(e){n(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function i(t,e){if(null==t)return{};var a,r,n=function(t,e){if(null==t)return{};var a,r,n={},o=Object.keys(t);for(r=0;r<o.length;r++)a=o[r],e.indexOf(a)>=0||(n[a]=t[a]);return n}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)a=o[r],e.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(t,a)&&(n[a]=t[a])}return n}var s=r.createContext({}),c=function(t){var e=r.useContext(s),a=e;return t&&(a="function"==typeof t?t(e):l(l({},e),t)),a},d=function(t){var e=c(t.components);return r.createElement(s.Provider,{value:e},t.children)},p="mdxType",m={inlineCode:"code",wrapper:function(t){var e=t.children;return r.createElement(r.Fragment,{},e)}},u=r.forwardRef((function(t,e){var a=t.components,n=t.mdxType,o=t.originalType,s=t.parentName,d=i(t,["components","mdxType","originalType","parentName"]),p=c(a),u=n,N=p["".concat(s,".").concat(u)]||p[u]||m[u]||o;return a?r.createElement(N,l(l({ref:e},d),{},{components:a})):r.createElement(N,l({ref:e},d))}));function N(t,e){var a=arguments,n=e&&e.mdxType;if("string"==typeof t||n){var o=a.length,l=new Array(o);l[0]=u;var i={};for(var s in e)hasOwnProperty.call(e,s)&&(i[s]=e[s]);i.originalType=t,i[p]="string"==typeof t?t:n,l[1]=i;for(var c=2;c<o;c++)l[c]=a[c];return r.createElement.apply(null,l)}return r.createElement.apply(null,a)}u.displayName="MDXCreateElement"}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[4718],{6704:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>s,contentTitle:()=>r,default:()=>m,frontMatter:()=>i,metadata:()=>l,toc:()=>c});var n=a(7896),o=(a(2784),a(876));const i={sidebar_position:2,title:"Getting Started"},r=void 0,l={unversionedId:"getting-started/gettingstarted",id:"getting-started/gettingstarted",title:"Getting Started",description:"Welcome to the OpenC3 COSMOS system... Let's get started! This guide is a high level overview that will help with setting up your first COSMOS project.",source:"@site/docs/getting-started/gettingstarted.md",sourceDirName:"getting-started",slug:"/getting-started/gettingstarted",permalink:"/tools/docs/docs/getting-started/gettingstarted",draft:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/getting-started/gettingstarted.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2,title:"Getting Started"},sidebar:"defaultSidebar",previous:{title:"Installation",permalink:"/tools/docs/docs/getting-started/installation"},next:{title:"Upgrading",permalink:"/tools/docs/docs/getting-started/upgrading"}},s={},c=[{value:"Interfacing with Your Hardware",id:"interfacing-with-your-hardware",level:2},{value:"Building Your Plugin",id:"building-your-plugin",level:2}],p={toc:c},d="wrapper";function m(e){let{components:t,...a}=e;return(0,o.kt)(d,(0,n.Z)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Welcome to the OpenC3 COSMOS system... Let's get started! This guide is a high level overview that will help with setting up your first COSMOS project."),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},"Get COSMOS Installed onto your computer by following the ",(0,o.kt)("a",{parentName:"li",href:"/tools/docs/docs/getting-started/installation"},"Installation Guide"),".",(0,o.kt)("ul",{parentName:"li"},(0,o.kt)("li",{parentName:"ul"},"You should now have COSMOS installed and a Demo project available that we can make changes to."))),(0,o.kt)("li",{parentName:"ol"},"Browse to http://localhost:2900",(0,o.kt)("ul",{parentName:"li"},(0,o.kt)("li",{parentName:"ul"},'The COSMOS Command and Telemetry Server will appear. This tool provides real-time information about each "target" in the system. Targets are external systems that receive commands and generate telemetry, often over ethernet or serial connections.'))),(0,o.kt)("li",{parentName:"ol"},"Experiment with other COSMOS tools. This is a DEMO environment so you can't break anything. Some things to try:",(0,o.kt)("ul",{parentName:"li"},(0,o.kt)("li",{parentName:"ul"},"Use Command Sender to send individual commands."),(0,o.kt)("li",{parentName:"ul"},"Use Limits Monitor to watch for telemetry limits violations"),(0,o.kt)("li",{parentName:"ul"},"Run some of the example scripts in Script Runner and Test Runner"),(0,o.kt)("li",{parentName:"ul"},"View individual Telemetry packets in Packet Viewer"),(0,o.kt)("li",{parentName:"ul"},"View detailed telemetry displays in Telemetry Viewer"),(0,o.kt)("li",{parentName:"ul"},"Graph some data in Telemetry Grapher"),(0,o.kt)("li",{parentName:"ul"},"View log type data in Data Viewer"),(0,o.kt)("li",{parentName:"ul"},"Process log data with Data Extractor")))),(0,o.kt)("admonition",{title:"Browser Version Issue",type:"info"},(0,o.kt)("p",{parentName:"admonition"},"When you try to load the page and it fails to load, check with the built-in web development tools / DevTools. We have seen some strange things with version of browsers. You can build to a version of browser if you need to by reading about the ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/browserslist/browserslist"},"browserslist"),". A typical failure results in:"),(0,o.kt)("pre",{parentName:"admonition"},(0,o.kt)("code",{parentName:"pre"},"unexpected token ||=\n")),(0,o.kt)("p",{parentName:"admonition"},"To fix this make sure your browsers is compliant with the current settings in the ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/OpenC3/cosmos/blob/main/openc3-cosmos-init/plugins/openc3-tool-base/.browserslistrc"},".browserlistrc")," file. You can change this and rebuild the image. Note: This can cause build speeds to increase or decrease.")),(0,o.kt)("h2",{id:"interfacing-with-your-hardware"},"Interfacing with Your Hardware"),(0,o.kt)("p",null,"Playing with the COSMOS Demo is fun and all, but now you want to talk to your own real hardware? Let's do it!"),(0,o.kt)("admonition",{title:"Install and Platform",type:"info"},(0,o.kt)("p",{parentName:"admonition"},"This guide assumes we're on Windows and COSMOS is installed in C:\\COSMOS. Adjust scripts and paths as necessary to match your platform and COSMOS installation directory.")),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"Before creating your own configuration you should uninstall the COSMOS Demo so you're working with a clean COSMOS system. Click the Admin button and the PLUGINS tab. Then click the Trash can icon next to openc3-cosmos-demo to delete it. When you go back to the Command and Telemetry Server you should have a blank table with no interfaces.")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"If you followed the ",(0,o.kt)("a",{parentName:"p",href:"/tools/docs/docs/getting-started/installation"},"Installation Guide")," you should already be inside a cloned ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/OpenC3/cosmos-project"},"openc3-project"),". Inside this project it's recommended to edit the README.md (",(0,o.kt)("a",{parentName:"p",href:"https://www.markdownguide.org/"},"Markdown"),") to describe your program / project.")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"Now we need to create a plugin. Plugins are how we add targets and microservices to COSMOS. Our plugin will contain a single target which contains all the information defining the packets (command and telemetry) that are needed to communicate with the target. Use the COSMOS plugin generator to create the correct structure:"),(0,o.kt)("pre",{parentName:"li"},(0,o.kt)("code",{parentName:"pre",className:"language-batch"},"C:\\openc3-project> openc3.bat cli generate plugin BOB\n")),(0,o.kt)("p",{parentName:"li"},'This should create a new directory called "openc3-cosmos-bob" with a bunch of files in it. The full description of all the files is explained by the ',(0,o.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/plugins#plugin-directory-structure"},"Plugin Structure")," page."))),(0,o.kt)("admonition",{title:"Run as the Root user",type:"info"},(0,o.kt)("p",{parentName:"admonition"},"The cli runs as the default COSMOS container user which is the recommended practice. If you're having issues running as that user you can run as the root user (effectively ",(0,o.kt)("inlineCode",{parentName:"p"},"docker run --user=root")," ) by running ",(0,o.kt)("inlineCode",{parentName:"p"},"cliroot")," instead of ",(0,o.kt)("inlineCode",{parentName:"p"},"cli")," in any of the examples.")),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"Starting with ",(0,o.kt)("a",{parentName:"p",href:"https://openc3.com/news/2023/02/23/openc3-cosmos-5-5-0-released/"},"COSMOS v5.5.0"),", the plugin generator creates just the plugin framework (previously it would also create a target). From within the newly created plugin directory, we generate a target."),(0,o.kt)("pre",{parentName:"li"},(0,o.kt)("code",{parentName:"pre",className:"language-batch"},"C:\\openc3-project> cd openc3-cosmos-bob\nopenc3-cosmos-bob> openc3.bat cli generate target BOB\n")))),(0,o.kt)("admonition",{title:"Generators",type:"info"},(0,o.kt)("p",{parentName:"admonition"},"There are a number of generators available. Run ",(0,o.kt)("inlineCode",{parentName:"p"},"openc3.bat cli generate")," to see all the avilable options.")),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"The target generator creates a single target named BOB. Best practice is to create a single target per plugin to make it easier to share targets and upgrade them individually. Lets see what the target generator created for us. Open the openc3-cosmos-bob/targets/BOB/cmd_tlm/cmd.txt:"),(0,o.kt)("pre",{parentName:"li"},(0,o.kt)("code",{parentName:"pre",className:"language-ruby"},'COMMAND BOB EXAMPLE BIG_ENDIAN "Packet description"\n # Keyword Name BitSize Type Min Max Default Description\n APPEND_ID_PARAMETER ID 16 INT 1 1 1 "Identifier"\n APPEND_PARAMETER VALUE 32 FLOAT 0 10.5 2.5 "Value"\n APPEND_PARAMETER BOOL 8 UINT MIN MAX 0 "Boolean"\n STATE FALSE 0\n STATE TRUE 1\n APPEND_PARAMETER LABEL 0 STRING "OpenC3" "The label to apply"\n')),(0,o.kt)("p",{parentName:"li"},"What does this all mean?"),(0,o.kt)("ul",{parentName:"li"},(0,o.kt)("li",{parentName:"ul"},"We created a COMMAND for target BOB named EXAMPLE."),(0,o.kt)("li",{parentName:"ul"},'The command is made up of BIG_ENDIAN parameters and is described by "Packet description". Here we are using the append flavor of defining parameters which stacks them back to back as it builds up the packet and you don\'t have to worry about defining the bit offset into the packet.'),(0,o.kt)("li",{parentName:"ul"},'First we APPEND_ID_PARAMETER a parameter that is used to identify the packet called ID that is an 16-bit signed integer (INT) with a minimum value of 1, a maximum value of 1, and a default value of 1, that is described as the "Identifier".'),(0,o.kt)("li",{parentName:"ul"},"Next we APPEND_PARAMETER a parameter called VALUE that is a 32-bit float (FLOAT) that has a minimum value of 0, a maximum value of 10.5, and a default value of 2.5."),(0,o.kt)("li",{parentName:"ul"},"Then we APPEND_PARAMETER a third parameter called BOOL which is a 8-bit unsigned integer (UINT) with a minimum value of MIN (meaning the smallest value a UINT supports, e.g 0), a maximum value of MAX (largest value a UINT supports, e.g. 255), and a default value of 0. BOOL has two states which are just a fancy way of giving meaning to the integer values 0 and 1. The STATE FALSE has a value of 0 and the STATE TRUE has a value of 1."),(0,o.kt)("li",{parentName:"ul"},"Finally we APPEND_PARAMETER called LABEL which is a 0-bit (meaning it takes up all the remaining space in the packet) string (STRING) with a default value of \"OpenC3\". Strings don't have minimum or maximum values as that doesn't make sense for STRING types.")),(0,o.kt)("p",{parentName:"li"},"Check out the full ",(0,o.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/command"},"Command")," documention for more.")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"Now open the openc3-cosmos-bob/targets/BOB/cmd_tlm/tlm.txt:"),(0,o.kt)("pre",{parentName:"li"},(0,o.kt)("code",{parentName:"pre",className:"language-ruby"},'TELEMETRY BOB STATUS BIG_ENDIAN "Telemetry description"\n # Keyword Name BitSize Type ID Description\n APPEND_ID_ITEM ID 16 INT 1 "Identifier"\n APPEND_ITEM VALUE 32 FLOAT "Value"\n APPEND_ITEM BOOL 8 UINT "Boolean"\n STATE FALSE 0\n STATE TRUE 1\n APPEND_ITEM LABEL 0 STRING "The label to apply"\n')),(0,o.kt)("ul",{parentName:"li"},(0,o.kt)("li",{parentName:"ul"},'This time we created a TELEMETRY packet for target BOB called STATUS that contains BIG_ENDIAN items and is described as "Telemetry description".'),(0,o.kt)("li",{parentName:"ul"},'We start by defininig an ID_ITEM called ID that is a 16-bit signed integer (INT) with an id value of 1 and described as "Identifier". Id items are used to take unidentified blobs of bytes and determine which packet they are. In this case if a blob comes in with a value of 1, at bit offset 0 (since we APPEND this item first), interpreted as a 16-bit integer, then this packet will be "identified" as STATUS. Note the first packet defined without any ID_ITEMS is a "catch-all" packet that matches all incoming data (even if the data lengths don\'t match).'),(0,o.kt)("li",{parentName:"ul"},"Next we define three items similar to the command definition above.")),(0,o.kt)("p",{parentName:"li"},"Check out the full ",(0,o.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/telemetry"},"Telemetry")," documention for more.")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"COSMOS has defined an example command and telemetry packet for our target. Most targets will obviously have more than one command and telemetry packet. To add more simply create additional COMMAND and TELEMETRY lines in your text files. Actual packets should match the structure of your command and telemetry. Be sure to add at least one unique ",(0,o.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/command#id_parameter"},"ID_PARAMETER")," and ",(0,o.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/telemetry#id_item"},"ID_ITEM")," so your packets can be distinguished from each other.")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"Now we need to tell COSMOS how to connect to our BOB target. Open the openc3-cosmos-bob/plugin.txt file:"),(0,o.kt)("pre",{parentName:"li"},(0,o.kt)("code",{parentName:"pre",className:"language-ruby"},"# Set VARIABLEs here to allow variation in your plugin\n# See [Plugins](../configuration/plugins.md) for more information\nVARIABLE bob_target_name BOB\n\n# Modify this according to your actual target connection\n# See [Interfaces](../configuration/interfaces.md) for more information\nTARGET BOB <%= bob_target_name %>\nINTERFACE <%= bob_target_name %>_INT tcpip_client_interface.rb host.docker.internal 8080 8081 10.0 nil BURST\n MAP_TARGET <%= bob_target_name %>\n")),(0,o.kt)("ul",{parentName:"li"},(0,o.kt)("li",{parentName:"ul"},'This configures the plugin with a VARIABLE called bob_target_name with a default of "BOB". When you install this plugin you will have the option to change the name of this target to something other than "BOB". This is useful to avoid name conflicts and allows you to have multiple copies of the BOB target in your COSMOS system.'),(0,o.kt)("li",{parentName:"ul"},"The TARGET line declares the new BOB target using the name from the variable. The <%= %> syntax is called ERB (embedded Ruby) and allows us to put variables into our text files, in this case referencing our bob_target_name."),(0,o.kt)("li",{parentName:"ul"},"The last line declares a new INTERFACE called (by default) BOB_INT that will connect as a TCP/IP client using the code in tcpip_client_interface.rb to address host.docker.internal (This adds an /etc/hosts entry to the correct IP address for the host's gateway) using port 8080 for writing and 8081 for reading. It also has a write timeout of 10 seconds and reads will never timeout (nil). The TCP/IP stream will be interpreted using the COSMOS ",(0,o.kt)("a",{parentName:"li",href:"/tools/docs/docs/configuration/protocols#burst-protocol"},"BURST")," protocol which means it will read as much data as it can from the interface. For all the details on how to configure COSMOS interfaces please see the ",(0,o.kt)("a",{parentName:"li",href:"/tools/docs/docs/configuration/interfaces"},"Interface Guide"),". The MAP_TARGET line tells COSMOS that it will receive telemetry from and send commands to the BOB target using the BOB_INT interface.")))),(0,o.kt)("admonition",{title:"Variables Support Reusability",type:"note"},(0,o.kt)("p",{parentName:"admonition"},"In a plugin that you plan to reuse you should make things like hostnames and ports variables")),(0,o.kt)("h2",{id:"building-your-plugin"},"Building Your Plugin"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"Now we need to build our plugin and upload it to COSMOS."),(0,o.kt)("pre",{parentName:"li"},(0,o.kt)("code",{parentName:"pre",className:"language-batch"},"C:\\cosmos-project> cd openc3-cosmos-bob\nC:\\cosmos-project\\openc3-cosmos-bob> ..\\openc3.bat cli rake build VERSION=1.0.0\n Successfully built RubyGem\n Name: openc3-cosmos-bob\n Version: 1.0.0.20210618174517\n File: openc3-cosmos-bob-1.0.0.20210618174517.gem\n")),(0,o.kt)("ul",{parentName:"li"},(0,o.kt)("li",{parentName:"ul"},"Note that the VERSION is required to specify the version to build. We recommend ",(0,o.kt)("a",{parentName:"li",href:"https://semver.org/"},"sematic versioning")," when building your plugin so people using your plugin (including you) know when there are breaking changes."))),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"Once our plugin is built we need to upload it to COSMOS. Go back to the Admin page and click the Plugins Tab. Click on \"Click to Select Plugin\" and select the openc3-cosmos-bob-1.0.0.20210618174517.gem file. Then click Upload. Go back to the CmdTlmServer and you should see the plugin being deployed at which point the BOB_INT interface should appear and try to connect. Go ahead and click 'Cancel' because unless you really have something listening on port 8080 this will never connect. At this point you can explore the other CmdTlmServer tabs and other tools to see your newly defined BOB target.")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},'Let\'s modify our BOB target and then update the copy in COSMOS. If you open Command Sender in COSMOS to BOB EXAMPLE you should see the VALUE parameter has value 2.5. Open the openc3-cosmos-bob/targets/BOB/cmd_tlm/cmd.txt and change the Default value for VALUE to 5 and the description to "New Value".'),(0,o.kt)("pre",{parentName:"li"},(0,o.kt)("code",{parentName:"pre",className:"language-ruby"},'COMMAND BOB EXAMPLE BIG_ENDIAN "Packet description"\n # Keyword Name BitSize Type Min Max Default Description\n APPEND_ID_PARAMETER ID 16 INT 1 1 1 "Identifier"\n APPEND_PARAMETER VALUE 32 FLOAT 0 10.5 5 "New Value"\n APPEND_PARAMETER BOOL 8 UINT MIN MAX 0 "Boolean"\n STATE FALSE 0\n STATE TRUE 1\n APPEND_PARAMETER LABEL 0 STRING "OpenC3" "The label to apply"\n'))),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"Rebuild the plugin with a new VERSION number. Since we didn't make any breaking changes we simply bump the patch release number:"),(0,o.kt)("pre",{parentName:"li"},(0,o.kt)("code",{parentName:"pre",className:"language-batch"},"C:\\cosmos-project\\openc3-cosmos-bob> ..\\openc3.bat cli rake build VERSION=1.0.1\n Successfully built RubyGem\n Name: openc3-cosmos-bob\n Version: 1.0.1.20210618202504\n File: openc3-cosmos-bob-1.0.1.20210618202504.gem\n"))),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},'Go back to the Admin page and click the Plugins Tab. This time click the clock icon next to openc3-cosmos-bob-1.0.0 to Upgrade the plugin. Browse to the newly built plugin gem and select it. This will re-prompt for the plugin variables (bob_target_name) so don\'t change the name and just click OK. You should see a message about the plugin being installed at which point the plugins list will change to openc3-cosmos-bob-1.0.1.20210618202504.gem. Go back to Command Sender and you should see the new Default value for VALUE is 5 and the description is "New Value". We have upgraded our plugin!')),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"At this point you can create a new plugin named after your real target and start modifying the interface and command and telemetry definitions to enable COSMOS to connect to and drive your target. If you run into trouble look for solutions on our ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/OpenC3/cosmos/issues"},"Github Issues")," page. If you would like to enquire about support contracts or professional COSMOS development please contact us at ",(0,o.kt)("a",{parentName:"p",href:"mailto:support@openc3.com"},"support@openc3.com"),"."))))}m.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>p,kt:()=>h});var n=a(2784);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?i(Object(a),!0).forEach((function(t){o(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function l(e,t){if(null==e)return{};var a,n,o=function(e,t){if(null==e)return{};var a,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)a=i[n],t.indexOf(a)>=0||(o[a]=e[a]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)a=i[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}var s=n.createContext({}),c=function(e){var t=n.useContext(s),a=t;return e&&(a="function"==typeof e?e(t):r(r({},t),e)),a},p=function(e){var t=c(e.components);return n.createElement(s.Provider,{value:t},e.children)},d="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var a=e.components,o=e.mdxType,i=e.originalType,s=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),d=c(a),u=o,h=d["".concat(s,".").concat(u)]||d[u]||m[u]||i;return a?n.createElement(h,r(r({ref:t},p),{},{components:a})):n.createElement(h,r({ref:t},p))}));function h(e,t){var a=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=a.length,r=new Array(i);r[0]=u;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l[d]="string"==typeof e?e:o,r[1]=l;for(var c=2;c<i;c++)r[c]=a[c];return n.createElement.apply(null,r)}return n.createElement.apply(null,a)}u.displayName="MDXCreateElement"}}]);