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
    +关注

    关注

    12

    文章

    608

    浏览量

    58837
  • 扫描器
    +关注

    关注

    0

    文章

    130

    浏览量

    11754
收藏 人收藏

    评论

    相关推荐

    二维固定式扫描器扫描哪些条码

    二维固定式扫描器作为一种用于一维码、二维码信息识别和读取的条码识别重要产品,它在当前零售商场、物流、工业生产等各行各业应用领域中都扮演着重要角色。拿市面上常见的二维固定式扫描器在消费端市场应用来
    的头像 发表于 08-10 15:54 666次阅读
    二维固定式<b class='flag-5'>扫描器</b>能<b class='flag-5'>扫描</b>哪些条码

    橙群微电子推出125C全温度范围NanoBeacon BLE SoC IN100

    很高兴地宣布通过 DigiKey 推出尖端的 125C 全温度范围NanoBeacon BLE SoC IN100! 这款多功能 SoC 为各种高温应用提供了无限可能。
    的头像 发表于 08-09 10:54 558次阅读

    INGCHIPS BLE芯片如何获得最大吞吐量

    概述:文章第一部分先公布结论,第二部分是1M PHY吞吐率的实测过程与理论分析,第三部分是2M PHY的实测数据,第四部分是实操部分,喜欢
    的头像 发表于 07-12 16:56 445次阅读
    INGCHIPS <b class='flag-5'>BLE</b>芯片如何获得最大吞吐量

    硬件即代码第四部分:嵌入式RAM

    电子发烧友网站提供《硬件即代码第四部分:嵌入式RAM.zip》资料免费下载
    发表于 06-14 15:10 0次下载
    硬件即代码<b class='flag-5'>第四部分</b>:嵌入式RAM

    Android Things I2C地址扫描器

    电子发烧友网站提供《Android Things I2C地址扫描器.zip》资料免费下载
    发表于 06-13 17:02 0次下载
    Android Things I2C地址<b class='flag-5'>扫描器</b>

    NanoBeaconBLE扫描器教程(第三部分

    Let’srecapwhatwecoveredinthepreviousarticleswithinthisseries:让我们回顾一下我们在本系列的前几篇文章中所涉及的内容:Requirements,installation,andsetupstepsforusingthemobileapp使用移动应用程序的要求、安装和设置步骤Overviewofthed
    的头像 发表于 06-08 10:40 460次阅读
    <b class='flag-5'>NanoBeacon</b>™ <b class='flag-5'>BLE</b><b class='flag-5'>扫描器</b>教程(第三<b class='flag-5'>部分</b>)

    NanoBeaconBLE扫描器教程(第二部分

    Intheprevioustutorialwithinthisseriescoveringourrecently-releasedNanoBeaconBLEScannermobileapp,wecoveredanoverviewofthemobileapp,wheretoinstallitfrom,howtouseittoimportanIN100confi
    的头像 发表于 06-07 10:51 464次阅读
    <b class='flag-5'>NanoBeacon</b>™ <b class='flag-5'>BLE</b><b class='flag-5'>扫描器</b>教程(第二<b class='flag-5'>部分</b>)

    NanoBeaconBLE扫描器教程(第四部分

    到目前为止,我们已经发布了三个关于使用我们新的NanoBeaconBLE扫描器移动应用程序的教程。
    的头像 发表于 06-02 14:35 307次阅读
    <b class='flag-5'>NanoBeacon</b>™ <b class='flag-5'>BLE</b><b class='flag-5'>扫描器</b>教程(<b class='flag-5'>第四部分</b>)

    NanoBeaconBLE扫描器教程

    到目前为止,我们已经发布了三个关于使用我们新的NanoBeaconBLE扫描器移动应用程序的教程。
    的头像 发表于 06-02 14:35 441次阅读
    <b class='flag-5'>NanoBeacon</b>™ <b class='flag-5'>BLE</b><b class='flag-5'>扫描器</b>教程

    NanoBeaconBLE扫描器教程(第一部分

    FollowingthereleaseofournewNanoBeaconBLEScannermobileapp,wethoughtitwouldbegreattopublishafewtutorialsonhowyouwouldusethenewappalongwithourpopularNanoBeaconIN100beacon.随着我们新的NanoBe
    的头像 发表于 05-31 09:55 510次阅读
    <b class='flag-5'>NanoBeacon</b>™ <b class='flag-5'>BLE</b><b class='flag-5'>扫描器</b>教程(第一<b class='flag-5'>部分</b>)

    NanoBeaconBLE扫描器教程(第二部分

    在本系列的上一篇教程中,我们介绍了最近发布的NanoBeacon BLE扫描器移动应用程序,包括移动应用程序的概述、从哪里安装、如何使用它从NanoBeacon 配置工具桌面应用程序导
    的头像 发表于 05-31 09:18 407次阅读
    <b class='flag-5'>NanoBeacon</b>™ <b class='flag-5'>BLE</b><b class='flag-5'>扫描器</b>教程(第二<b class='flag-5'>部分</b>)

    NanoBeaconBLE扫描器教程(第一部分

    随着我们新的NanoBeacon BLE扫描器移动应用程序的发布,我们认为发布一些关于如何使用新的应用程序和我们流行的NanoBeacon IN100信标的教程将是非常好的。
    的头像 发表于 05-25 09:43 517次阅读
    <b class='flag-5'>NanoBeacon</b>™ <b class='flag-5'>BLE</b><b class='flag-5'>扫描器</b>教程(第一<b class='flag-5'>部分</b>)

    NanoBeaconBLE扫描器移动应用程序上架应用宝

    NanoBeacon BLE扫描器移动应用程序是一个先进的BLE扫描器,允许你发现广告BLE设备
    的头像 发表于 05-22 11:12 501次阅读
    <b class='flag-5'>NanoBeacon</b>™ <b class='flag-5'>BLE</b><b class='flag-5'>扫描器</b>移动应用程序上架应用宝

    NanoBeaconBLE扫描器移动应用程序上架应用宝

    2023年5月,NanoBeaconBLE扫描器移动应用程序正式上架应用宝,欢迎大家关注并下载。简介:NanoBeacon™BLEAPP由上海橙群微电子有限公司独立开发,此APP允许
    的头像 发表于 05-22 10:39 285次阅读
    <b class='flag-5'>NanoBeacon</b>™ <b class='flag-5'>BLE</b><b class='flag-5'>扫描器</b>移动应用程序上架应用宝

    红光条码扫描器、固定式扫描器广泛应用于工业制造领域

    随着科技的不断进步,电子制造业、汽配行业、生产流水线等工业制造领域离不开红光条码扫描器。作为专用于扫描条码、二维码的扫描器,它在工业领域中扮演着重要的角色,因为它们可以帮助企业提高生产效率、减少
    的头像 发表于 05-12 16:11 527次阅读
    红光条码<b class='flag-5'>扫描器</b>、固定式<b class='flag-5'>扫描器</b>广泛应用于工业制造领域