@hangtime/grip-connect 0.8.6 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/README.md +7 -5
  2. package/dist/cjs/index.d.ts +3 -0
  3. package/dist/cjs/index.d.ts.map +1 -0
  4. package/dist/cjs/index.js +14 -0
  5. package/dist/cjs/index.js.map +1 -0
  6. package/dist/cjs/interfaces/base.interface.d.ts +18 -0
  7. package/dist/cjs/interfaces/base.interface.d.ts.map +1 -0
  8. package/dist/cjs/interfaces/base.interface.js +3 -0
  9. package/dist/cjs/interfaces/base.interface.js.map +1 -0
  10. package/dist/cjs/interfaces/callback.interface.d.ts +56 -0
  11. package/dist/cjs/interfaces/callback.interface.d.ts.map +1 -0
  12. package/dist/cjs/interfaces/callback.interface.js +3 -0
  13. package/dist/cjs/interfaces/callback.interface.js.map +1 -0
  14. package/dist/cjs/interfaces/command.interface.d.ts +92 -0
  15. package/dist/cjs/interfaces/command.interface.d.ts.map +1 -0
  16. package/dist/cjs/interfaces/command.interface.js +3 -0
  17. package/dist/cjs/interfaces/command.interface.js.map +1 -0
  18. package/dist/cjs/interfaces/device/climbro.interface.d.ts +12 -0
  19. package/dist/cjs/interfaces/device/climbro.interface.d.ts.map +1 -0
  20. package/dist/cjs/interfaces/device/climbro.interface.js +3 -0
  21. package/dist/cjs/interfaces/device/climbro.interface.js.map +1 -0
  22. package/dist/cjs/interfaces/device/entralpi.interface.d.ts +53 -0
  23. package/dist/cjs/interfaces/device/entralpi.interface.d.ts.map +1 -0
  24. package/dist/cjs/interfaces/device/entralpi.interface.js +3 -0
  25. package/dist/cjs/interfaces/device/entralpi.interface.js.map +1 -0
  26. package/dist/cjs/interfaces/device/forceboard.interface.d.ts +64 -0
  27. package/dist/cjs/interfaces/device/forceboard.interface.d.ts.map +1 -0
  28. package/dist/cjs/interfaces/device/forceboard.interface.js +3 -0
  29. package/dist/cjs/interfaces/device/forceboard.interface.js.map +1 -0
  30. package/dist/cjs/interfaces/device/kilterboard.interface.d.ts +16 -0
  31. package/dist/cjs/interfaces/device/kilterboard.interface.d.ts.map +1 -0
  32. package/dist/cjs/interfaces/device/kilterboard.interface.js +3 -0
  33. package/dist/cjs/interfaces/device/kilterboard.interface.js.map +1 -0
  34. package/dist/cjs/interfaces/device/motherboard.interface.d.ts +54 -0
  35. package/dist/cjs/interfaces/device/motherboard.interface.d.ts.map +1 -0
  36. package/dist/cjs/interfaces/device/motherboard.interface.js +3 -0
  37. package/dist/cjs/interfaces/device/motherboard.interface.js.map +1 -0
  38. package/dist/cjs/interfaces/device/mysmartboard.interface.d.ts +7 -0
  39. package/dist/cjs/interfaces/device/mysmartboard.interface.d.ts.map +1 -0
  40. package/dist/cjs/interfaces/device/mysmartboard.interface.js +3 -0
  41. package/dist/cjs/interfaces/device/mysmartboard.interface.js.map +1 -0
  42. package/dist/cjs/interfaces/device/progressor.interface.d.ts +28 -0
  43. package/dist/cjs/interfaces/device/progressor.interface.d.ts.map +1 -0
  44. package/dist/cjs/interfaces/device/progressor.interface.js +3 -0
  45. package/dist/cjs/interfaces/device/progressor.interface.js.map +1 -0
  46. package/dist/cjs/interfaces/device/smartboard-pro.interface.d.ts +7 -0
  47. package/dist/cjs/interfaces/device/smartboard-pro.interface.d.ts.map +1 -0
  48. package/dist/cjs/interfaces/device/smartboard-pro.interface.js +3 -0
  49. package/dist/cjs/interfaces/device/smartboard-pro.interface.js.map +1 -0
  50. package/dist/cjs/interfaces/device/wh-c06.interface.d.ts +7 -0
  51. package/dist/cjs/interfaces/device/wh-c06.interface.d.ts.map +1 -0
  52. package/dist/cjs/interfaces/device/wh-c06.interface.js +3 -0
  53. package/dist/cjs/interfaces/device/wh-c06.interface.js.map +1 -0
  54. package/dist/cjs/interfaces/device.interface.d.ts +203 -0
  55. package/dist/cjs/interfaces/device.interface.d.ts.map +1 -0
  56. package/dist/cjs/interfaces/device.interface.js +3 -0
  57. package/dist/cjs/interfaces/device.interface.js.map +1 -0
  58. package/dist/cjs/interfaces/download.interface.d.ts +16 -0
  59. package/dist/cjs/interfaces/download.interface.d.ts.map +1 -0
  60. package/dist/cjs/interfaces/download.interface.js +3 -0
  61. package/dist/cjs/interfaces/download.interface.js.map +1 -0
  62. package/dist/cjs/interfaces/index.d.ts +10 -0
  63. package/dist/cjs/interfaces/index.d.ts.map +1 -0
  64. package/dist/cjs/interfaces/index.js +3 -0
  65. package/dist/cjs/interfaces/index.js.map +1 -0
  66. package/dist/cjs/models/base.model.d.ts +13 -0
  67. package/dist/cjs/models/base.model.d.ts.map +1 -0
  68. package/dist/cjs/models/base.model.js +24 -0
  69. package/dist/cjs/models/base.model.js.map +1 -0
  70. package/dist/cjs/models/device/climbro.model.d.ts +42 -0
  71. package/dist/cjs/models/device/climbro.model.d.ts.map +1 -0
  72. package/dist/cjs/models/device/climbro.model.js +149 -0
  73. package/dist/cjs/models/device/climbro.model.js.map +1 -0
  74. package/dist/cjs/models/device/entralpi.model.d.ts +64 -0
  75. package/dist/cjs/models/device/entralpi.model.d.ts.map +1 -0
  76. package/dist/cjs/models/device/entralpi.model.js +244 -0
  77. package/dist/cjs/models/device/entralpi.model.js.map +1 -0
  78. package/dist/cjs/models/device/forceboard.model.d.ts +73 -0
  79. package/dist/cjs/models/device/forceboard.model.d.ts.map +1 -0
  80. package/dist/cjs/models/device/forceboard.model.js +316 -0
  81. package/dist/cjs/models/device/forceboard.model.js.map +1 -0
  82. package/dist/cjs/models/device/kilterboard.model.d.ts +144 -0
  83. package/dist/cjs/models/device/kilterboard.model.d.ts.map +1 -0
  84. package/dist/cjs/models/device/kilterboard.model.js +291 -0
  85. package/dist/cjs/models/device/kilterboard.model.js.map +1 -0
  86. package/dist/cjs/models/device/motherboard.model.d.ts +110 -0
  87. package/dist/cjs/models/device/motherboard.model.d.ts.map +1 -0
  88. package/dist/cjs/models/device/motherboard.model.js +382 -0
  89. package/dist/cjs/models/device/motherboard.model.js.map +1 -0
  90. package/dist/cjs/models/device/mysmartboard.model.d.ts +11 -0
  91. package/dist/cjs/models/device/mysmartboard.model.d.ts.map +1 -0
  92. package/dist/cjs/models/device/mysmartboard.model.js +19 -0
  93. package/dist/cjs/models/device/mysmartboard.model.js.map +1 -0
  94. package/dist/cjs/models/device/progressor.model.d.ts +39 -0
  95. package/dist/cjs/models/device/progressor.model.d.ts.map +1 -0
  96. package/dist/cjs/models/device/progressor.model.js +220 -0
  97. package/dist/cjs/models/device/progressor.model.js.map +1 -0
  98. package/dist/cjs/models/device/smartboard-pro.model.d.ts +11 -0
  99. package/dist/cjs/models/device/smartboard-pro.model.d.ts.map +1 -0
  100. package/dist/cjs/models/device/smartboard-pro.model.js +56 -0
  101. package/dist/cjs/models/device/smartboard-pro.model.js.map +1 -0
  102. package/dist/cjs/models/device/wh-c06.model.d.ts +57 -0
  103. package/dist/cjs/models/device/wh-c06.model.d.ts.map +1 -0
  104. package/dist/cjs/models/device/wh-c06.model.js +171 -0
  105. package/dist/cjs/models/device/wh-c06.model.js.map +1 -0
  106. package/dist/cjs/models/device.model.d.ts +408 -0
  107. package/dist/cjs/models/device.model.d.ts.map +1 -0
  108. package/dist/cjs/models/device.model.js +665 -0
  109. package/dist/cjs/models/device.model.js.map +1 -0
  110. package/dist/cjs/models/index.d.ts +10 -0
  111. package/dist/cjs/models/index.d.ts.map +1 -0
  112. package/dist/cjs/models/index.js +22 -0
  113. package/dist/cjs/models/index.js.map +1 -0
  114. package/dist/index.d.ts +3 -0
  115. package/dist/index.d.ts.map +1 -0
  116. package/dist/index.js +2 -0
  117. package/dist/index.js.map +1 -0
  118. package/dist/interfaces/base.interface.d.ts +18 -0
  119. package/dist/interfaces/base.interface.d.ts.map +1 -0
  120. package/dist/interfaces/base.interface.js +2 -0
  121. package/dist/interfaces/base.interface.js.map +1 -0
  122. package/dist/interfaces/callback.interface.d.ts +56 -0
  123. package/dist/interfaces/callback.interface.d.ts.map +1 -0
  124. package/dist/interfaces/callback.interface.js +2 -0
  125. package/dist/interfaces/callback.interface.js.map +1 -0
  126. package/dist/interfaces/command.interface.d.ts +92 -0
  127. package/dist/interfaces/command.interface.d.ts.map +1 -0
  128. package/dist/interfaces/command.interface.js +2 -0
  129. package/dist/interfaces/command.interface.js.map +1 -0
  130. package/dist/interfaces/device/climbro.interface.d.ts +12 -0
  131. package/dist/interfaces/device/climbro.interface.d.ts.map +1 -0
  132. package/dist/interfaces/device/climbro.interface.js +2 -0
  133. package/dist/interfaces/device/climbro.interface.js.map +1 -0
  134. package/dist/interfaces/device/entralpi.interface.d.ts +53 -0
  135. package/dist/interfaces/device/entralpi.interface.d.ts.map +1 -0
  136. package/dist/interfaces/device/entralpi.interface.js +2 -0
  137. package/dist/interfaces/device/entralpi.interface.js.map +1 -0
  138. package/dist/interfaces/device/forceboard.interface.d.ts +64 -0
  139. package/dist/interfaces/device/forceboard.interface.d.ts.map +1 -0
  140. package/dist/interfaces/device/forceboard.interface.js +2 -0
  141. package/dist/interfaces/device/forceboard.interface.js.map +1 -0
  142. package/dist/interfaces/device/kilterboard.interface.d.ts +16 -0
  143. package/dist/interfaces/device/kilterboard.interface.d.ts.map +1 -0
  144. package/dist/interfaces/device/kilterboard.interface.js +2 -0
  145. package/dist/interfaces/device/kilterboard.interface.js.map +1 -0
  146. package/dist/interfaces/device/motherboard.interface.d.ts +54 -0
  147. package/dist/interfaces/device/motherboard.interface.d.ts.map +1 -0
  148. package/dist/interfaces/device/motherboard.interface.js +2 -0
  149. package/dist/interfaces/device/motherboard.interface.js.map +1 -0
  150. package/dist/interfaces/device/mysmartboard.interface.d.ts +7 -0
  151. package/dist/interfaces/device/mysmartboard.interface.d.ts.map +1 -0
  152. package/dist/interfaces/device/mysmartboard.interface.js +2 -0
  153. package/dist/interfaces/device/mysmartboard.interface.js.map +1 -0
  154. package/dist/interfaces/device/progressor.interface.d.ts +28 -0
  155. package/dist/interfaces/device/progressor.interface.d.ts.map +1 -0
  156. package/dist/interfaces/device/progressor.interface.js +2 -0
  157. package/dist/interfaces/device/progressor.interface.js.map +1 -0
  158. package/dist/interfaces/device/smartboard-pro.interface.d.ts +7 -0
  159. package/dist/interfaces/device/smartboard-pro.interface.d.ts.map +1 -0
  160. package/dist/interfaces/device/smartboard-pro.interface.js +2 -0
  161. package/dist/interfaces/device/smartboard-pro.interface.js.map +1 -0
  162. package/dist/interfaces/device/wh-c06.interface.d.ts +7 -0
  163. package/dist/interfaces/device/wh-c06.interface.d.ts.map +1 -0
  164. package/dist/interfaces/device/wh-c06.interface.js +2 -0
  165. package/dist/interfaces/device/wh-c06.interface.js.map +1 -0
  166. package/dist/interfaces/device.interface.d.ts +203 -0
  167. package/dist/interfaces/device.interface.d.ts.map +1 -0
  168. package/dist/interfaces/device.interface.js +2 -0
  169. package/dist/interfaces/device.interface.js.map +1 -0
  170. package/dist/interfaces/download.interface.d.ts +16 -0
  171. package/dist/interfaces/download.interface.d.ts.map +1 -0
  172. package/dist/interfaces/download.interface.js +2 -0
  173. package/dist/interfaces/download.interface.js.map +1 -0
  174. package/dist/interfaces/index.d.ts +10 -0
  175. package/dist/interfaces/index.d.ts.map +1 -0
  176. package/dist/interfaces/index.js +2 -0
  177. package/dist/interfaces/index.js.map +1 -0
  178. package/dist/models/base.model.d.ts +13 -0
  179. package/dist/models/base.model.d.ts.map +1 -0
  180. package/dist/models/base.model.js +22 -0
  181. package/dist/models/base.model.js.map +1 -0
  182. package/dist/models/device/climbro.model.d.ts +42 -0
  183. package/dist/models/device/climbro.model.d.ts.map +1 -0
  184. package/dist/models/device/climbro.model.js +143 -0
  185. package/dist/models/device/climbro.model.js.map +1 -0
  186. package/dist/models/device/entralpi.model.d.ts +64 -0
  187. package/dist/models/device/entralpi.model.d.ts.map +1 -0
  188. package/dist/models/device/entralpi.model.js +240 -0
  189. package/dist/models/device/entralpi.model.js.map +1 -0
  190. package/dist/models/device/forceboard.model.d.ts +73 -0
  191. package/dist/models/device/forceboard.model.d.ts.map +1 -0
  192. package/dist/models/device/forceboard.model.js +312 -0
  193. package/dist/models/device/forceboard.model.js.map +1 -0
  194. package/dist/models/device/kilterboard.model.d.ts +144 -0
  195. package/dist/models/device/kilterboard.model.d.ts.map +1 -0
  196. package/dist/models/device/kilterboard.model.js +287 -0
  197. package/dist/models/device/kilterboard.model.js.map +1 -0
  198. package/dist/models/device/motherboard.model.d.ts +110 -0
  199. package/dist/models/device/motherboard.model.d.ts.map +1 -0
  200. package/dist/models/device/motherboard.model.js +378 -0
  201. package/dist/models/device/motherboard.model.js.map +1 -0
  202. package/dist/models/device/mysmartboard.model.d.ts +11 -0
  203. package/dist/models/device/mysmartboard.model.d.ts.map +1 -0
  204. package/dist/models/device/mysmartboard.model.js +15 -0
  205. package/dist/models/device/mysmartboard.model.js.map +1 -0
  206. package/dist/models/device/progressor.model.d.ts +39 -0
  207. package/dist/models/device/progressor.model.d.ts.map +1 -0
  208. package/dist/models/device/progressor.model.js +216 -0
  209. package/dist/models/device/progressor.model.js.map +1 -0
  210. package/dist/models/device/smartboard-pro.model.d.ts +11 -0
  211. package/dist/models/device/smartboard-pro.model.d.ts.map +1 -0
  212. package/dist/models/device/smartboard-pro.model.js +52 -0
  213. package/dist/models/device/smartboard-pro.model.js.map +1 -0
  214. package/dist/models/device/wh-c06.model.d.ts +57 -0
  215. package/dist/models/device/wh-c06.model.d.ts.map +1 -0
  216. package/dist/models/device/wh-c06.model.js +167 -0
  217. package/dist/models/device/wh-c06.model.js.map +1 -0
  218. package/dist/models/device.model.d.ts +408 -0
  219. package/dist/models/device.model.d.ts.map +1 -0
  220. package/dist/models/device.model.js +720 -0
  221. package/dist/models/device.model.js.map +1 -0
  222. package/dist/models/index.d.ts +10 -0
  223. package/dist/models/index.d.ts.map +1 -0
  224. package/dist/models/index.js +10 -0
  225. package/dist/models/index.js.map +1 -0
  226. package/dist/tsconfig.cjs.tsbuildinfo +1 -0
  227. package/package.json +5 -1
  228. package/src/interfaces/device/climbro.interface.ts +8 -2
  229. package/src/models/device/climbro.model.ts +150 -3
  230. package/deno.json +0 -8
  231. package/tsconfig.cjs.json +0 -15
  232. package/tsconfig.json +0 -13
