0
  • 聊天消息
  • 系统消息
  • 评论与回复
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心

完善资料让更多小伙伴认识你,还能领取20积分哦,立即完善>

3天内不再提示

NanoBeacon™ BLE扫描器教程(第四部分)

橙群微电子 2023-06-08 15:06 次阅读
加入交流群
微信小助手二维码

扫码添加小助手

加入工程师交流群

So far, we have published three tutorialson using our new NanoBeacon BLE Scanner mobile app. We covered the following topics:

到目前为止,我们已经发布了三个关于使用我们新的NanoBeacon BLE扫描器移动应用程序的教程。我们涵盖了以下主题:

  • Introduction to the NanoBeacon BLE Scanner mobile app

  • NanoBeacon BLE扫描器移动应用程序介绍

  • Installation and setup

  • 安装和设置

  • Overview of the different features of the app

  • 该应用程序的不同功能概述

  • How to use the mobile app to discover your IN100 tags

  • 如何使用移动应用程序来发现您的IN100标签

  • Overview of device filters

  • 设备过滤器的概述

  • The differences between the iOS app and the Android app

  • iOS应用程序和Android应用程序之间的差异

  • App notifications for detecting triggered advertising sets

  • 检测触发的广播集的应用程序通知


In this tutorial, we will cover the “Logs” and “Monitor” features of the mobile app (available in the latest version of the app)

在本教程中,我们将介绍移动应用程序的 "日志 "和 "监控 "功能(在应用程序的最新版本中可用)。


Let’s get started!

让我们开始吧!


Logging Feature 记录功能

First, make sure you have the latest version of the app (whether that’s for iOS or Android).

首先,确保你有最新版本的应用程序(无论是iOS还是Android)。


Once you have the latest version installed, go ahead and launch the app.

一旦你安装了最新版本,就去启动该应用程序。


For a simple test case, we’ll be configuring the IN100 with the following parameters:

对于一个简单的测试案例,我们将用以下参数配置IN100:

  • One advertising set

  • 一个广播集

  • Advertising Data

  • 广播数据

  • Advertising data format: Custom

  • 广播数据格式:自定义

  • Device Name: “IN100”

  • 设备名称:"IN100"

  • Manufacturer Specific Data: VCC, Internal Temp

  • 制造商特定数据:VCC,内部温度

  • Advertising Parameters
  • 广播参数

  • Advertising Interval: 100 ms

  • 广播间隔:100毫秒

Once you have the parameters set as above, make sure you probe and connect to the device, then click “Run in RAM.”

一旦你设置了上述参数,确保你探测并连接到设备,然后点击 "在RAM中运行"。


Finally, import your IN100 configuration from NanoBeacon Config Tool (via the QR code) into the mobile app.

最后,将你的IN100配置从NanoBeacon配置工具(通过QR码)导入移动应用程序。


Now that we have the configuration imported into the mobile app, we should see the following in the “Configuration” view:

现在我们已经将配置导入移动应用程序,我们应该在 "配置 "视图中看到以下内容:


2f9cb812-00dd-11ee-ba01-dac502259ad0.png

2fc740a0-00dd-11ee-ba01-dac502259ad0.png

Verify that the configuration is correct, and then navigate to the “Scanner” view.

验证配置是否正确,然后导航到 "扫描器 "视图。

Once in the Scanner view, enable the filter “Only show project configuration matches”:

一旦进入 "扫描器 "视图,启用过滤器 "只显示项目配置匹配":


2fed22c0-00dd-11ee-ba01-dac502259ad0.png

Now, exit the filter view and refresh the scan. You should see the following on screen:

现在,退出过滤器视图并刷新扫描。你应该在屏幕上看到以下内容:


3009ac60-00dd-11ee-ba01-dac502259ad0.png

Now, click on the “View Data” text to see the detailed real-time advertising data:

现在,点击 "查看数据 "文本,查看详细的实时广播数据:


30259d80-00dd-11ee-ba01-dac502259ad0.png

From here, notice the “Logs” button in the top right corner of the screen. Click on it, and now you should see a real-time log of the captured data. Basically, this shows the history of all the advertising data captured by the app. Once in this view, you’ll also notice that there’s an export button in the top right-hand corner of the screen:

