女人自慰AV免费观看内涵网,日韩国产剧情在线观看网址,神马电影网特片网,最新一级电影欧美,在线观看亚洲欧美日韩,黄色视频在线播放免费观看,ABO涨奶期羡澄,第一导航fulione,美女主播操b

0
  • 聊天消息
  • 系統(tǒng)消息
  • 評論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會員中心
創(chuàng)作中心

完善資料讓更多小伙伴認識你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示

NanoBeacon? BLE掃描器教程(第二部分)

su230443335 ? 來源:橙群微電子 ? 2023-05-31 09:18 ? 次閱讀

In the previous tutorial within this series covering our recently-released NanoBeacon BLE Scanner mobile app, we covered an overview of the mobile app, where to install it from, how to use it to import an IN100 configuration from the NanoBeacon Config Tool desktop app, and more.

在本系列的上一篇教程中,我們介紹了最近發(fā)布的NanoBeacon BLE掃描器移動應(yīng)用程序,包括移動應(yīng)用程序的概述、從哪里安裝、如何使用它從NanoBeacon 配置工具桌面應(yīng)用程序?qū)隝N100配置等。

In this tutorial, we will cover the following:

在本教程中,我們將介紹以下內(nèi)容:

A detailed look into device filters

對設(shè)備過濾器的詳細了解

Differences between the iOS and Android versions of the app

該應(yīng)用程序的iOS和Android版本之間的差異

Let’s get started!

讓我們開始吧!

Device Filters設(shè)備過濾器

Here’s a look at the various filters available within the app for filtering for specific devices:

下面我們來看看應(yīng)用程序中可用于過濾特定設(shè)備的各種過濾器:

0de0d7bc-fecb-11ed-90ce-dac502259ad0.png

To recap, the available filters are:

簡而言之,可用的過濾器是:

Name: this allows you to filter by device name.

名稱:這允許你按設(shè)備名稱過濾。

Advanced: allows you to filter by raw data included in the advertising data, company name, etc.

高級:允許你按廣播數(shù)據(jù)中包含的原始數(shù)據(jù)、公司名稱等進行過濾。

On Android, filtering by Bluetooth Address is possible (iOS does not expose the device’s Bluetooth address).

在安卓系統(tǒng)上,可以通過藍牙地址進行過濾(iOS系統(tǒng)不暴露設(shè)備的藍牙地址)。

Minimum RSSI: this allows you to filter out devices that are discovered with an RSSI lower than the set value.

最小RSSI:這允許你過濾掉那些發(fā)現(xiàn)的RSSI低于設(shè)定值的設(shè)備。

Hide unnamed devices: this allows you to hide devices that donotadvertise a device name.

隱藏未命名的設(shè)備:這允許你隱藏那些沒有公布設(shè)備名稱的設(shè)備。

Only show project configuration matches:this allows you to show only devices that match the imported IN100 configuration (via scanning the QR code from the NanoBeacon Config Tool app).

只顯示項目配置匹配:這允許你只顯示與導(dǎo)入的IN100配置匹配的設(shè)備(通過掃描NanoBeacon配置工具應(yīng)用程序的QR碼)。

Sort by RSSI: this allows you to sort the list of devices by detected RSSI (starting with the device with the strongest signal).

按RSSI排序: 這允許你按檢測到的RSSI對設(shè)備列表進行排序(從信號最強的設(shè)備開始)。

Type:allows you to show any combination of iBeacon, Eddystone UID, and Eddystone TLM advertising devices (while excluding other non-selected devices), as shown below:

類型:允許你顯示iBeacon、Eddystone UID和Eddystone TLM廣播設(shè)備的任何組合(同時排除其他未選擇的設(shè)備),如下所示:

0e09c820-fecb-11ed-90ce-dac502259ad0.png

Let’s dig into each of these in more detail.

讓我們更詳細地挖掘其中的每一點。

Device Name and Unnamed Devices

設(shè)備名稱和未命名的設(shè)備

When scanning for advertising BLE devices, you will typically see dozens of devices being discovered. This can make it challenging to find the device of interest. To address this (and if you know the device name), you can type in a portion of the device name (case-sensitive), and the scanner will only display the devices that match the entered device name.