package/README.md CHANGED
@@ -135,8 +135,8 @@ document.querySelector("#motherboard").addEventListener("click", async () => {
135
135
  - ✅ [Kilter Board](https://stevie-ray.github.io/hangtime-grip-connect/devices/kilterboard.html)
136
136
  - ✅ [Entralpi](https://stevie-ray.github.io/hangtime-grip-connect/devices/entralpi.html) / Lefu / Unique CW275 Scale
137
137
  - ✅ [PitchSix - Force Board](https://stevie-ray.github.io/hangtime-grip-connect/devices/forceboard.html)
138
+ - ✅ [Climbro](https://stevie-ray.github.io/hangtime-grip-connect/devices/climbro.html)
138
139
  - ➡️ [Forma - DUE](https://stevie-ray.github.io/hangtime-grip-connect/devices/due.html)
139
- - ➡️ [Climbro](https://stevie-ray.github.io/hangtime-grip-connect/devices/climbro.html)
140
140
  - ➡️ [Smartboard Climbing - mySmartBoard](https://stevie-ray.github.io/hangtime-grip-connect/devices/mysmartboard.html)
141
141
  - ➡️
142
142
  [Smartboard Climbing - SmartBoard Pro](https://stevie-ray.github.io/hangtime-grip-connect/devices/smartboard-pro.html)
@@ -165,21 +165,23 @@ npm install
165
165
  A special thank you to:
166
166
 
167
167
  - [@CassimLadha](https://github.com/CassimLadha) for sharing insights on reading the Motherboards data.
168
- - [@donaldharvey](https://github.com/donaldharvey) for a valuable example on connecting to the Motherboard.
168
+ - [@donaldharvey](https://github.com/donaldharvey) for a valuable example of connecting to the Motherboard.
169
169
  - [@ecstrema](https://github.com/ecstrema) for providing [examples](https://github.com/ecstrema/entralpi-games) on how
170
170
  to play games with the Entralpi.
171
171
  - [Tindeq](https://tindeq.com/) for providing an open [Progressor API](https://tindeq.com/progressor_api/).
172
172
  - [PitchSix](https://pitchsix.com/) for the [Force Board Portable Public API](https://pitchsix.com/pages/downloads).
173
173
  - [@StuartLittlefair](https://github.com/StuartLittlefair) for his
174
174
  [PyTindeq](https://github.com/StuartLittlefair/PyTindeq) implementation.
175
- - [@Phil9l](https://github.com/phil9l) for his research and providing a [blog](https://bazun.me/blog/kiterboard/) on how
176
- to connect with the Kilter Board.
175
+ - [@Phil9l](https://github.com/phil9l) for his research and providing a [blog post](https://bazun.me/blog/kiterboard/)
176
+ on how to connect with the Kilter Board.
177
177
  - [@1-max-1](https://github.com/1-max-1) for the docs on his Kilter Board
178
- [simulator](https://github.com/1-max-1/fake_kilter_board) that I coverted to
178
+ [simulator](https://github.com/1-max-1/fake_kilter_board) that I converted to
179
179
  [hangtime-arduino-kilterboard](https://github.com/Stevie-Ray/hangtime-arduino-kilterboard).
180
180
  - [@sebws](https://github.com/sebws) for a [code sample](https://github.com/sebws/Crane) of the Weiheng WH-C06 App.
181
181
  - [@olrut](https://github.com/olrut) for the React Native / Expo [CraneGrip](https://github.com/olrut/CraneGrip) example
182
182
  App.
183
+ - [@ninopelov](https://github.com/ninopelov) and the Climbro Team for testing and providing insights into their
184
+ protocol.
183
185
 
184
186
  ## Disclaimer
185
187
 
@@ -0,0 +1,3 @@
1
+ export type { IClimbro, IEntralpi, IForceBoard, IKilterBoard, IMotherboard, ImySmartBoard, IProgressor, ISmartBoardPro, IWHC06, } from "./interfaces/index.js";
2
+ export { Climbro, Entralpi, ForceBoard, KilterBoard, Motherboard, mySmartBoard, Progressor, SmartBoardPro, WHC06, } from "./models/index.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,QAAQ,EACR,SAAS,EACT,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,WAAW,EACX,cAAc,EACd,MAAM,GACP,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EACL,OAAO,EACP,QAAQ,EACR,UAAU,EACV,WAAW,EACX,WAAW,EACX,YAAY,EACZ,UAAU,EACV,aAAa,EACb,KAAK,GACN,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WHC06 = exports.SmartBoardPro = exports.Progressor = exports.mySmartBoard = exports.Motherboard = exports.KilterBoard = exports.ForceBoard = exports.Entralpi = exports.Climbro = void 0;
4
+ var index_js_1 = require("./models/index.js");
5
+ Object.defineProperty(exports, "Climbro", { enumerable: true, get: function () { return index_js_1.Climbro; } });
6
+ Object.defineProperty(exports, "Entralpi", { enumerable: true, get: function () { return index_js_1.Entralpi; } });
7
+ Object.defineProperty(exports, "ForceBoard", { enumerable: true, get: function () { return index_js_1.ForceBoard; } });
8
+ Object.defineProperty(exports, "KilterBoard", { enumerable: true, get: function () { return index_js_1.KilterBoard; } });
9
+ Object.defineProperty(exports, "Motherboard", { enumerable: true, get: function () { return index_js_1.Motherboard; } });
10
+ Object.defineProperty(exports, "mySmartBoard", { enumerable: true, get: function () { return index_js_1.mySmartBoard; } });
11
+ Object.defineProperty(exports, "Progressor", { enumerable: true, get: function () { return index_js_1.Progressor; } });
12
+ Object.defineProperty(exports, "SmartBoardPro", { enumerable: true, get: function () { return index_js_1.SmartBoardPro; } });
13
+ Object.defineProperty(exports, "WHC06", { enumerable: true, get: function () { return index_js_1.WHC06; } });
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAYA,8CAU0B;AATxB,mGAAA,OAAO,OAAA;AACP,oGAAA,QAAQ,OAAA;AACR,sGAAA,UAAU,OAAA;AACV,uGAAA,WAAW,OAAA;AACX,uGAAA,WAAW,OAAA;AACX,wGAAA,YAAY,OAAA;AACZ,sGAAA,UAAU,OAAA;AACV,yGAAA,aAAa,OAAA;AACb,iGAAA,KAAK,OAAA"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Represents the base properties for an entity.
3
+ */
4
+ export interface IBase {
5
+ /**
6
+ * Unique identifier for the entity (optional).
7
+ */
8
+ id?: string;
9
+ /**
10
+ * The date and time when the entity was created (optional).
11
+ */
12
+ createdAt?: Date;
13
+ /**
14
+ * The date and time when the entity was last updated (optional).
15
+ */
16
+ updatedAt?: Date;
17
+ }
18
+ //# sourceMappingURL=base.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/base.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=base.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.interface.js","sourceRoot":"","sources":["../../../src/interfaces/base.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Represents the mass data collected from a device.
3
+ */
4
+ export interface massObject {
5
+ /**
6
+ * The total mass measured from the device.
7
+ * This is the overall weight or force reading.
8
+ */
9
+ massTotal: string;
10
+ /**
11
+ * The maximum mass recorded during the session.
12
+ * This is the highest weight or force value detected.
13
+ */
14
+ massMax: string;
15
+ /**
16
+ * The average mass calculated from all the recorded data points.
17
+ * This represents the mean value of the mass measurements.
18
+ */
19
+ massAverage: string;
20
+ /**
21
+ * The mass recorded on the left side of the device (optional for Motherboard devices).
22
+ * Used for devices that measure force across multiple zones.
23
+ */
24
+ massLeft?: string;
25
+ /**
26
+ * The mass recorded at the center of the device (optional for Motherboard devices).
27
+ * Used for devices that measure force distribution across a center zone.
28
+ */
29
+ massCenter?: string;
30
+ /**
31
+ * The mass recorded on the right side of the device (optional for Motherboard devices).
32
+ * Used for devices that measure force across multiple zones.
33
+ */
34
+ massRight?: string;
35
+ }
36
+ /**
37
+ * Defines the type for a callback function that handles mass data notifications.
38
+ * The callback receives a `massObject` as the parameter.
39
+ * @callback NotifyCallback
40
+ * @param {massObject} data - The mass data passed to the callback.
41
+ */
42
+ export type NotifyCallback = (data: massObject) => void;
43
+ /**
44
+ * Defines the type for a callback function that handles write operations to the device.
45
+ * The callback receives the data string written to the device.
46
+ * @callback WriteCallback
47
+ * @param {string} data - The string data passed to the callback.
48
+ */
49
+ export type WriteCallback = (data: string) => void;
50
+ /**
51
+ * Type definition for the callback function that is called when the activity status changes.
52
+ * @callback ActiveCallback
53
+ * @param {boolean} value - The new activity status (true if active, false if not).
54
+ */
55
+ export type ActiveCallback = (data: boolean) => void;
56
+ //# sourceMappingURL=callback.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callback.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/callback.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAA;AAEvD;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;AAElD;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=callback.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callback.interface.js","sourceRoot":"","sources":["../../../src/interfaces/callback.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,92 @@
1
+ /**
2
+ * Represents the available commands for various devices such as the Motherboard and Tindeq Progressor.
3
+ */
4
+ export interface Commands {
5
+ /**
6
+ * Starts a weight measurement on the device.
7
+ * Used to begin collecting weight or force data.
8
+ */
9
+ START_WEIGHT_MEAS?: string;
10
+ /**
11
+ * Stops the current weight measurement on the device.
12
+ * Used to end the data collection.
13
+ */
14
+ STOP_WEIGHT_MEAS?: string;
15
+ /**
16
+ * Puts the device to sleep or in a low-power mode.
17
+ * The format can be a string or a number depending on the device.
18
+ */
19
+ SLEEP?: number | string;
20
+ /**
21
+ * Retrieves the serial number of the device.
22
+ * This command fetches the unique identifier assigned by the manufacturer.
23
+ */
24
+ GET_SERIAL?: string;
25
+ /**
26
+ * Retrieves textual information from the device.
27
+ * May include readable data.
28
+ */
29
+ GET_TEXT?: string;
30
+ /**
31
+ * Starts or stops a debug data stream from the device.
32
+ * Used for diagnostic purposes or to monitor real-time data.
33
+ */
34
+ DEBUG_STREAM?: string;
35
+ /**
36
+ * Retrieves calibration data from the device.
37
+ * Used to ensure accurate measurements by applying calibration points.
38
+ */
39
+ GET_CALIBRATION?: string;
40
+ /**
41
+ * Sets the Force Board into Quick Start mode.
42
+ * In this mode, data transmission starts when force exceeds the threshold
43
+ * and stops when force drops below the threshold.
44
+ */
45
+ START_QUICK_MEAS?: string;
46
+ /**
47
+ * Tares the scale, zeroing the current weight measurement.
48
+ * Used to reset the baseline for weight data.
49
+ */
50
+ TARE_SCALE?: string;
51
+ /**
52
+ * Starts measuring the peak rate of force development (RFD).
53
+ * Captures how quickly force is applied over time.
54
+ */
55
+ START_PEAK_RFD_MEAS?: string;
56
+ /**
57
+ * Starts measuring a series of peak RFD measurements.
58
+ * This captures multiple RFD data points over a period of time.
59
+ */
60
+ START_PEAK_RFD_MEAS_SERIES?: string;
61
+ /**
62
+ * Adds a calibration point to the device.
63
+ * Used to improve the accuracy of future measurements.
64
+ */
65
+ ADD_CALIB_POINT?: string;
66
+ /**
67
+ * Saves the current calibration settings to the device.
68
+ * Ensures the device remembers the calibration for future sessions.
69
+ */
70
+ SAVE_CALIB?: string;
71
+ /**
72
+ * Retrieves the firmware version of the device.
73
+ * Useful for ensuring compatibility and tracking updates.
74
+ */
75
+ GET_FW_VERSION?: string;
76
+ /**
77
+ * Retrieves error information from the device.
78
+ * Provides details on any faults or issues that occurred during operation.
79
+ */
80
+ GET_ERR_INFO?: string;
81
+ /**
82
+ * Clears the error information on the device.
83
+ * Used to reset error logs after troubleshooting or repair.
84
+ */
85
+ CLR_ERR_INFO?: string;
86
+ /**
87
+ * Retrieves the battery voltage level of the device.
88
+ * Provides insight into the device's remaining battery power.
89
+ */
90
+ GET_BATT_VLTG?: string;
91
+ }
92
+ //# sourceMappingURL=command.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/command.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,QAAQ;IAGvB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAE1B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAInB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IAIxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAIzB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B;;;OAGG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAA;IAEnC;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=command.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.interface.js","sourceRoot":"","sources":["../../../src/interfaces/command.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import type { IDevice } from "../device.interface.js";
2
+ /**
3
+ * Interface representing the Climbro device, extending the base Device interface.
4
+ */
5
+ export interface IClimbro extends IDevice {
6
+ /**
7
+ * Retrieves battery level from the device.
8
+ * @returns {Promise<string | undefined>} A Promise that resolves with the battery level.
9
+ */
10
+ battery(): Promise<string | undefined>;
11
+ }
12
+ //# sourceMappingURL=climbro.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"climbro.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/climbro.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErD;;GAEG;AACH,MAAM,WAAW,QAAS,SAAQ,OAAO;IACvC;;;OAGG;IACH,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;CACvC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=climbro.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"climbro.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/device/climbro.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,53 @@
1
+ import type { IDevice } from "../device.interface.js";
2
+ /**
3
+ * Interface representing the Entralpi device, extending the base Device interface.
4
+ */
5
+ export interface IEntralpi extends IDevice {
6
+ /**
7
+ * Retrieves battery or voltage information from the device.
8
+ * @returns {Promise<string | undefined>} A Promise that resolves with the battery or voltage information.
9
+ */
10
+ battery(): Promise<string | undefined>;
11
+ /**
12
+ * Retrieves IEEE 11073-20601 Regulatory Certification from the device.
13
+ * @returns {Promise<string | undefined>} A Promise that resolves with the firmware version.
14
+ */
15
+ certification(): Promise<string | undefined>;
16
+ /**
17
+ * Retrieves firmware version from the device.
18
+ * @returns {Promise<string | undefined>} A Promise that resolves with the firmware version.
19
+ */
20
+ firmware(): Promise<string | undefined>;
21
+ /**
22
+ * Retrieves hardware version from the device.
23
+ * @returns {Promise<string | undefined>} A Promise that resolves with the hardware version.
24
+ */
25
+ hardware(): Promise<string | undefined>;
26
+ /**
27
+ * Retrieves manufacturer information from the device.
28
+ * @returns {Promise<string | undefined>} A Promise that resolves with the manufacturer information.
29
+ */
30
+ manufacturer(): Promise<string | undefined>;
31
+ /**
32
+ * Retrieves model number from the device.
33
+ * @returns {Promise<string | undefined>} A Promise that resolves with the model number.
34
+ */
35
+ model(): Promise<string | undefined>;
36
+ /**
37
+ * Retrieves PnP ID from the device, a set of values that used to create a device ID value that is unique for this device.
38
+ * Included in the characteristic is a Vendor ID Source field, a Vendor ID field, a Product ID field and a Product Version field
39
+ * @returns {Promise<string | undefined>} A Promise that resolves with the PnP ID.
40
+ */
41
+ pnp(): Promise<string | undefined>;
42
+ /**
43
+ * Retrieves software version from the device.
44
+ * @returns {Promise<string | undefined>} A Promise that resolves with the software version.
45
+ */
46
+ software(): Promise<string | undefined>;
47
+ /**
48
+ * Retrieves system id from the device.
49
+ * @returns {Promise<string | undefined>} A Promise that resolves with the system id.
50
+ */
51
+ system(): Promise<string | undefined>;
52
+ }
53
+ //# sourceMappingURL=entralpi.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entralpi.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/entralpi.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErD;;GAEG;AACH,MAAM,WAAW,SAAU,SAAQ,OAAO;IACxC;;;OAGG;IACH,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEtC;;;OAGG;IACH,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAE5C;;;OAGG;IACH,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEvC;;;OAGG;IACH,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEvC;;;OAGG;IACH,YAAY,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAE3C;;;OAGG;IACH,KAAK,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEpC;;;;OAIG;IACH,GAAG,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAElC;;;OAGG;IACH,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEvC;;;OAGG;IACH,MAAM,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;CACtC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entralpi.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entralpi.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/device/entralpi.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,64 @@
1
+ import type { IDevice } from "../device.interface.js";
2
+ /**
3
+ * Interface representing the PitchSix ForceBoard device, extending the base Device interface.
4
+ */
5
+ export interface IForceBoard extends IDevice {
6
+ /**
7
+ * Retrieves battery or voltage information from the device.
8
+ * @returns {Promise<string | undefined>} A Promise that resolves with the battery or voltage information.
9
+ */
10
+ battery(): Promise<string | undefined>;
11
+ /**
12
+ * Retrieves humidity level from the device.
13
+ * @returns {Promise<string | undefined>} A Promise that resolves with the humidity level.
14
+ */
15
+ humidity(): Promise<string | undefined>;
16
+ /**
17
+ * Retrieves manufacturer information from the device.
18
+ * @returns {Promise<string | undefined>} A Promise that resolves with the manufacturer information.
19
+ */
20
+ manufacturer(): Promise<string | undefined>;
21
+ /**
22
+ * Stops the data stream on the specified device by setting it to Idle mode.
23
+ * Writes 0x07 to the Device Mode characteristic.
24
+ * @returns {Promise<void>} A promise that resolves when the stream is stopped.
25
+ */
26
+ stop(): Promise<void>;
27
+ /**
28
+ * Starts streaming data from the specified device in Streaming Data Mode.
29
+ * Writes 0x04 to the Device Mode characteristic.
30
+ * @param {number} [duration=0] - The duration of the stream in milliseconds. If set to 0, stream will continue indefinitely.
31
+ * @returns {Promise<void>} A promise that resolves when the streaming operation is completed.
32
+ */
33
+ stream(duration?: number): Promise<void>;
34
+ /**
35
+ * Tares the Force Board device using a characteristic to zero out the current load value.
36
+ * @returns {Promise<void>} A promise that resolves when the tare operation is completed.
37
+ */
38
+ tareByCharacteristic(): Promise<void>;
39
+ /**
40
+ * Tares the Force Board device using the Device Mode characteristic.
41
+ * Writes 0x05 to the Device Mode characteristic to zero out the current load value.
42
+ * @returns {Promise<void>} A promise that resolves when the tare operation is completed.
43
+ */
44
+ tareByMode(): Promise<void>;
45
+ /**
46
+ * Sets the threshold for the Quick Start mode.
47
+ * @param {number} thresholdLbs - The threshold value in pounds.
48
+ * @returns {Promise<void>} A promise that resolves when the threshold is set.
49
+ */
50
+ threshold(thresholdLbs: number): Promise<void>;
51
+ /**
52
+ * Retrieves temperature information from the device.
53
+ * @returns {Promise<string | undefined>} A Promise that resolves with the temperature information.
54
+ */
55
+ temperature(): Promise<string | undefined>;
56
+ /**
57
+ * Starts the Force Board in Quick Start mode.
58
+ * Writes 0x06 to the Device Mode characteristic.
59
+ * @param {number} [duration=0] - The duration in milliseconds. If set to 0, mode will continue indefinitely.
60
+ * @returns {Promise<void>} A promise that resolves when the operation is completed.
61
+ */
62
+ quick(duration?: number): Promise<void>;
63
+ }
64
+ //# sourceMappingURL=forceboard.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forceboard.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/forceboard.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErD;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,OAAO;IAC1C;;;OAGG;IACH,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEtC;;;OAGG;IACH,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEvC;;;OAGG;IACH,YAAY,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAE3C;;;;OAIG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAErB;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAExC;;;OAGG;IACH,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAErC;;;;OAIG;IACH,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAE3B;;;;OAIG;IACH,SAAS,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAE9C;;;OAGG;IACH,WAAW,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAE1C;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACxC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=forceboard.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forceboard.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/device/forceboard.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import type { IDevice } from "../device.interface.js";
2
+ /**
3
+ * Interface representing the KilterBoard device, extending the base Device interface.
4
+ */
5
+ export interface IKilterBoard extends IDevice {
6
+ /**
7
+ * Configures the LEDs based on an array of climb placements.
8
+ * @param {{ position: number; role_id: number }[]} config - Array of climb placements for the LEDs.
9
+ * @returns {Promise<number[] | undefined>} A promise that resolves with the payload array for the Kilter Board if LED settings were applied, or `undefined` if no action was taken or for the Motherboard.
10
+ */
11
+ led(config: {
12
+ position: number;
13
+ role_id: number;
14
+ }[]): Promise<number[] | undefined>;
15
+ }
16
+ //# sourceMappingURL=kilterboard.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kilterboard.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/kilterboard.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,OAAO;IAC3C;;;;OAIG;IACH,GAAG,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAA;CACpF"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=kilterboard.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kilterboard.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/device/kilterboard.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,54 @@
1
+ import type { IDevice } from "../device.interface.js";
2
+ /**
3
+ * Interface representing the Griptonite Motherboard device, extending the base Device interface.
4
+ */
5
+ export interface IMotherboard extends IDevice {
6
+ /**
7
+ * Retrieves battery or voltage information from the device.
8
+ * @returns {Promise<string | undefined>} A Promise that resolves with the battery or voltage information.
9
+ */
10
+ battery(): Promise<string | undefined>;
11
+ /**
12
+ * Writes a command to get calibration data from the device.
13
+ * @returns {Promise<void>} A Promise that resolves when the command is successfully sent.
14
+ */
15
+ calibration(): Promise<void>;
16
+ /**
17
+ * Retrieves firmware version from the device.
18
+ * @returns {Promise<string | undefined>} A Promise that resolves with the firmware version.
19
+ */
20
+ firmware(): Promise<string | undefined>;
21
+ /**
22
+ * Retrieves hardware version from the device.
23
+ * @returns {Promise<string | undefined>} A Promise that resolves with the hardware version.
24
+ */
25
+ hardware(): Promise<string | undefined>;
26
+ /**
27
+ * Sets the LED color based on a single color option.
28
+ * @param {"green" | "red" | "orange"} [config] - Optional color for the LEDs.
29
+ * @returns {Promise<number[] | undefined>} A promise that resolves with the payload array for the Kilter Board if LED settings were applied.
30
+ */
31
+ led(config?: "green" | "red" | "orange"): Promise<number[] | undefined>;
32
+ /**
33
+ * Retrieves manufacturer information from the device.
34
+ * @returns {Promise<string | undefined>} A Promise that resolves with the manufacturer information.
35
+ */
36
+ manufacturer(): Promise<string | undefined>;
37
+ /**
38
+ * Retrieves serial number from the device.
39
+ * @returns {Promise<string | undefined>} A Promise that resolves with the serial number.
40
+ */
41
+ serial(): Promise<string | undefined>;
42
+ /**
43
+ * Stops the data stream on the specified device.
44
+ * @returns {Promise<void>} A promise that resolves when the stream is stopped.
45
+ */
46
+ stop(): Promise<void>;
47
+ /**
48
+ * Starts streaming data from the specified device.
49
+ * @param {number} [duration=0] - The duration of the stream in milliseconds. If set to 0, stream will continue indefinitely.
50
+ * @returns {Promise<void>} A promise that resolves when the streaming operation is completed.
51
+ */
52
+ stream(duration?: number): Promise<void>;
53
+ }
54
+ //# sourceMappingURL=motherboard.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"motherboard.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/motherboard.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErD;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,OAAO;IAC3C;;;OAGG;IACH,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEtC;;;OAGG;IACH,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAE5B;;;OAGG;IACH,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEvC;;;OAGG;IACH,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEvC;;;;OAIG;IACH,GAAG,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAA;IAEvE;;;OAGG;IACH,YAAY,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAE3C;;;OAGG;IACH,MAAM,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAErC;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAErB;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACzC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=motherboard.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"motherboard.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/device/motherboard.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { IDevice } from "../device.interface.js";
2
+ /**
3
+ * Interface representing the Smartboard Climbing mySmartBoard device, extending the base Device interface.
4
+ */
5
+ export interface ImySmartBoard extends IDevice {
6
+ }
7
+ //# sourceMappingURL=mysmartboard.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mysmartboard.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/mysmartboard.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD;;GAEG;AAEH,MAAM,WAAW,aAAc,SAAQ,OAAO;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=mysmartboard.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mysmartboard.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/device/mysmartboard.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,28 @@
1
+ import type { IDevice } from "../device.interface.js";
2
+ /**
3
+ * Interface representing the Tindeq Progressor device, extending the base Device interface.
4
+ */
5
+ export interface IProgressor extends IDevice {
6
+ /**
7
+ * Retrieves battery or voltage information from the device.
8
+ * @returns {Promise<string | undefined>} A Promise that resolves with the battery or voltage information.
9
+ */
10
+ battery(): Promise<string | undefined>;
11
+ /**
12
+ * Retrieves firmware version from the device.
13
+ * @returns {Promise<string>} A Promise that resolves with the firmware version.
14
+ */
15
+ firmware(): Promise<string | undefined>;
16
+ /**
17
+ * Stops the data stream on the specified device.
18
+ * @returns {Promise<void>} A promise that resolves when the stream is stopped.
19
+ */
20
+ stop(): Promise<void>;
21
+ /**
22
+ * Starts streaming data from the specified device.
23
+ * @param {number} [duration=0] - The duration of the stream in milliseconds. If set to 0, stream will continue indefinitely.
24
+ * @returns {Promise<void>} A promise that resolves when the streaming operation is completed.
25
+ */
26
+ stream(duration?: number): Promise<void>;
27
+ }
28
+ //# sourceMappingURL=progressor.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progressor.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/progressor.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErD;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,OAAO;IAC1C;;;OAGG;IACH,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEtC;;;OAGG;IACH,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEvC;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAErB;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACzC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=progressor.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progressor.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/device/progressor.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { IDevice } from "../device.interface.js";
2
+ /**
3
+ * Interface representing the Smartboard Climbing SmartBoard Pro device, extending the base Device interface.
4
+ */
5
+ export interface ISmartBoardPro extends IDevice {
6
+ }
7
+ //# sourceMappingURL=smartboard-pro.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smartboard-pro.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/smartboard-pro.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD;;GAEG;AAEH,MAAM,WAAW,cAAe,SAAQ,OAAO;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=smartboard-pro.interface.js.map