在这里,注意屏幕右上角的 "日志 "按钮。点击它,现在你应该看到捕获数据的实时日志。基本上,这显示了该应用程序捕获的所有广播数据的历史。一旦进入这个视图,你还会注意到,在屏幕的右上角有一个导出按钮:


304f3618-00dd-11ee-ba01-dac502259ad0.png

This allows you to export the full log via email, clipboard, and other methods supported by your device:

这允许你通过电子邮件、剪贴板和你的设备支持的其他方法导出完整的日志:


307ea9de-00dd-11ee-ba01-dac502259ad0.png

The exported format is in CSV (comma-separated values), so you can easily import it into Excel or any other spreadsheet app you choose.

导出的格式是CSV(omma-separated values),所以你可以很容易地把它导入Excel或你选择的任何其他电子表格应用程序。


You’ll also notice two other icons in the bottom right-hand corner of the screen, the trash icon()and the stop icon ( ). These allow you to stop/continue/start the logging and also clear the logs, respectively.

你还会注意到屏幕右下角的另外两个图标,即垃圾箱图标()和停止图标。和停止图标()。这两个图标分别允许你停止/继续/启动日志记录,也可以清除日志。


Here’s what the exported log data looks like in Excel:

下面是导出的日志数据在Excel中的样子:

30a0c604-00dd-11ee-ba01-dac502259ad0.png

As you can see, this is a very powerful feature that allows you to take your data outside the app and perform any data analysis you wish!

正如你所看到的,这是一个非常强大的功能,允许你把你的数据带到应用程序之外,并执行任何你想要的数据分析!


Now, this is great for continuous advertising data sets where you’ll always find the advertising set captured by the mobile app, but what about triggered advertising sets (if you’re unfamiliar with the concept of Triggered advertising sets in NanoBeacon, I encourage you to read our last tutorial on the topic, found here).

现在,这对连续的广播数据集来说是很好的,你总能找到由移动应用程序捕获的广播集,但触发的广播集呢(如果你不熟悉NanoBeacon中触发的广播集的概念,我鼓励你阅读我们关于这个主题的最后一个教程,在这里找到)。


Let’s see how we can view logs for triggered advertising sets!

让我们看看如何查看被触发的广播集的日志!


Monitor View 监控视图

If you’ve used previous versions of the mobile app, you’ll notice that this is a new view that was just added recently.

如果你使用过以前版本的移动应用程序,你会注意到这是最近刚添加的一个新视图。


The view allows you to see the last captured advertising data sets as well as the history/logs of the captured data. This can be very powerful, especially in the case of Triggered advertising sets, where the advertising sets are not always present. It is also a much more convenient way to view the logs for all configured advertising sets outside of the Scanner view.

该视图允许你看到最后捕获的广播数据集,以及捕获数据的历史/日志。这可能是非常强大的,特别是在触发式广播集的情况下,广播集并不总是存在。这也是一个更方便的方法,可以在扫描器视图之外查看所有配置的广播集的日志。


For our configuration example that we used in this tutorial, if we navigate to the Monitor view, we’ll notice the single advertising set that we configured:

对于我们在本教程中使用的配置例子,如果我们导航到监视器视图,我们会注意到我们配置的单一广播集:

30d0c048-00dd-11ee-ba01-dac502259ad0.png

If we click on it, we’ll be taken to a view that’s identical to the one found when you click on “View Data” in the Scanner view. The data shown here is updated in real-time:

如果我们点击它,我们将被带到一个与你在扫描器视图中点击 "查看数据 "时发现的相同的视图。这里显示的数据是实时更新的:


30f2d282-00dd-11ee-ba01-dac502259ad0.png

You’ll also notice you have the “Logs” button which will allow you to view the history of the data captured by the mobile app:

你还会注意到你有 "日志 "按钮,这将使你能够查看移动应用程序捕获的数据的历史:

3111910e-00dd-11ee-ba01-dac502259ad0.png

One cool experiment to run is to turn off your IN100 device (or simply take it out of range), verify that the device is no longer being discovered in the Scanner view, and then navigate to the Monitor view to see the log data for the advertising set.