在掃描廣播BLE設(shè)備時,你通常會看到有幾十個設(shè)備被發(fā)現(xiàn)。這可能會使找到感興趣的設(shè)備成為一種挑戰(zhàn)。為了解決這個問題(如果您知道設(shè)備名稱),您可以輸入設(shè)備名稱的一部分(區(qū)分大小寫),掃描器將只顯示與輸入的設(shè)備名稱相符的設(shè)備。

For example, here I’ve set up an IN100 with one advertising set (custom data type), and I’ve set the device name to be “IN100”:

例如,在這里我設(shè)置了一個IN100的廣播集(自定義數(shù)據(jù)類型),我將設(shè)備名稱設(shè)置為 "IN100":

0e270156-fecb-11ed-90ce-dac502259ad0.png

In the scanner view, the device will show up but among tens of other devices, making it challenging to find. Let’s add a device name filter to make it easier to find:

在掃描器視圖中,該設(shè)備將顯示出來,但在幾十個其他設(shè)備中,使其難以找到。讓我們添加一個設(shè)備名稱過濾器,使其更容易找到:

0e492a92-fecb-11ed-90ce-dac502259ad0.png

Once we enter the device name filter, we can click to the filter icon to go back to the scanner view. In the scanner view, we should be able to see the device now without all the other devices:

一旦我們輸入了設(shè)備名稱過濾器,我們就可以點擊過濾器圖標(biāo)回到掃描儀視圖。在掃描器視圖中,我們現(xiàn)在應(yīng)該能夠看到這個設(shè)備,而沒有其他所有的設(shè)備:

0e63d248-fecb-11ed-90ce-dac502259ad0.png

This also works by entering partial strings, for example “IN”.

這也可以通過輸入部分字符串來實現(xiàn),例如 "IN"。

Another useful filter is the “Hide unnamed devices” checkbox. Once that’s checked, the scanner will only display devices that have included a device name in the advertising data:

另一個有用的過濾器是 "隱藏未命名的設(shè)備 "復(fù)選框。一旦選中,掃描器將只顯示在廣播數(shù)據(jù)中包含設(shè)備名稱的設(shè)備:

0e79d2f0-fecb-11ed-90ce-dac502259ad0.png

Sorting by RSSI and Min RSSI

按RSSI和最小RSSI排序

Two other useful filters are the “Sort by RSSI” and “Minimum RSSI” filters.

另外兩個有用的過濾器是 "按RSSI排序 "和 "最小RSSI "過濾器。

“Minimum RSSI” is helpful for filtering out devices that are too far and that typically add clutter to the scan results. For relatively nearby devices, we recommend discovering devices with an RSSI of -70 or greater. This will ensure you are only looking at devices that are in proximity to your smartphone.

"最小RSSI "有助于過濾掉太遠的設(shè)備,這些設(shè)備通常會給掃描結(jié)果帶來混亂。對于相對較近的設(shè)備,我們建議發(fā)現(xiàn)RSSI為-70或更高的設(shè)備。這將確保你只看到與你的智能手機相近的設(shè)備。

Once you’ve set the minimum RSSI, it is also helpful to utilize the “Sort by RSSI” filter, which allows you to see a sorted list of discovered devices starting with the highest RSSI.

一旦你設(shè)置了最低RSSI,利用 "按RSSI排序 "過濾器也是很有幫助的,它可以讓你看到一個從最高RSSI開始的已發(fā)現(xiàn)設(shè)備的排序列表。

Here’s an example screenshot showing the results:

下面是一個顯示結(jié)果的屏幕截圖示例:

0e91671c-fecb-11ed-90ce-dac502259ad0.png

As you can see, the devices are sorted by RSSI in descending order.

你可以看到,設(shè)備是按RSSI降序排序的。

Type Filter類型過濾器

With the “Type” filter, you can ensure that only specific devices (iBeacon, Eddystone TLM, and Eddystone UID) are being listed in scanner view. You can select one or more of these types to show matching devices. The selected type is the only one that will be matched in the list. For example, selecting “Eddystone TLM” will only show Eddystone TLM advertising devices.

