@hangtime/grip-connect 0.12.0 → 0.13.1

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 (180) hide show
  1. package/README.md +20 -9
  2. package/dist/cjs/index.d.ts +2 -2
  3. package/dist/cjs/index.d.ts.map +1 -1
  4. package/dist/cjs/index.js +3 -3
  5. package/dist/cjs/index.js.map +1 -1
  6. package/dist/cjs/interfaces/command.interface.d.ts +110 -21
  7. package/dist/cjs/interfaces/command.interface.d.ts.map +1 -1
  8. package/dist/cjs/interfaces/device/aurora.interface.d.ts +17 -0
  9. package/dist/cjs/interfaces/device/aurora.interface.d.ts.map +1 -0
  10. package/dist/cjs/interfaces/device/{kilterboard.interface.js → aurora.interface.js} +1 -1
  11. package/dist/cjs/interfaces/device/aurora.interface.js.map +1 -0
  12. package/dist/cjs/interfaces/device/cts500.interface.d.ts +96 -0
  13. package/dist/cjs/interfaces/device/cts500.interface.d.ts.map +1 -0
  14. package/dist/cjs/interfaces/device/cts500.interface.js +3 -0
  15. package/dist/cjs/interfaces/device/cts500.interface.js.map +1 -0
  16. package/dist/cjs/interfaces/device/forceboard.interface.d.ts +2 -2
  17. package/dist/cjs/interfaces/device/forceboard.interface.d.ts.map +1 -1
  18. package/dist/cjs/interfaces/device/motherboard.interface.d.ts +1 -1
  19. package/dist/cjs/interfaces/device/pb-700bt.interface.d.ts +53 -0
  20. package/dist/cjs/interfaces/device/pb-700bt.interface.d.ts.map +1 -0
  21. package/dist/cjs/interfaces/device/pb-700bt.interface.js +3 -0
  22. package/dist/cjs/interfaces/device/pb-700bt.interface.js.map +1 -0
  23. package/dist/cjs/interfaces/device/progressor.interface.d.ts +2 -2
  24. package/dist/cjs/interfaces/device/progressor.interface.d.ts.map +1 -1
  25. package/dist/cjs/interfaces/index.d.ts +4 -1
  26. package/dist/cjs/interfaces/index.d.ts.map +1 -1
  27. package/dist/cjs/interfaces/nordic.interface.d.ts +47 -0
  28. package/dist/cjs/interfaces/nordic.interface.d.ts.map +1 -0
  29. package/dist/cjs/interfaces/nordic.interface.js +3 -0
  30. package/dist/cjs/interfaces/nordic.interface.js.map +1 -0
  31. package/dist/cjs/models/device/{kilterboard.model.d.ts → aurora.model.d.ts} +82 -40
  32. package/dist/cjs/models/device/aurora.model.d.ts.map +1 -0
  33. package/dist/cjs/models/device/aurora.model.js +407 -0
  34. package/dist/cjs/models/device/aurora.model.js.map +1 -0
  35. package/dist/cjs/models/device/climbro.model.js +1 -1
  36. package/dist/cjs/models/device/climbro.model.js.map +1 -1
  37. package/dist/cjs/models/device/cts500.model.d.ts +173 -0
  38. package/dist/cjs/models/device/cts500.model.d.ts.map +1 -0
  39. package/dist/cjs/models/device/cts500.model.js +596 -0
  40. package/dist/cjs/models/device/cts500.model.js.map +1 -0
  41. package/dist/cjs/models/device/forceboard.model.d.ts +2 -2
  42. package/dist/cjs/models/device/forceboard.model.d.ts.map +1 -1
  43. package/dist/cjs/models/device/forceboard.model.js +9 -16
  44. package/dist/cjs/models/device/forceboard.model.js.map +1 -1
  45. package/dist/cjs/models/device/motherboard.model.d.ts +4 -1
  46. package/dist/cjs/models/device/motherboard.model.d.ts.map +1 -1
  47. package/dist/cjs/models/device/motherboard.model.js +26 -10
  48. package/dist/cjs/models/device/motherboard.model.js.map +1 -1
  49. package/dist/cjs/models/device/pb-700bt.model.d.ts +2 -1
  50. package/dist/cjs/models/device/pb-700bt.model.d.ts.map +1 -1
  51. package/dist/cjs/models/device/pb-700bt.model.js.map +1 -1
  52. package/dist/cjs/models/device/progressor.model.d.ts +2 -2
  53. package/dist/cjs/models/device/progressor.model.d.ts.map +1 -1
  54. package/dist/cjs/models/device/progressor.model.js +4 -20
  55. package/dist/cjs/models/device/progressor.model.js.map +1 -1
  56. package/dist/cjs/models/device/wh-c06.model.d.ts +2 -0
  57. package/dist/cjs/models/device/wh-c06.model.d.ts.map +1 -1
  58. package/dist/cjs/models/device/wh-c06.model.js +45 -34
  59. package/dist/cjs/models/device/wh-c06.model.js.map +1 -1
  60. package/dist/cjs/models/device.model.d.ts +25 -5
  61. package/dist/cjs/models/device.model.d.ts.map +1 -1
  62. package/dist/cjs/models/device.model.js +94 -24
  63. package/dist/cjs/models/device.model.js.map +1 -1
  64. package/dist/cjs/models/index.d.ts +3 -1
  65. package/dist/cjs/models/index.d.ts.map +1 -1
  66. package/dist/cjs/models/index.js +8 -4
  67. package/dist/cjs/models/index.js.map +1 -1
  68. package/dist/cjs/models/nordic.model.d.ts +128 -0
  69. package/dist/cjs/models/nordic.model.d.ts.map +1 -0
  70. package/dist/cjs/models/nordic.model.js +405 -0
  71. package/dist/cjs/models/nordic.model.js.map +1 -0
  72. package/dist/cjs/package.json +3 -0
  73. package/dist/index.d.ts +2 -2
  74. package/dist/index.d.ts.map +1 -1
  75. package/dist/index.js +1 -1
  76. package/dist/index.js.map +1 -1
  77. package/dist/interfaces/command.interface.d.ts +110 -21
  78. package/dist/interfaces/command.interface.d.ts.map +1 -1
  79. package/dist/interfaces/device/aurora.interface.d.ts +17 -0
  80. package/dist/interfaces/device/aurora.interface.d.ts.map +1 -0
  81. package/dist/interfaces/device/aurora.interface.js +2 -0
  82. package/dist/interfaces/device/aurora.interface.js.map +1 -0
  83. package/dist/interfaces/device/cts500.interface.d.ts +96 -0
  84. package/dist/interfaces/device/cts500.interface.d.ts.map +1 -0
  85. package/dist/interfaces/device/cts500.interface.js +2 -0
  86. package/dist/interfaces/device/cts500.interface.js.map +1 -0
  87. package/dist/interfaces/device/forceboard.interface.d.ts +2 -2
  88. package/dist/interfaces/device/forceboard.interface.d.ts.map +1 -1
  89. package/dist/interfaces/device/motherboard.interface.d.ts +1 -1
  90. package/dist/interfaces/device/pb-700bt.interface.d.ts +53 -0
  91. package/dist/interfaces/device/pb-700bt.interface.d.ts.map +1 -0
  92. package/dist/interfaces/device/pb-700bt.interface.js +2 -0
  93. package/dist/interfaces/device/pb-700bt.interface.js.map +1 -0
  94. package/dist/interfaces/device/progressor.interface.d.ts +2 -2
  95. package/dist/interfaces/device/progressor.interface.d.ts.map +1 -1
  96. package/dist/interfaces/index.d.ts +4 -1
  97. package/dist/interfaces/index.d.ts.map +1 -1
  98. package/dist/interfaces/nordic.interface.d.ts +47 -0
  99. package/dist/interfaces/nordic.interface.d.ts.map +1 -0
  100. package/dist/interfaces/nordic.interface.js +2 -0
  101. package/dist/interfaces/nordic.interface.js.map +1 -0
  102. package/dist/models/device/{kilterboard.model.d.ts → aurora.model.d.ts} +82 -40
  103. package/dist/models/device/aurora.model.d.ts.map +1 -0
  104. package/dist/models/device/aurora.model.js +401 -0
  105. package/dist/models/device/aurora.model.js.map +1 -0
  106. package/dist/models/device/climbro.model.js +1 -1
  107. package/dist/models/device/climbro.model.js.map +1 -1
  108. package/dist/models/device/cts500.model.d.ts +173 -0
  109. package/dist/models/device/cts500.model.d.ts.map +1 -0
  110. package/dist/models/device/cts500.model.js +592 -0
  111. package/dist/models/device/cts500.model.js.map +1 -0
  112. package/dist/models/device/forceboard.model.d.ts +2 -2
  113. package/dist/models/device/forceboard.model.d.ts.map +1 -1
  114. package/dist/models/device/forceboard.model.js +9 -16
  115. package/dist/models/device/forceboard.model.js.map +1 -1
  116. package/dist/models/device/motherboard.model.d.ts +4 -1
  117. package/dist/models/device/motherboard.model.d.ts.map +1 -1
  118. package/dist/models/device/motherboard.model.js +26 -10
  119. package/dist/models/device/motherboard.model.js.map +1 -1
  120. package/dist/models/device/pb-700bt.model.d.ts +2 -1
  121. package/dist/models/device/pb-700bt.model.d.ts.map +1 -1
  122. package/dist/models/device/pb-700bt.model.js.map +1 -1
  123. package/dist/models/device/progressor.model.d.ts +2 -2
  124. package/dist/models/device/progressor.model.d.ts.map +1 -1
  125. package/dist/models/device/progressor.model.js +4 -20
  126. package/dist/models/device/progressor.model.js.map +1 -1
  127. package/dist/models/device/wh-c06.model.d.ts +2 -0
  128. package/dist/models/device/wh-c06.model.d.ts.map +1 -1
  129. package/dist/models/device/wh-c06.model.js +44 -34
  130. package/dist/models/device/wh-c06.model.js.map +1 -1
  131. package/dist/models/device.model.d.ts +25 -5
  132. package/dist/models/device.model.d.ts.map +1 -1
  133. package/dist/models/device.model.js +93 -24
  134. package/dist/models/device.model.js.map +1 -1
  135. package/dist/models/index.d.ts +3 -1
  136. package/dist/models/index.d.ts.map +1 -1
  137. package/dist/models/index.js +3 -1
  138. package/dist/models/index.js.map +1 -1
  139. package/dist/models/nordic.model.d.ts +128 -0
  140. package/dist/models/nordic.model.d.ts.map +1 -0
  141. package/dist/models/nordic.model.js +393 -0
  142. package/dist/models/nordic.model.js.map +1 -0
  143. package/package.json +47 -43
  144. package/src/index.ts +6 -3
  145. package/src/interfaces/command.interface.ts +131 -21
  146. package/src/interfaces/device/aurora.interface.ts +18 -0
  147. package/src/interfaces/device/cts500.interface.ts +113 -0
  148. package/src/interfaces/device/forceboard.interface.ts +2 -2
  149. package/src/interfaces/device/motherboard.interface.ts +1 -1
  150. package/src/interfaces/device/pb-700bt.interface.ts +61 -0
  151. package/src/interfaces/device/progressor.interface.ts +2 -2
  152. package/src/interfaces/index.ts +8 -2
  153. package/src/interfaces/nordic.interface.ts +47 -0
  154. package/src/models/device/aurora.model.ts +497 -0
  155. package/src/models/device/climbro.model.ts +1 -1
  156. package/src/models/device/cts500.model.ts +709 -0
  157. package/src/models/device/forceboard.model.ts +9 -16
  158. package/src/models/device/motherboard.model.ts +51 -9
  159. package/src/models/device/pb-700bt.model.ts +2 -1
  160. package/src/models/device/progressor.model.ts +4 -20
  161. package/src/models/device/wh-c06.model.ts +54 -42
  162. package/src/models/device.model.ts +104 -24
  163. package/src/models/index.ts +5 -1
  164. package/src/models/nordic.model.ts +468 -0
  165. package/dist/cjs/interfaces/device/kilterboard.interface.d.ts +0 -17
  166. package/dist/cjs/interfaces/device/kilterboard.interface.d.ts.map +0 -1
  167. package/dist/cjs/interfaces/device/kilterboard.interface.js.map +0 -1
  168. package/dist/cjs/models/device/kilterboard.model.d.ts.map +0 -1
  169. package/dist/cjs/models/device/kilterboard.model.js +0 -327
  170. package/dist/cjs/models/device/kilterboard.model.js.map +0 -1
  171. package/dist/interfaces/device/kilterboard.interface.d.ts +0 -17
  172. package/dist/interfaces/device/kilterboard.interface.d.ts.map +0 -1
  173. package/dist/interfaces/device/kilterboard.interface.js +0 -2
  174. package/dist/interfaces/device/kilterboard.interface.js.map +0 -1
  175. package/dist/models/device/kilterboard.model.d.ts.map +0 -1
  176. package/dist/models/device/kilterboard.model.js +0 -323
  177. package/dist/models/device/kilterboard.model.js.map +0 -1
  178. package/dist/tsconfig.cjs.tsbuildinfo +0 -1
  179. package/src/interfaces/device/kilterboard.interface.ts +0 -12
  180. package/src/models/device/kilterboard.model.ts +0 -347