一个很酷的实验是关闭你的IN100设备(或者干脆把它带出范围),在扫描器视图中验证该设备不再被发现,然后导航到监视器视图,查看广播集的日志数据。


You’ll also be able to see the data included in the last-captured advertising set and see the timestamp it was captured at.

你还可以看到最后捕获的广播集所包含的数据,并看到它被捕获的时间戳。


Summary 总结In this tutorial, we focused on the Logging feature of the app and showed how you can view the logs in two ways:

在本教程中,我们重点介绍了应用程序的日志功能,并展示了如何以两种方式查看日志:

  • From the Scanner view —> View Data —> Logs

  • 从扫描器视图->查看数据->日志

  • From Monitor view —> click on Advertising Set of interest —> Logs

  • 从监控视图->点击感兴趣的广播集->日志

Stay tuned for more tutorials covering new features that get added to the mobile app!

请继续关注更多涵盖移动应用程序新增功能的教程!

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
  • BLE
    BLE
    +关注

    关注

    13

    文章

    822

    浏览量

    66659
  • 扫描器
    +关注

    关注

    0

    文章

    202

    浏览量

    12824
收藏 人收藏
加入交流群
微信小助手二维码

扫码添加小助手

加入工程师交流群

    评论

    相关推荐
    热点推荐

    想提升读码效率?工业固定式扫描器该这么选

    在智能制造与物流自动化加速推进的今天,数据采集的效率直接决定了产线的吞吐量与管理的精准度。作为自动化系统中的“眼睛”,工业固定式扫描器(又称工业固定式读码)的选型,成为提升读码效率的关键一环。然而
    的头像 发表于 05-12 14:04 145次阅读
    想提升读码效率?工业固定式<b class='flag-5'>扫描器</b>该这么选

    深入了解TCA8424:低电压8x16键盘扫描器的技术剖析

    深入了解TCA8424:低电压8x16键盘扫描器的技术剖析 在当今的电子设备中,键盘输入是不可或缺的一部分。而TCA8424作为一款低电压8x16键盘扫描器,凭借其独特的特性和功能,在众多设备中得到
    的头像 发表于 01-30 17:20 915次阅读

    远景达LV4500R嵌入式二维码扫描器:智能终端的高效解码利器

    在智能设备普及的当下,二维码已成为信息交互、身份验证、移动支付的核心载体,嵌入式二维码阅读的性能直接影响各类终端设备的使用体验。远景达LV4500R嵌入式二维码扫描器(定制款:RD4500)凭借
    的头像 发表于 01-21 14:44 340次阅读
    远景达LV4500R嵌入式二维码<b class='flag-5'>扫描器</b>:智能终端的高效解码利器

    远景达LV3000H工业固定式扫描器:工业自动化的高效数据采集利器

    在智能制造与物流自动化加速推进的今天,工业固定式扫描器已成为生产效率提升的核心设备。远景达LV3000H工业固定式扫描器凭借硬核技术与广泛适配性,成为制造业、物流等领域的优选固定式条形码扫描器,为
    的头像 发表于 01-19 15:07 290次阅读
    远景达LV3000H工业固定式<b class='flag-5'>扫描器</b>:工业自动化的高效数据采集利器

    新大陆NLS FM430EX扫描器:多场景智能解码的实力之选

    在零售收银、物流分拣、工业产线等场景中,高效精准的条码识别是提升效率的关键。新大陆作为条码识别领域的知名品牌,推出的新大陆NLSFM430EX扫描器凭借硬核技术与实用设计,成为众多行业的优选设备
    的头像 发表于 01-08 16:06 416次阅读
    新大陆NLS FM430EX<b class='flag-5'>扫描器</b>:多场景智能解码的实力之选

    长距传输不稳?这款耐达讯自动化PROFIBUS光纤模块让条码扫描器秒变“稳准狠”!

    在电子制造车间,条码扫描器堪称“物料身份证核查员”,从SMT贴片到成品出库,每一个元器件的追溯都离不开它。但不少工厂都踩过同一个坑:扫码延迟、数据丢包、距离一远就断联,生产线频繁停线排查,订单交付期
    的头像 发表于 11-12 11:29 724次阅读
    长距传输不稳?这款耐达讯自动化PROFIBUS光纤模块让条码<b class='flag-5'>扫描器</b>秒变“稳准狠”!

    扫条形码分拣离不开扫码!固定式扫描器的实用价值

    的精准管控,它都发挥着不可替代的作用。本文将从核心价值、行业应用等方面,带您全面认识固定式扫描器的实用之处。一、固定式扫码大核心实用价值1、提速分拣效率条形码
    的头像 发表于 11-11 15:29 521次阅读
    扫条形码分拣离不开扫码<b class='flag-5'>器</b>!固定式<b class='flag-5'>扫描器</b>的实用价值

    维图新旗下六科技亮相第四届北斗规模应用国际峰会

    日前,第四届北斗规模应用国际峰会在湖南省株洲市举行。本届峰会由国家发展和改革委员会、国家互联网信息办公室、工业和信息化、交通运输、湖南省人民政府联合主办。维图新成员企业六
    的头像 发表于 09-29 16:58 1326次阅读

    PDA条码扫描器选购指南:仓储物流老板亲测5G手持终端推荐

    PDA条码扫描器是仓库物流的效率利器!本文从中小企业主视角,分享选购PDA条码扫描器的实战经验,涵盖5G全网通、IP67防护、续航等关键点,助你提升库存管理效率,降低出错率。适合仓储、快递、制造等场景,快来看详细评测!
    的头像 发表于 09-10 11:06 1657次阅读
    PDA条码<b class='flag-5'>扫描器</b>选购指南:仓储物流老板亲测5G手持终端推荐

    Profinet转RS232:智能网关实现条码扫描器与RFID读取高效互联

    RS232协议条码扫描器 (用于读取货物包装条码)和 RS232协议RFID读取 (用于识别托盘/货架RFID标签),这些设备需 实时采集 货物信息并上传至管理系统。 随着企业业务扩容,原有的 “设备本地存储 + 人工定期上传” 模式逐渐暴露短板:一是
    的头像 发表于 09-08 11:18 733次阅读
    Profinet转RS232:智能网关实现条码<b class='flag-5'>扫描器</b>与RFID读取<b class='flag-5'>器</b>高效互联

    NLS-Soldier100固定式工业条码扫描器读码器用于产线上扫码

    在工厂流水线的轰鸣声中,每一件产品的合格与否都关乎生产效率与品牌口碑。但传统人工扫码检测不仅速度慢、误差高,还常因疲劳漏检导致不合格品流入市场。而NLS-Soldier100固定式工业条码扫描器
    的头像 发表于 08-19 16:39 930次阅读
    NLS-Soldier100固定式工业条码<b class='flag-5'>扫描器</b>读码器用于产线上扫码

    如何更好选择二维码识别扫描器厂家?

    在采购二维码识别扫描器时,选对厂家直接影响设备的使用效果和后续保障。想要找到靠谱的合作方,以下几个关键因素值得重点考量:▣产品品质是核心二维码识别扫描器的品质直接决定了使用体验,这其中包括识别性
    的头像 发表于 08-13 16:09 1204次阅读
    如何更好选择二维码识别<b class='flag-5'>扫描器</b>厂家?

    二维码固定式扫描器扫码演示,可读取多种码制的一维二维码

    扫描器
    深圳市远景达物联网技术有限公司
    发布于 :2025年08月08日 15:57:28

    固定式条码扫描器能在条码移动情况下扫描吗?

    扫描器之所以能应对移动条码,核心在于其动态捕捉能力。这类设备通常搭载高帧率图像传感,主流产品的帧率可达30-120帧/秒,部分工业级设备甚至能达到200帧以上。高帧
    的头像 发表于 08-04 15:18 917次阅读
    固定式条码<b class='flag-5'>扫描器</b>能在条码移动情况下<b class='flag-5'>扫描</b>吗?

    如何在树莓派 AI HAT+上进行YOLO姿态估计?

    行YOLO目标检测?如何在树莓派AIHAT+上进行YOLO姿态估计?今天是第四部分:如何在树莓派AIHAT+上进行YOLO姿态估计?如果大家对这个专题感兴趣,记得
    的头像 发表于 07-20 20:34 1323次阅读
    如何在树莓派 AI HAT+上进行YOLO姿态估计?