通過 "類型 "過濾器,你可以確保只有特定的設(shè)備(iBeacon、Eddystone TLM和Eddystone UID)被列在掃描儀視圖中。你可以選擇這些類型中的一個或多個來顯示匹配的設(shè)備。所選的類型是列表中唯一會被匹配的類型。例如,選擇 "Eddystone TLM "將只顯示Eddystone TLM廣播設(shè)備。

0ebb72aa-fecb-11ed-90ce-dac502259ad0.png

Note that all configured filters will be applied to the scan results. Also, there are certain restrictions on discovered iBeacon devices in the iOS version of the app. We’ll cover more on that in a later section within the tutorial.

請注意,所有配置的過濾器都將應(yīng)用于掃描結(jié)果。另外,在iOS版本的應(yīng)用程序中,對發(fā)現(xiàn)的iBeacon設(shè)備有一定的限制。我們將在本教程的后面一節(jié)中詳細介紹。

“Only show project configuration matches” Filter

"僅顯示項目配置匹配 "過濾器

The “Only show project configuration matches” filter is a unique feature of our NanoBeacon BLE Scanner mobile app. It allows you to only show devices that match the imported configuration from the NanoBeacon Config Tool.

"僅顯示項目配置匹配 "過濾器是我們的NanoBeacon BLE掃描器移動應(yīng)用程序的一個獨特功能。它允許你只顯示與從NanoBeacon配置工具導(dǎo)入的配置相匹配的設(shè)備。

This is a very powerful filter that will not only let you focus on analyzing your IN100 device’s advertising data but also view it in a human-readable format, which no other mobile app on the market can do!

這是一個非常強大的過濾器,不僅可以讓你專注于分析IN100設(shè)備的廣播數(shù)據(jù),還可以以人類可讀的格式查看,這是市場上其他移動應(yīng)用程序所不能做到的!

We covered how to import configurations via the QR code scan functionality in theprevious tutorial in this series.

我們在本系列的上一篇教程中介紹了如何通過二維碼掃描功能導(dǎo)入配置。

After importing the configuration and selecting this filter, the scanner will only show your device:

導(dǎo)入配置并選擇該過濾器后,掃描儀將只顯示你的設(shè)備:

0eec4614-fecb-11ed-90ce-dac502259ad0.png

And to make things even more user-friendly, you can navigate into each of the discovered advertising sets to view the detailed parsed advertising data:

為了使事情變得更加方便,你可以導(dǎo)航到每一個被發(fā)現(xiàn)的廣播集,以查看詳細的解析廣播數(shù)據(jù):

0f0007a8-fecb-11ed-90ce-dac502259ad0.png

0f1115fc-fecb-11ed-90ce-dac502259ad0.png

0f2f5a30-fecb-11ed-90ce-dac502259ad0.png

Advanced Filters 高級過濾器

The last filter we want to cover is the “Advanced” entry field. This allows us to filter by:

我們要介紹的最后一個過濾器是 "高級 "條目欄。這使我們可以通過以下方式進行過濾:

Raw bytes in the advertising data (hex values)

廣播數(shù)據(jù)中的原始字節(jié)(十六進制值)

Company ID (hex values)

公司ID (十六進制值)

Company Name (string values)

公司名稱(字符串值)

Device Name as well (string values)

設(shè)備名稱也是(字符串值)

Let’s take a look at an example of a discovered device and which parts can be matched using the Advanced Filter:

讓我們來看看一個被發(fā)現(xiàn)的設(shè)備的例子,以及哪些部分可以用高級過濾器來匹配:

0f4e43f0-fecb-11ed-90ce-dac502259ad0.png

As you can see, there are various types of filters that can help you match only the devices you’re interested in discovering and having show up in the list.

正如你所看到的,有各種類型的過濾器,可以幫助你只匹配你有興趣發(fā)現(xiàn)并顯示在列表中的設(shè)備。

Differences Between iOS and Android Versions of the App

應(yīng)用程序的iOS和Android版本之間的差異

There are quite a few differences between iOS and Android when it comes to UI, the functionality and APIs available to apps, BLE behavior, etc.

