We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3db3f16 commit c4ad14fCopy full SHA for c4ad14f
client/services/cardKeyService.js
@@ -143,7 +143,7 @@ Usage: scanCard(123) // where 123 is the cardId `);
143
// Keep reading bytes until the "end" byte is sent
144
// The "end" byte is 0xbb
145
while (!finished) {
146
- const { value } = await $rootScope.serialReader.read();
+ const { value } = await $rootScope.serialDevice.reader.read();
147
for (let i = 0; i < value.length; i++) {
148
// First byte in a message should be 170, otherwise ignore and keep on going
149
if (message.length === 0 && value[i] !== 170) {
0 commit comments