LandingSite eTag Biscuit 1 User Guide

LandingSite eTag Biscuit 1 User Guide

LandingSite eTag Biscuit 1 (Model: LS-TB1) is Quuppa compatible tag designed for tracking asset. Here is the user guild for it.

Control the LED/buzzer by QBC (Qupppa Back Channel)

Note: Make sure your QPE license has the QBC module.

1. New a Temporary Command in QSP

The hardware of Biscuit 1 is following Quuppa tag hardware specification. The LEDs is on Output 1 and the buzzer is on Output 4. So you can call them easily by Quuppa standard Command Tag command. See Command tag on Quuppa_api_v2_2.pdf for more details.

Here are two sample configuration:

Buzz and Blinks

在这里插入图片描述

Buzz only

在这里插入图片描述

2. Test in QSP

在这里插入图片描述

  1. Select the Biscuit 1 tag you want to test.
  2. Select the dropdown menu Selection->Issue Temporary Command.
  3. Choose the temporary command LS_TB1_Buzz.
  4. Click the OK button.
  5. Wait for a second.
  6. The buzzer will buzzer/LED will buzz or blink.

3. Submit project & sync the configuration to QPE

Submit the project with the new temporary command to QCP.
Then, do file sync in QPE.
Make sure the new temporary command works.

4. Sent Command Tag command

4.1. Test in a browser

Open browser (Microsoft Edge, Chrome, Firefox are preferred), enter the URL below:

http://192.168.100.6:8080/qpe/commandTag?tag=a1a1105000ee&id=LS_TB1_Buzz_N_Blinks
  • Replace the IP address 192.168.100.6 to your QPE’s.*
  • Replace the tag ID a1a1105000ee to your tag ID (which is printed on the bottom side of enclosure).

4.2 Call by program

4.2.1. Node.js sample
import axios from "axios";

class CommandIssuer {
  async issue(tagId, cmd) {
    console.log("Issuing a temporary command %s to tag %s", cmd, tagId);
    let params = {
      tag: tagId,
      id: cmd,
    };
    try {
      let resp = await axios.get("http://192.168.100.6:8080/qpe/commandTag", { params });
      if (resp.status === 200) {
        let data = resp.data;
        if (data.code === 0) {
          console.log("Command issued.");
          console.log(data.message);
        } else {
          console.error(data);
        }
      }
    } catch (e) {
      console.log(e);
    }
  }
}

const issuer = new CommandIssuer();
issuer.issue("a1a1105000ee", "LS_TB1_Buzz_N_Blink");
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值