在用戶界面、應(yīng)用程序可用的功能和API、BLE行為等方面,iOS和Android之間有相當(dāng)多的差異。

It’s essential to be aware of these differences not just as a developer but also as a user of our mobile app. This will help you better understand how things work on each platform and are aware of any differences in behavior between the two that could affect your development and testing activities when working with BLE devices, specifically our NanoBeacon IN100.

不僅僅是作為一個開發(fā)者,而且作為我們的移動應(yīng)用的用戶,意識到這些差異是非常重要的。這將有助于你更好地了解每個平臺上的工作方式,并意識到兩者之間的任何行為差異,這可能會影響你在使用BLE設(shè)備時的開發(fā)和測試活動,特別是我們的NanoBeacon IN100。

Here’s a summary of the differences between the two platforms as it pertains to Bluetooth Low Energy functionality and the functionality of our NanoBeacon BLE Scanner mobile app:

以下是兩個平臺之間的差異總結(jié),它涉及到藍牙低能量功能和我們的NanoBeacon BLE掃描器移動應(yīng)用程序的功能:

Advertisement Data 廣播數(shù)據(jù)

iOS does not give apps visibility of the Bluetooth address, so it’s not possible to search by or view the Bluetooth address of the discovered device(s).

iOS不給應(yīng)用程序提供藍牙地址的可見性,所以不可能通過搜索或查看所發(fā)現(xiàn)設(shè)備的藍牙地址。

iBeacons come through the Core Location framework on iOS and are reported once per second, so the adv interval cannot be estimated.

iBeacons通過iOS上的核心定位框架,每秒報告一次,所以無法估計廣播時間間隔。

iOS does not provide access to the raw advertisement data, so user-defined data types are not supported.

iOS不提供對原始廣播數(shù)據(jù)的訪問,所以不支持用戶定義的數(shù)據(jù)類型。

On iOS, it’s not possible to scan for unspecified iBeacons, and they will not show up in scan results unless you have scanned in a configuration that contains an iBeacon. The app registers the iBeacon when you load the configuration.

在iOS上,不可能掃描未指定的iBeacon,除非你在包含iBeacon的配置中進行了掃描,否則它們不會在掃描結(jié)果中顯示出來。當(dāng)你加載配置時,應(yīng)用程序會注冊iBeacon。

iOS will report iBeacons RSSI as 0 if iOS cannot determine the iBeacons proximity based on the TX power included in the iBeacon payload. The algorithm used by iOS is not public.

如果iOS無法根據(jù)iBeacon有效載荷中包含的發(fā)射功率確定iBeacon的距離,那么iOS將把iBeacons的RSSI報告為0。iOS使用的算法并不公開。

iOS will continue to report an iBeacon for up to 30 seconds after it has been powered down (or goes out of range).

在iBeacon斷電(或超出范圍)后,iOS將繼續(xù)報告該iBeacon長達30秒。

General Scanning 一般掃描

iOS will miss more advertisement packets than Android when using a larger advertisement interval (greater than 1000 ms).

當(dāng)使用較大的廣播間隔(大于1000毫秒)時,iOS將比Android錯過更多的廣播數(shù)據(jù)包

Background Scanning 背景掃描

iOS does not allow continuous background scanning for advertisement data, with the exception of iBeacons.

除了iBeacons之外,iOS不允許對廣播數(shù)據(jù)進行連續(xù)的后臺掃描。

Android will allow continuous background scanning for all BLE advertisements.

Android將允許對所有BLE廣播進行連續(xù)的后臺掃描。

Notifications 通知

Android supports background notifications for all types of Triggered advertisements.

Android支持所有類型的Triggered廣播的后臺通知。

iOS only supports background notifications for Triggered iBeacon advertisements.

iOS只支持Triggered iBeacon廣播的后臺通知。

Conclusion 總結(jié)

And that’s it for this tutorial. We covered a lot of topics, including:

本教程到此結(jié)束。我們涵蓋了很多主題,包括:

Device Filters:

設(shè)備過濾器:

Device Name

設(shè)備名稱

Minimum RSSI

最小RSSI

Sort by RSSI

按RSSI排序

Hide Unnamed Devices