package/README.md CHANGED
@@ -8,15 +8,16 @@ the [Griptonite Motherboard](https://griptonite.io/shop/motherboard/),
8
8
  [Tindeq Progressor](https://tindeq.com/product/progressor/),
9
9
  [PitchSix Force Board](https://pitchsix.com/products/force-board-portable),
10
10
  [Weiheng WH-C06](https://weihengmanufacturer.com/products/wh-c06-bluetooth-300kg-hanging-scale/),
11
+ [Jlyscales CTS500](https://www.alibaba.com/product-detail/Mini-Climbing-Training-Scale-CTS500-Aluminum_1601637814595.html),
11
12
  [Frez Dyno](https://shop.frez.app/products/pre-order-frez-dyno), [Entralpi](https://entralpi.com/),
12
13
  [Climbro](https://climbro.com/), or [mySmartBoard](https://www.smartboard-climbing.com/)
13
14
 
14
- And LED system boards from [Aurora Climbing](https://auroraclimbing.com/) like the
15
- [Kilter Board](https://settercloset.com/pages/the-kilter-board),
16
- [Tension Board](https://tensionclimbing.com/product/tension-board-2/),
15
+ And LED system boards with a controller box from [Aurora Climbing](https://auroraclimbing.com/) like the
16
+ [Kilter Board](https://kilterboard.io/), [Tension Board](https://tensionclimbing.com/product/tension-board-2/),
17
17
  [Grasshopper Board](https://grasshopperclimbing.com/products/),
18
- [Decoy Board](https://decoy-holds.com/pages/decoy-board), [Touchstone Board](https://touchstoneboardapp.com/) and
19
- [So iLL Board](https://apps.apple.com/us/app/so-ill-board/id1358056082).
18
+ [Decoy Board](https://decoy-holds.com/pages/decoy-board),
19
+ [Touchstone Board](https://touchstoneclimbing.com/team-training-center/training-center-boards/) and
20
+ [So iLL Board](https://soillholds.com/products/connect-board).
20
21
 
21
22
  And gyroscopic hand exercisers, such as the [NSD PB-700BT](https://www.nsd.com.tw/).
22
23
 
@@ -40,7 +41,7 @@ Learn more: [Documentation](https://stevie-ray.github.io/hangtime-grip-connect/)
40
41
 
41
42
  [Force Measurement App](https://grip-connect.vercel.app/) -
42
43
  [Flappy Bird](https://grip-connect-flappy-bird.vercel.app/) - [Pong](https://hangtime-grip-connect-pong.vercel.app/) -
43
- [Kilter Board](https://grip-connect-kilter-board.vercel.app/?route=p1083r15p1117r15p1164r12p1185r12p1233r13p1282r13p1303r13p1372r13p1392r14p1505r15)
44
+ [Aurora LED Boards](https://grip-connect-aurora.vercel.app/?route=p1083r15p1117r15p1164r12p1185r12p1233r13p1282r13p1303r13p1372r13p1392r14p1505r15)
44
45
 
45
46
  ```bash
46
47
  npx @hangtime/cli
@@ -69,6 +70,15 @@ npm install @hangtime/grip-connect-react-native
69
70
  npm install @hangtime/grip-connect-runtime
70
71
  ```
71
72
 
73
+ ## Agent Skills
74
+
75
+ Install the `SKILL.md` to give a compatible AI agent package-specific guidance for setup integration, and supported
76
+ device workflows.
77
+
78
+ ```bash
79
+ npx skills add Stevie-Ray/hangtime-grip-connect
80
+ ```
81
+
72
82
  ## Example usage (with a Motherboard)
73
83
 
74
84
  Simply importing the device you need from `@hangtime/grip-connect`.
@@ -140,7 +150,8 @@ document.querySelector("#motherboard").addEventListener("click", async () => {
140
150
  - ✅ [Weiheng - WH-C06](https://stevie-ray.github.io/hangtime-grip-connect/devices/wh-c06.html)
141
151
  - By default [watchAdvertisements](https://chromestatus.com/feature/5180688812736512) isn't supported . For Chrome,
142
152
  enable it at `chrome://flags/#enable-experimental-web-platform-features`.
143
- - ✅ [Kilter Board](https://stevie-ray.github.io/hangtime-grip-connect/devices/kilterboard.html)
153
+ - ✅ [CTS500](https://stevie-ray.github.io/hangtime-grip-connect/devices/cts500.html)
154
+ - ✅ [Aurora Boards](https://stevie-ray.github.io/hangtime-grip-connect/devices/aurora.html)
144
155
  - ✅ [Entralpi](https://stevie-ray.github.io/hangtime-grip-connect/devices/entralpi.html) / Lefu / Unique CW275 Scale
145
156
  - ✅ [PitchSix - Force Board](https://stevie-ray.github.io/hangtime-grip-connect/devices/forceboard.html)
146
157
  - ✅ [Climbro](https://stevie-ray.github.io/hangtime-grip-connect/devices/climbro.html)
@@ -182,8 +193,8 @@ A special thank you to:
182
193
  - [@StuartLittlefair](https://github.com/StuartLittlefair) for his
183
194
  [PyTindeq](https://github.com/StuartLittlefair/PyTindeq) implementation.
184
195
  - [@Phil9l](https://github.com/phil9l) for his research and providing a [blog post](https://bazun.me/blog/kiterboard/)
185
- on how to connect with the Kilter Board.
186
- - [@1-max-1](https://github.com/1-max-1) for the docs on his Kilter Board
196
+ on how to connect with Aurora LED boards.
197
+ - [@1-max-1](https://github.com/1-max-1) for the docs on his Aurora board
187
198
  [simulator](https://github.com/1-max-1/fake_kilter_board) that I converted to
188
199
  [hangtime-arduino-kilterboard](https://github.com/Stevie-Ray/hangtime-arduino-kilterboard).
189
200
  - [@sebws](https://github.com/sebws) for a [code sample](https://github.com/sebws/Crane) of the Weiheng WH-C06 App.
@@ -1,4 +1,4 @@
1
- export type { IClimbro, IEntralpi, IForceBoard, IKilterBoard, IMotherboard, ImySmartBoard, IProgressor, ISmartBoardPro, IWHC06, } from "./interfaces/index.js";
1
+ export type { AuroraLedPlacement, IAurora, IClimbro, ICTS500, IEntralpi, IForceBoard, IMotherboard, ImySmartBoard, IPB700BT, IProgressor, ISmartBoardPro, IWHC06, } from "./interfaces/index.js";
2
2
  export type { ForceUnit, ForceMeasurement, NotifyCallback, WriteCallback, ActiveCallback, } from "./interfaces/callback.interface.js";
3
- export { Climbro, Entralpi, ForceBoard, KilterBoard, KilterBoardPlacementRoles, Motherboard, mySmartBoard, PB700BT, Progressor, SmartBoardPro, WHC06, } from "./models/index.js";
3
+ export { AuroraBoard, Climbro, CTS500, Entralpi, ForceBoard, Motherboard, mySmartBoard, PB700BT, Progressor, SmartBoardPro, WHC06, } from "./models/index.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,YAAY,EACV,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,cAAc,GACf,MAAM,oCAAoC,CAAA;AAE3C,OAAO,EACL,OAAO,EACP,QAAQ,EACR,UAAU,EACV,WAAW,EACX,yBAAyB,EACzB,WAAW,EACX,YAAY,EACZ,OAAO,EACP,UAAU,EACV,aAAa,EACb,KAAK,GACN,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,kBAAkB,EAClB,OAAO,EACP,QAAQ,EACR,OAAO,EACP,SAAS,EACT,WAAW,EACX,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,WAAW,EACX,cAAc,EACd,MAAM,GACP,MAAM,uBAAuB,CAAA;AAE9B,YAAY,EACV,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,cAAc,GACf,MAAM,oCAAoC,CAAA;AAE3C,OAAO,EACL,WAAW,EACX,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,WAAW,EACX,YAAY,EACZ,OAAO,EACP,UAAU,EACV,aAAa,EACb,KAAK,GACN,MAAM,mBAAmB,CAAA"}
package/dist/cjs/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WHC06 = exports.SmartBoardPro = exports.Progressor = exports.PB700BT = exports.mySmartBoard = exports.Motherboard = exports.KilterBoardPlacementRoles = exports.KilterBoard = exports.ForceBoard = exports.Entralpi = exports.Climbro = void 0;
3
+ exports.WHC06 = exports.SmartBoardPro = exports.Progressor = exports.PB700BT = exports.mySmartBoard = exports.Motherboard = exports.ForceBoard = exports.Entralpi = exports.CTS500 = exports.Climbro = exports.AuroraBoard = void 0;
4
4
  var index_js_1 = require("./models/index.js");
5
+ Object.defineProperty(exports, "AuroraBoard", { enumerable: true, get: function () { return index_js_1.AuroraBoard; } });
5
6
  Object.defineProperty(exports, "Climbro", { enumerable: true, get: function () { return index_js_1.Climbro; } });
7
+ Object.defineProperty(exports, "CTS500", { enumerable: true, get: function () { return index_js_1.CTS500; } });
6
8
  Object.defineProperty(exports, "Entralpi", { enumerable: true, get: function () { return index_js_1.Entralpi; } });
7
9
  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, "KilterBoardPlacementRoles", { enumerable: true, get: function () { return index_js_1.KilterBoardPlacementRoles; } });
10
10
  Object.defineProperty(exports, "Motherboard", { enumerable: true, get: function () { return index_js_1.Motherboard; } });
11
11
  Object.defineProperty(exports, "mySmartBoard", { enumerable: true, get: function () { return index_js_1.mySmartBoard; } });
12
12
  Object.defineProperty(exports, "PB700BT", { enumerable: true, get: function () { return index_js_1.PB700BT; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAoBA,8CAY0B;AAXxB,mGAAA,OAAO,OAAA;AACP,oGAAA,QAAQ,OAAA;AACR,sGAAA,UAAU,OAAA;AACV,uGAAA,WAAW,OAAA;AACX,qHAAA,yBAAyB,OAAA;AACzB,uGAAA,WAAW,OAAA;AACX,wGAAA,YAAY,OAAA;AACZ,mGAAA,OAAO,OAAA;AACP,sGAAA,UAAU,OAAA;AACV,yGAAA,aAAa,OAAA;AACb,iGAAA,KAAK,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAuBA,8CAY0B;AAXxB,uGAAA,WAAW,OAAA;AACX,mGAAA,OAAO,OAAA;AACP,kGAAA,MAAM,OAAA;AACN,oGAAA,QAAQ,OAAA;AACR,sGAAA,UAAU,OAAA;AACV,uGAAA,WAAW,OAAA;AACX,wGAAA,YAAY,OAAA;AACZ,mGAAA,OAAO,OAAA;AACP,sGAAA,UAAU,OAAA;AACV,yGAAA,aAAa,OAAA;AACb,iGAAA,KAAK,OAAA"}
@@ -6,106 +6,195 @@ export interface Commands {
6
6
  * Starts a weight measurement on the device.
7
7
  * Used to begin collecting weight or force data.
8
8
  */
9
- START_WEIGHT_MEAS?: string;
9
+ START_WEIGHT_MEAS?: string | Uint8Array;
10
10
  /**
11
11
  * Stops the current weight measurement on the device.
12
12
  * Used to end the data collection.
13
13
  */
14
- STOP_WEIGHT_MEAS?: string;
14
+ STOP_WEIGHT_MEAS?: string | Uint8Array;
15
15
  /**
16
16
  * Puts the device to sleep or in a low-power mode.
17
17
  * The format can be a string or a number depending on the device.
18
18
  */
19
- SLEEP?: number | string;
19
+ SLEEP?: number | string | Uint8Array;
20
20
  /**
21
21
  * Retrieves the serial number of the device.
22
22
  * This command fetches the unique identifier assigned by the manufacturer.
23
23
  */
24
- GET_SERIAL?: string;
24
+ GET_SERIAL?: string | Uint8Array;
25
25
  /**
26
26
  * Retrieves textual information from the device.
27
27
  * May include readable data.
28
28
  */
29
- GET_TEXT?: string;
29
+ GET_TEXT?: string | Uint8Array;
30
30
  /**
31
31
  * Starts or stops a debug data stream from the device.
32
32
  * Used for diagnostic purposes or to monitor real-time data.
33
33
  */
34
- DEBUG_STREAM?: string;
34
+ DEBUG_STREAM?: string | Uint8Array;
35
35
  /**
36
36
  * Retrieves calibration data from the device.
37
37
  * Used to ensure accurate measurements by applying calibration points.
38
38
  */
39
- GET_CALIBRATION?: string;
39
+ GET_CALIBRATION?: string | Uint8Array;
40
40
  /**
41
41
  * Sets the Force Board into Quick Start mode.
42
42
  * In this mode, data transmission starts when force exceeds the threshold
43
43
  * and stops when force drops below the threshold.
44
44
  */
45
- START_QUICK_MEAS?: string;
45
+ START_QUICK_MEAS?: string | Uint8Array;
46
46
  /**
47
47
  * Tares the scale, zeroing the current weight measurement.
48
48
  * Used to reset the baseline for weight data.
49
49
  */
50
- TARE_SCALE?: string;
50
+ TARE_SCALE?: string | Uint8Array;
51
51
  /**
52
52
  * Starts measuring the peak rate of force development (RFD).
53
53
  * Captures how quickly force is applied over time.
54
54
  */
55
- START_PEAK_RFD_MEAS?: string;
55
+ START_PEAK_RFD_MEAS?: string | Uint8Array;
56
56
  /**
57
57
  * Starts measuring a series of peak RFD measurements.
58
58
  * This captures multiple RFD data points over a period of time.
59
59
  */
60
- START_PEAK_RFD_MEAS_SERIES?: string;
60
+ START_PEAK_RFD_MEAS_SERIES?: string | Uint8Array;
61
61
  /**
62
62
  * Adds a calibration point to the device.
63
63
  * Used to improve the accuracy of future measurements.
64
64
  */
65
- ADD_CALIBRATION_POINT?: string;
65
+ ADD_CALIBRATION_POINT?: string | Uint8Array;
66
66
  /**
67
67
  * Saves the current calibration settings to the device.
68
68
  * Ensures the device remembers the calibration for future sessions.
69
69
  */
70
- SAVE_CALIBRATION?: string;
70
+ SAVE_CALIBRATION?: string | Uint8Array;
71
71
  /**
72
72
  * Retrieves the firmware version of the device.
73
73
  * Useful for ensuring compatibility and tracking updates.
74
74
  */
75
- GET_FIRMWARE_VERSION?: string;
75
+ GET_FIRMWARE_VERSION?: string | Uint8Array;
76
76
  /**
77
77
  * Retrieves error information from the device.
78
78
  * Provides details on any faults or issues that occurred during operation.
79
79
  */
80
- GET_ERROR_INFORMATION?: string;
80
+ GET_ERROR_INFORMATION?: string | Uint8Array;
81
81
  /**
82
82
  * Clears the error information on the device.
83
83
  * Used to reset error logs after troubleshooting or repair.
84
84
  */
85
- CLR_ERROR_INFORMATION?: string;
85
+ CLR_ERROR_INFORMATION?: string | Uint8Array;
86
86
  /**
87
87
  * Retrieves the battery voltage level of the device.
88
88
  * Provides insight into the device's remaining battery power.
89
89
  */
90
- GET_BATTERY_VOLTAGE?: string;
90
+ GET_BATTERY_VOLTAGE?: string | Uint8Array;
91
+ /**
92
+ * Retrieves a temperature reading from the device.
93
+ */
94
+ GET_TEMPERATURE?: string | Uint8Array;
95
+ /**
96
+ * Retrieves the current weight from the device.
97
+ */
98
+ GET_WEIGHT?: string | Uint8Array;
99
+ /**
100
+ * Sets the device capacity/range.
101
+ * Payload selects the target range.
102
+ */
103
+ SET_RANGE?: string | number | Uint8Array;
104
+ /**
105
+ * Sets the display division value.
106
+ * Payload selects the target division.
107
+ */
108
+ SET_DIVISION?: string | number | Uint8Array;
109
+ /**
110
+ * Sets the first calibration reference weight.
111
+ * Payload selects the target calibration mass.
112
+ */
113
+ SET_FIRST_CALIBRATION_WEIGHT?: string | number | Uint8Array;
114
+ /**
115
+ * Sets the second calibration reference weight.
116
+ * Payload selects the target calibration mass.
117
+ */
118
+ SET_SECOND_CALIBRATION_WEIGHT?: string | number | Uint8Array;
119
+ /**
120
+ * Runs the no-load calibration routine.
121
+ */
122
+ NO_LOAD_CALIBRATION?: string | Uint8Array;
123
+ /**
124
+ * Runs the first calibration step after the reference mass is applied.
125
+ */
126
+ RUN_FIRST_CALIBRATION?: string | Uint8Array;
127
+ /**
128
+ * Runs the second calibration step after the reference mass is applied.
129
+ */
130
+ RUN_SECOND_CALIBRATION?: string | Uint8Array;
131
+ /**
132
+ * Configures the automatic shutdown timer.
133
+ * Payload selects the timeout or disables it.
134
+ */
135
+ SET_SHUTDOWN_TIME?: string | number | Uint8Array;
136
+ /**
137
+ * Configures the upper temperature limit threshold.
138
+ */
139
+ SET_UPPER_TEMPERATURE_LIMIT?: string | number | Uint8Array;
140
+ /**
141
+ * Configures the lower temperature limit threshold.
142
+ */
143
+ SET_LOWER_TEMPERATURE_LIMIT?: string | number | Uint8Array;
144
+ /**
145
+ * Configures the upper/max weight limit threshold.
146
+ */
147
+ SET_MAX_WEIGHT_LIMIT?: string | number | Uint8Array;
148
+ /**
149
+ * Configures the lower/min weight limit threshold.
150
+ */
151
+ SET_MIN_WEIGHT_LIMIT?: string | number | Uint8Array;
152
+ /**
153
+ * Configures the weight-alarm behavior for the configured upper/lower thresholds.
154
+ */
155
+ SET_WEIGHT_ALARM_MODE?: string | number | Uint8Array;
156
+ /**
157
+ * Enables or disables alarm-frame output over the serial/BLE transport.
158
+ */
159
+ SET_ALARM_OUTPUT?: string | number | Uint8Array;
91
160
  /**
92
161
  * Get the Progressor ID.
93
162
  */
94
- GET_PROGRESSOR_ID?: string;
163
+ GET_PROGRESSOR_ID?: string | Uint8Array;
95
164
  /**
96
165
  * Set calibration block. Payload at offsets +2,+6,+10.
97
166
  * The 12-byte block is interpreted as 3× float32 LE: slope, intercept, trim.
98
167
  */
99
- SET_CALIBRATION?: string;
168
+ SET_CALIBRATION?: string | Uint8Array;
100
169
  /**
101
170
  * Retrieves the advanced calibration table from the device.
102
171
  * Used to inspect the hidden piecewise interpolation table exported by v2 firmware.
103
172
  */
104
- GET_CALIBRATION_TABLE?: string;
173
+ GET_CALIBRATION_TABLE?: string | Uint8Array;
174
+ /**
175
+ * Controls whether the device resets to zero on power-up.
176
+ */
177
+ POWER_ON_RESET?: string | number | Uint8Array;
178
+ /**
179
+ * Updates the device's hardware zero point.
180
+ */
181
+ ZERO_SCALE?: string | number | Uint8Array;
182
+ /**
183
+ * Toggles the device's peak mode.
184
+ */
185
+ PEAK_MODE?: string | number | Uint8Array;
186
+ /**
187
+ * Configures the device UART baud rate.
188
+ */
189
+ SET_BAUD_RATE?: string | number | Uint8Array;
190
+ /**
191
+ * Configures the device sampling rate.
192
+ */
193
+ SET_SAMPLING_RATE?: string | number | Uint8Array;
105
194
  /**
106
195
  * Reboots the device immediately.
107
196
  * Intended for diagnostic flows.
108
197
  */
109
- REBOOT?: string;
198
+ REBOOT?: string | Uint8Array;
110
199
  }
111
200
  //# sourceMappingURL=command.interface.d.ts.map
@@ -1 +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,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAE9B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAE7B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAE9B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAE9B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAE1B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAE9B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}
1
+ {"version":3,"file":"command.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/command.interface.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,17 @@
1
+ import type { IDevice } from "../device.interface.js";
2
+ export interface AuroraLedPlacement {
3
+ position: number;
4
+ color: string;
5
+ }
6
+ /**
7
+ * Interface representing an Aurora LED board device.
8
+ */
9
+ export interface IAurora extends IDevice {
10
+ /**
11
+ * Configures the LEDs based on an array of climb placements.
12
+ * @param config - Array of climb placements for the LEDs. Each placement must include an LED position and color hex string.
13
+ * @returns A promise that resolves with the payload array if LED settings were applied, or `undefined` if no action was taken.
14
+ */
15
+ led(config?: AuroraLedPlacement[]): Promise<number[] | undefined>;
16
+ }
17
+ //# sourceMappingURL=aurora.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aurora.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/aurora.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,OAAQ,SAAQ,OAAO;IACtC;;;;OAIG;IACH,GAAG,CAAC,MAAM,CAAC,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAA;CAClE"}
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=kilterboard.interface.js.map
3
+ //# sourceMappingURL=aurora.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aurora.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/device/aurora.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,96 @@
1
+ import type { IDevice } from "../device.interface.js";
2
+ export type CTS500BaudRate = 9600 | 19200 | 38400 | 57600 | 115200;
3
+ export type CTS500SamplingRate = 10 | 20 | 40 | 80 | 160 | 320;
4
+ /**
5
+ * Interface representing the CTS500 device, extending the base Device interface.
6
+ */
7
+ export interface ICTS500 extends IDevice {
8
+ /**
9
+ * Retrieves battery voltage from the device.
10
+ * The returned string is the voltage in volts with two decimal places.
11
+ * @returns {Promise<string | undefined>} A Promise that resolves with the battery voltage.
12
+ */
13
+ battery(): Promise<string | undefined>;
14
+ /**
15
+ * Retrieves firmware version from the device.
16
+ * @returns {Promise<string | undefined>} A Promise that resolves with the firmware version.
17
+ */
18
+ firmware(): Promise<string | undefined>;
19
+ /**
20
+ * Retrieves hardware version from the device.
21
+ * @returns {Promise<string | undefined>} A Promise that resolves with the hardware version.
22
+ */
23
+ hardware(): Promise<string | undefined>;
24
+ /**
25
+ * Retrieves manufacturer information from the device.
26
+ * @returns {Promise<string | undefined>} A Promise that resolves with the manufacturer information.
27
+ */
28
+ manufacturer(): Promise<string | undefined>;
29
+ /**
30
+ * Retrieves model number from the device.
31
+ * @returns {Promise<string | undefined>} A Promise that resolves with the model number.
32
+ */
33
+ model(): Promise<string | undefined>;
34
+ /**
35
+ * Retrieves serial number from the device.
36
+ * @returns {Promise<string | undefined>} A Promise that resolves with the serial number.
37
+ */
38
+ serial(): Promise<string | undefined>;
39
+ /**
40
+ * Retrieves software version from the device.
41
+ * @returns {Promise<string | undefined>} A Promise that resolves with the software version.
42
+ */
43
+ software(): Promise<string | undefined>;
44
+ /**
45
+ * Sets whether the device should reset to zero on power-up.
46
+ * @param {boolean} enabled - Whether to reset to zero on power-up.
47
+ * @returns {Promise<void>} A Promise that resolves when the command has been acknowledged.
48
+ */
49
+ powerOnReset(enabled: boolean): Promise<void>;
50
+ /**
51
+ * Enables or disables peak mode.
52
+ * @param {boolean} enabled - Whether peak mode should be enabled.
53
+ * @returns {Promise<void>} A Promise that resolves when the command has been acknowledged.
54
+ */
55
+ peakMode(enabled?: boolean): Promise<void>;
56
+ /**
57
+ * Configures the transparent UART baud rate on the device.
58
+ * @param {CTS500BaudRate} baudRate - Desired baud rate.
59
+ * @returns {Promise<void>} A Promise that resolves when the command has been acknowledged.
60
+ */
61
+ setBaudRate(baudRate: CTS500BaudRate): Promise<void>;
62
+ /**
63
+ * Configures the device A/D sampling rate.
64
+ * @param {CTS500SamplingRate} samplingRate - Desired A/D sampling rate in Hz.
65
+ * @returns {Promise<void>} A Promise that resolves when the command has been acknowledged.
66
+ */
67
+ setSamplingRate(samplingRate: CTS500SamplingRate): Promise<void>;
68
+ /**
69
+ * Starts automatic weight uploads over the notify characteristic.
70
+ * @param {number} [duration=0] - Optional delay before the promise resolves.
71
+ * @returns {Promise<void>} A Promise that resolves once automatic upload has been enabled.
72
+ */
73
+ stream(duration?: number): Promise<void>;
74
+ /**
75
+ * Stops automatic weight uploads over the notify characteristic.
76
+ * @returns {Promise<void>} A Promise that resolves once automatic upload has been disabled.
77
+ */
78
+ stop(): Promise<void>;
79
+ /**
80
+ * Retrieves the current temperature reading from the device.
81
+ * The returned string is the temperature in Celsius.
82
+ * @returns {Promise<string | undefined>} A Promise that resolves with the temperature.
83
+ */
84
+ temperature(): Promise<string | undefined>;
85
+ /**
86
+ * Retrieves the current weight from the device in kilograms.
87
+ * @returns {Promise<number | undefined>} A Promise that resolves with the current weight.
88
+ */
89
+ weight(): Promise<number | undefined>;
90
+ /**
91
+ * Updates the hardware zero point.
92
+ * @returns {Promise<void>} A Promise that resolves when the command has been acknowledged.
93
+ */
94
+ zero(): Promise<void>;
95
+ }
96
+ //# sourceMappingURL=cts500.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cts500.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/cts500.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErD,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAA;AAElE,MAAM,MAAM,kBAAkB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,CAAA;AAE9D;;GAEG;AACH,MAAM,WAAW,OAAQ,SAAQ,OAAO;IACtC;;;;OAIG;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,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;;;OAGG;IACH,MAAM,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAErC;;;OAGG;IACH,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAEvC;;;;OAIG;IACH,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAE7C;;;;OAIG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAE1C;;;;OAIG;IACH,WAAW,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEpD;;;;OAIG;IACH,eAAe,CAAC,YAAY,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhE;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAExC;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAErB;;;;OAIG;IACH,WAAW,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAE1C;;;OAGG;IACH,MAAM,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAErC;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CACtB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=cts500.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cts500.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/device/cts500.interface.ts"],"names":[],"mappings":""}
@@ -1,8 +1,8 @@
1
- import type { IDevice } from "../device.interface.js";
1
+ import type { INordicDfuDevice } from "../nordic.interface.js";
2
2
  /**
3
3
  * Interface representing the PitchSix ForceBoard device, extending the base Device interface.
4
4
  */
5
- export interface IForceBoard extends IDevice {
5
+ export interface IForceBoard extends INordicDfuDevice {
6
6
  /**
7
7
  * Retrieves battery or voltage information from the device.
8
8
  * @returns {Promise<string | undefined>} A Promise that resolves with the battery or voltage information.
@@ -1 +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"}
1
+ {"version":3,"file":"forceboard.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/forceboard.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAE9D;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD;;;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"}
@@ -26,7 +26,7 @@ export interface IMotherboard extends IDevice {
26
26
  /**
27
27
  * Sets the LED color based on a single color option.
28
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.
29
+ * @returns {Promise<number[] | undefined>} A promise that resolves with the payload array for Aurora-compatible LED settings if LEDs were applied.
30
30
  */
31
31
  led(config?: "green" | "red" | "orange"): Promise<number[] | undefined>;
32
32
  /**
@@ -0,0 +1,53 @@
1
+ import type { IDevice } from "../device.interface.js";
2
+ /**
3
+ * Interface representing the NSD PB-700BT device, extending the base Device interface.
4
+ */
5
+ export interface IPB700BT 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=pb-700bt.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pb-700bt.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/pb-700bt.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;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=pb-700bt.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pb-700bt.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/device/pb-700bt.interface.ts"],"names":[],"mappings":""}
@@ -1,8 +1,8 @@
1
- import type { IDevice } from "../device.interface.js";
1
+ import type { INordicDfuDevice } from "../nordic.interface.js";
2
2
  /**
3
3
  * Interface representing the Tindeq Progressor device, extending the base Device interface.
4
4
  */
5
- export interface IProgressor extends IDevice {
5
+ export interface IProgressor extends INordicDfuDevice {
6
6
  /**
7
7
  * Retrieves battery or voltage information from the device.
8
8
  * @returns {Promise<string | undefined>} A Promise that resolves with the battery or voltage information.
@@ -1 +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,YAAY,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAE3C;;;;OAIG;IACH,WAAW,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAE1C;;;OAGG;IACH,gBAAgB,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAE/C;;;OAGG;IACH,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhC;;;OAGG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAEtB;;;OAGG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAEvB;;;;OAIG;IACH,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhD;;;OAGG;IACH,SAAS,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAExC;;;OAGG;IACH,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAE/B;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAErB;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAExC;;;OAGG;IACH,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAEpC,+EAA+E;IAC/E,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAA;CAChC"}
1
+ {"version":3,"file":"progressor.interface.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/device/progressor.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAE9D;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD;;;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,WAAW,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAE1C;;;OAGG;IACH,gBAAgB,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAE/C;;;OAGG;IACH,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhC;;;OAGG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAEtB;;;OAGG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAEvB;;;;OAIG;IACH,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhD;;;OAGG;IACH,SAAS,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAExC;;;OAGG;IACH,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAE/B;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAErB;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAExC;;;OAGG;IACH,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAEpC,+EAA+E;IAC/E,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAA;CAChC"}
@@ -1,9 +1,12 @@
1
1
  export type { IClimbro } from "./device/climbro.interface.js";
2
+ export type { AuroraLedPlacement, IAurora } from "./device/aurora.interface.js";
3
+ export type { ICTS500 } from "./device/cts500.interface.js";
2
4
  export type { IEntralpi } from "./device/entralpi.interface.js";
3
5
  export type { IForceBoard } from "./device/forceboard.interface.js";
4
- export type { IKilterBoard } from "./device/kilterboard.interface.js";
5
6
  export type { IMotherboard } from "./device/motherboard.interface.js";
6
7
  export type { ImySmartBoard } from "./device/mysmartboard.interface.js";
8
+ export type { INordicDfuDevice } from "./nordic.interface.js";
9
+ export type { IPB700BT } from "./device/pb-700bt.interface.js";
7
10
  export type { IProgressor } from "./device/progressor.interface.js";
8
11
  export type { ISmartBoardPro } from "./device/smartboard-pro.interface.js";
9
12
  export type { IWHC06 } from "./device/wh-c06.interface.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAE7D,YAAY,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAE/D,YAAY,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE,YAAY,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAErE,YAAY,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAErE,YAAY,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAEvE,YAAY,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE,YAAY,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAA;AAE1E,YAAY,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAE7D,YAAY,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAE/E,YAAY,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAE3D,YAAY,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAE/D,YAAY,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE,YAAY,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAErE,YAAY,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAEvE,YAAY,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE7D,YAAY,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAE9D,YAAY,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE,YAAY,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAA;AAE1E,YAAY,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA"}