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

    文章

    745

    浏览量

    66005
  • 扫描器
    +关注

    关注

    0

    文章

    189

    浏览量

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

扫码添加小助手

加入工程师交流群

    评论

    相关推荐
    热点推荐

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

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

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

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

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

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

    自助售货机内嵌扫描器应该要如何选用?

    随着移动支付和新零售的蓬勃发展,自助售货机作为"无人零售"的重要载体,正经历着智能化升级的浪潮。作为设备核心组件的内嵌扫描器,其性能表现直接影响着交易效率与用户体验。本文将从
    的头像 发表于 05-07 14:25 480次阅读
    自助售货机内嵌<b class='flag-5'>扫描器</b>应该要如何选用?

    选购固定式二维影像扫描器需要注意什么?考虑哪些方面?

    在数字化日益普及的今天,固定式二维影像扫描器已成为各行业提升工作效率的重要工具。无论是物流仓储、工业生产,还是医疗、图书馆等领域,其应用都极为广泛。然而,面对市场上琳琅满目的产品,如何选购一款合适
    的头像 发表于 02-14 14:38 640次阅读
    选购固定式二维影像<b class='flag-5'>扫描器</b>需要注意什么?考虑哪些方面?

    松下MPS媒体制作平台 第九篇:视频混合插件(第四部分)

    第九篇:视频混合插件(第四部分) 视频混合(Video Mixer)插件可以轻松进行主体键控,不受拍摄地点的局限,同时便于将多种视频素材进行合成。 关于MPS媒体制作平台的视频混合
    的头像 发表于 01-16 11:30 1095次阅读
    松下MPS媒体制作平台 第九篇:视频混合<b class='flag-5'>器</b>插件(<b class='flag-5'>第四部分</b>)

    二维扫码头有效扫描距离是多少,影响二维扫描头扫码的因素有哪些

    在现代科技快速发展的今天,二维码扫描已经成为我们日常生活和工作中不可或缺的一部分,无论是支付、物流追踪还是信息获取,都离不开二维码的扫描。那么,二维扫描头的有效
    的头像 发表于 01-15 16:26 1879次阅读
    二维扫码头有效<b class='flag-5'>扫描</b>距离是多少,影响二维<b class='flag-5'>扫描</b>头扫码的因素有哪些

    嵌入式条码扫描器哪家好?嵌入式扫码需不需要用串口方式连接?

    在当今信息化时代,嵌入式条码扫描器作为自动化数据处理的关键设备,广泛应用于工业制造、仓储物流、零售商业等多个领域。那么,在众多品牌中,嵌入式条码扫描器究竟哪家好?而嵌入式扫码又是否必须使用串口方式
    的头像 发表于 01-10 00:00 605次阅读
    嵌入式条码<b class='flag-5'>扫描器</b>哪家好?嵌入式扫码<b class='flag-5'>器</b>需不需要用串口方式连接?

    松下MPS媒体制作平台第八篇:视频混合插件(第三部分)

    多种视频素材进行合成。 关于视频混合的操作介绍,我们一共制作了四部分的MPS媒体制作平台教程,本期是第三部分。在进入本部分之前,您也可以参阅第一、二
    的头像 发表于 01-08 10:10 936次阅读
    松下MPS媒体制作平台第八篇:视频混合<b class='flag-5'>器</b>插件(第三<b class='flag-5'>部分</b>)

    工业二维码条码扫描器流水线条码扫描

    在工业生产的广阔舞台上,工业二维码条码扫描器以其卓越的耐用性和高效的扫描能力,成为了连接自动化生产与信息管理不可或缺的桥梁。它们不仅是工厂流水线上的“慧眼”,更是提升生产效率、保障产品质量的得力助手
    的头像 发表于 01-07 16:07 900次阅读
    工业二维码条码<b class='flag-5'>扫描器</b>流水线条码<b class='flag-5'>扫描</b>

    固定式工业级二维码扫描器选型方法

    在现代工业自动化的浪潮中,固定式工业级二维码扫描器作为数据采集与追溯的关键设备,其选型直接关系到生产效率与数据准确性。本文旨在简要阐述固定式工业级二维码扫描器的选型方法,帮助企业决策者高效、精准
    的头像 发表于 01-07 15:37 926次阅读
    固定式工业级二维码<b class='flag-5'>扫描器</b>选型方法

    哪种二维码扫描器适合生产线应用?

    在当今的工业生产中,二维码扫描器扮演着至关重要的角色,它能够快速、准确地采集数据,提高生产效率和管理水平。然而,面对众多的二维码扫描器产品,选择适合生产线应用的并非易事。首先,我们需要考虑生产线
    的头像 发表于 12-19 16:43 934次阅读
    哪种二维码<b class='flag-5'>扫描器</b>适合生产线应用?

    松下MPS媒体制作平台第七篇:视频混合插件(第二部分)

    第七篇:视频混合插件(第二部分) 视频混合(Video Mixer)插件可以轻松进行主体键控,不受拍摄地点的局限,同时便于将多种视频素材进行合成。 关于视频混合的操作介绍,我们一
    的头像 发表于 12-19 13:38 900次阅读
    松下MPS媒体制作平台第七篇:视频混合<b class='flag-5'>器</b>插件(第二<b class='flag-5'>部分</b>)

    红外、光感双重触发的条码扫描器,用于生产线上

    随着工业自动化的不断发展,生产线上的效率与准确性成为了企业追求的目标。红外、光感双重触发的条码扫描器作为一种先进的自动识别技术,正逐渐在生产线上发挥着重要作用。本文将详细介绍这种条码扫描器的工作原理
    的头像 发表于 12-17 16:02 772次阅读
    红外、光感双重触发的条码<b class='flag-5'>扫描器</b>,用于生产线上

    固定式扫描器哪款好?盘点高性价比型号推荐,打造高效扫码体验

    在现代企业中,固定式扫描器已成为一种不可或缺的工具。无论是在零售、物流、仓储还是生产线,固定式扫描器都能有效提升工作效率与准确性。那么,市场上众多型号中,哪款固定式扫描器更具性价比呢?本文将从
    的头像 发表于 12-12 14:56 1336次阅读
    固定式<b class='flag-5'>扫描器</b>哪款好?盘点高性价比型号推荐,打造高效扫码体验