隱藏未命名的設(shè)備

Advanced Filters (raw data/bytes, text/strings, etc.)

高級過濾器(原始數(shù)據(jù)/字節(jié)、文本/字符串等)

Only Show Configuration Matches

只顯示配置匹配的設(shè)備

Filter by Type (Eddystone TLM, Eddystone UID, and iBeacon)

按類型過濾(Eddystone TLM,Eddystone UID,和iBeacon)

The differences between the iOS and Android versions of the mobile app.

移動應(yīng)用程序的iOS和Android版本之間的差異。

In the upcoming tutorials in the series, we will cover:

在接下來的系列教程中,我們將介紹:

How to export logging data for captured advertising sets and analyze them

如何為捕獲的廣播集導(dǎo)出記錄數(shù)據(jù)并進行分析

App notifications for Triggered Advertising Mode advertising sets

觸發(fā)式廣播模式廣播集的應(yīng)用程序通知

The new NanoBeaconLib mobile app library (allows you to develop a custom IN100-interfacing mobile app in no time!)

新的NanoBeaconLib移動應(yīng)用程序庫(允許你在短時間內(nèi)開發(fā)一個自定義的IN100界面的移動應(yīng)用程序!)。

and more!

以及更多!

審核編輯:湯梓紅

聲明:本文內(nèi)容及配圖由入駐作者撰寫或者入駐合作網(wǎng)站授權(quán)轉(zhuǎn)載。文章觀點僅代表作者本人,不代表電子發(fā)燒友網(wǎng)立場。文章及其配圖僅供工程師學(xué)習(xí)之用,如有內(nèi)容侵權(quán)或者其他違規(guī)問題,請聯(lián)系本站處理。 舉報投訴
  • Android
    +關(guān)注

    關(guān)注

    12

    文章

    3961

    瀏覽量

    129462
  • 藍牙
    +關(guān)注

    關(guān)注

    115

    文章

    6008

    瀏覽量

    173008
  • 應(yīng)用程序
    +關(guān)注

    關(guān)注

    38

    文章

    3321

    瀏覽量

    58647
  • BLE
    BLE
    +關(guān)注

    關(guān)注

    12

    文章

    691

    瀏覽量

    60341
  • 掃描器
    +關(guān)注

    關(guān)注

    0

    文章

    179

    瀏覽量

    12250

原文標(biāo)題:NanoBeacon? BLE掃描器教程(第二部分)

文章出處:【微信號:gh_3f4003bc6add,微信公眾號:橙群微電子】歡迎添加關(guān)注!文章轉(zhuǎn)載請注明出處。

收藏 人收藏

    評論

    相關(guān)推薦
    熱點推薦

    實現(xiàn)免調(diào)整VCO1的IC (第二部分)

    實現(xiàn)免調(diào)整VCO1的IC (第二部分)
    發(fā)表于 05-07 13:18 ?46次下載

    AT91SAM9260使用手冊第二部分

    AT91SAM9260使用手冊第二部分
    發(fā)表于 03-10 09:13 ?86次下載

    中國NB-IOT產(chǎn)業(yè)聯(lián)盟-第二部分問題清單-20160824

    中國NB-IOT產(chǎn)業(yè)聯(lián)盟-第二部分問題清單
    發(fā)表于 01-11 12:00 ?7次下載

    2012年P(guān)SoC數(shù)模混合設(shè)計培訓(xùn)_第二部分

    2012年P(guān)SoC數(shù)模混合設(shè)計培訓(xùn)_第二部分
    發(fā)表于 10-27 09:32 ?26次下載
    2012年P(guān)SoC數(shù)模混合設(shè)計培訓(xùn)_<b class='flag-5'>第二部分</b>

    如何使用 Nios II 處理進行你中意的設(shè)計之第二部分教程

    使用 Nios II 處理進行設(shè)計”第二部分
    的頭像 發(fā)表于 06-11 14:36 ?5326次閱讀
    如何使用 Nios II 處理<b class='flag-5'>器</b>進行你中意的設(shè)計之<b class='flag-5'>第二部分</b>教程

    AN-389: 使用Σ-Δ轉(zhuǎn)換第二部分[中文版]

    AN-389: 使用Σ-Δ轉(zhuǎn)換第二部分[中文版]
    發(fā)表于 03-19 06:38 ?0次下載
    AN-389: 使用Σ-Δ轉(zhuǎn)換<b class='flag-5'>器</b>—<b class='flag-5'>第二部分</b>[中文版]

    有時你需要一點收獲第二部分

    有時你需要一點收獲第二部分
    發(fā)表于 04-19 11:32 ?9次下載
    有時你需要一點收獲<b class='flag-5'>第二部分</b>

    超聲波感應(yīng)會被用于何處?—— 第二部分

    超聲波感應(yīng)會被用于何處?—— 第二部分
    發(fā)表于 11-01 08:27 ?2次下載
    超聲波感應(yīng)<b class='flag-5'>器</b>會被用于何處?—— <b class='flag-5'>第二部分</b>

    如何實現(xiàn)更高的系統(tǒng)效率——第二部分:高速柵極驅(qū)動

    如何實現(xiàn)更高的系統(tǒng)效率——第二部分:高速柵極驅(qū)動
    發(fā)表于 11-02 08:15 ?2次下載
    如何實現(xiàn)更高的系統(tǒng)效率——<b class='flag-5'>第二部分</b>:高速柵極驅(qū)動<b class='flag-5'>器</b>

    設(shè)計一臺物聯(lián)網(wǎng)模塊燈——第二部分

    設(shè)計一臺物聯(lián)網(wǎng)模塊燈——第二部分
    發(fā)表于 11-02 08:16 ?0次下載
    設(shè)計一臺物聯(lián)網(wǎng)模塊燈——<b class='flag-5'>第二部分</b>

    生成任意量級的偏置電流網(wǎng)絡(luò)(第二部分

    生成任意量級的偏置電流網(wǎng)絡(luò)(第二部分
    發(fā)表于 11-03 08:04 ?0次下載
    生成任意量級的偏置電流網(wǎng)絡(luò)(<b class='flag-5'>第二部分</b>)

    NanoBeacon? BLE掃描器教程(第一部分

    隨著我們新的NanoBeacon BLE掃描器移動應(yīng)用程序的發(fā)布,我們認為發(fā)布一些關(guān)于如何使用新的應(yīng)用程序和我們流行的NanoBeacon IN100信標(biāo)的教程將是非常好的。
    的頭像 發(fā)表于 05-25 09:43 ?1132次閱讀
    <b class='flag-5'>NanoBeacon</b>? <b class='flag-5'>BLE</b><b class='flag-5'>掃描器</b>教程(第一<b class='flag-5'>部分</b>)

    NanoBeacon? BLE掃描器教程(第四部分

    到目前為止,我們已經(jīng)發(fā)布了三個關(guān)于使用我們新的NanoBeacon? BLE掃描器移動應(yīng)用程序的教程。
    的頭像 發(fā)表于 06-02 14:35 ?782次閱讀
    <b class='flag-5'>NanoBeacon</b>? <b class='flag-5'>BLE</b><b class='flag-5'>掃描器</b>教程(第四<b class='flag-5'>部分</b>)

    NanoBeacon? BLE掃描器教程

    到目前為止,我們已經(jīng)發(fā)布了三個關(guān)于使用我們新的NanoBeacon? BLE掃描器移動應(yīng)用程序的教程。
    的頭像 發(fā)表于 06-02 14:35 ?820次閱讀
    <b class='flag-5'>NanoBeacon</b>? <b class='flag-5'>BLE</b><b class='flag-5'>掃描器</b>教程

    NanoBeacon? BLE掃描器教程(第二部分

    Intheprevioustutorialwithinthisseriescoveringourrecently-releasedNanoBeaconBLEScannermobileapp,wecoveredanoverviewofthemobileapp,wheretoinstallitfrom,howtouseittoimportanIN100confi
    的頭像 發(fā)表于 06-07 10:51 ?1224次閱讀
    <b class='flag-5'>NanoBeacon</b>? <b class='flag-5'>BLE</b><b class='flag-5'>掃描器</b>教程(<b class='flag-5'>第二部分</b>)