# Ab ble gateway doesn't work for manufacture filter

**URL:** <https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894>\
**Category:** BLE Gateway\
**Created:** [November 13, 2023, 7:20am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894 "2023-11-13T07:20:16Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![tedchoi](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@tedchoi](https://bbs.aprbrother.com/u/tedchoi)\
**Post date:** [November 13, 2023, 7:20am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/1 "2023-11-13T07:20:17Z")

</div>

Firmware version of Config Tools For BLE Gateway is 1.5.15i.  
The test packet is “0x0201060F0953616E4368656F6E67205041535305FF31013B04”. so I entered “0131” on textfield for Manufacture ID Filter.

But It doesn’t work.

Please help me~

 ![20231113_161953](https://bbs.aprbrother.com/uploads/default/original/1X/3f0b5671b3bcc3701311fa20d76ead3ccb40f7de.jpeg)

It works for this data.  
0x02010609FF5D0302030211002208094150542D546167

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [November 13, 2023, 8:22am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/2 "2023-11-13T08:22:38Z")

</div>

Hi,

I tested with the packet `0x0201060F0953616E4368656F6E67205041535305FF31013B04` and gateway `v1.5.15i`. It works

See my screenshot

the config screen

 ![截屏2023-11-13 16.20.09](https://bbs.aprbrother.com/uploads/default/original/1X/78947015b81f38e09e9b066e9cddc30bf4f6a31e.png)

The ble viewer

 ![截屏2023-11-13 16.19.53](https://bbs.aprbrother.com/uploads/default/original/1X/1b9e2da06bc242891564ca5def97552a19c898dc.png)

Please try do disable the `Duplicate Filter` and test again

---

<div class="post-metadata">

**Author:** ![tedchoi](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@tedchoi](https://bbs.aprbrother.com/u/tedchoi)\
**Post date:** [November 13, 2023, 11:45pm UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/3 "2023-11-13T23:45:09Z")

</div>

Thanks for your reply.  
I changed Duplicate Filter to disable. But the result is same.

 ![20231114_084056](https://bbs.aprbrother.com/uploads/default/original/1X/4d73bd8ab1d64abf6335a2c690dfa6359268a4dd.jpeg)  
004C works too.  
Is there anything else I should check?

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [November 14, 2023, 1:13am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/4 "2023-11-14T01:13:53Z")

</div>

please take a screenshot like the above one when you remove the Manufacture ID Filter. It must contains the advertising data with manufacture ID `0131`.

We’ll try to reproduce the issue

---

<div class="post-metadata">

**Author:** ![tedchoi](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@tedchoi](https://bbs.aprbrother.com/u/tedchoi)\
**Post date:** [November 14, 2023, 4:06am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/5 "2023-11-14T04:06:45Z")

</div>

I think that it seems like the data was cut.  
“0x0201060F0953616E4368656F6E67205041535305_ **FF31013B04** _”  
“FF31013B04” was gone. I can’t find it.

 ![screenshot_gateway](https://bbs.aprbrother.com/uploads/default/original/1X/bba5ae0ef623b5d05a211da5a80b933d22e26741.png)

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [November 14, 2023, 5:18am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/6 "2023-11-14T05:18:10Z")

</div>

Where did you get the full advertising data `0x0201060F0953616E4368656F6E67205041535305FF31013B04`? From the Android `nRF Connect.app`?

1. Try to add mac address filter `BBA050DA27CC` to filter out other data first.
2. The part `05FF31013B04` should be scan response data. Try to change the `Scan Mode` to `Active scan` and restart the gateway.

---

<div class="post-metadata">

**Author:** ![tedchoi](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@tedchoi](https://bbs.aprbrother.com/u/tedchoi)\
**Post date:** [November 14, 2023, 5:28am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/7 "2023-11-14T05:28:22Z")

</div>

right. I checked the full advertising data with nRF Connect on Android.

 ![Screenshot_20231114_142317_nRF Connect](https://bbs.aprbrother.com/uploads/default/original/1X/4d4191013815b7f0e798b745770877c5112fd160.jpeg)

---

<div class="post-metadata">

**Author:** ![tedchoi](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@tedchoi](https://bbs.aprbrother.com/u/tedchoi)\
**Post date:** [November 14, 2023, 5:31am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/8 "2023-11-14T05:31:06Z")

</div>

As you saying I did it, but result is same.  
Data was gone.

 ![screen](https://bbs.aprbrother.com/uploads/default/original/1X/97bf9869d277fb489b5d115e63ca888cc45aa64e.png)

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [November 14, 2023, 5:31am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/9 "2023-11-14T05:31:23Z")

</div>

The `nRF Connect.app` merged the `advertising data` and `scan response data` to Raw data. It’s not the real advertising data.

You must enable `Active Scan` to get `scan response data`. Power off and power on the gateway to check the result.

---

<div class="post-metadata">

**Author:** ![tedchoi](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@tedchoi](https://bbs.aprbrother.com/u/tedchoi)\
**Post date:** [November 14, 2023, 5:42am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/10 "2023-11-14T05:42:51Z")

</div>

Something is changed. As you saying Data is seperated.  
So, to resolve this problem, should I merge “0xFFxxxx” to the advertising data in the advertising?

 ![screen2](https://bbs.aprbrother.com/uploads/default/original/1X/22fbbd576bfddc7add69dbe9840a938a2a1fb27a.png)

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [November 14, 2023, 5:44am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/11 "2023-11-14T05:44:29Z")

</div>

> [@tedchoi](#):
>
> So, to resolve this problem, should I merge “0xFFxxxx” to the advertising data in the advertising?

It’s the best solution if you can do it.

---

<div class="post-metadata">

**Author:** ![tedchoi](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@tedchoi](https://bbs.aprbrother.com/u/tedchoi)\
**Post date:** [November 14, 2023, 5:44am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/12 "2023-11-14T05:44:53Z")

</div>

Thank you so much for your reply.

---

<div class="post-metadata">

**Author:** ![tedchoi](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@tedchoi](https://bbs.aprbrother.com/u/tedchoi)\
**Post date:** [November 14, 2023, 5:46am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/13 "2023-11-14T05:46:02Z")

</div>

Is it any second solution?

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [November 14, 2023, 5:47am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/14 "2023-11-14T05:47:15Z")

</div>

Do you mean merge the advertising data and scan response data at gateway side?

---

<div class="post-metadata">

**Author:** ![tedchoi](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@tedchoi](https://bbs.aprbrother.com/u/tedchoi)\
**Post date:** [November 14, 2023, 5:48am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/15 "2023-11-14T05:48:19Z")

</div>

yeap, as the second solution at gateway side~

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [November 14, 2023, 5:51am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/16 "2023-11-14T05:51:45Z")

</div>

I suggest you do this at your server end. The advertising type for `scan response data` is 4, type for advertising data is 0.

---

<div class="post-metadata">

**Author:** ![tedchoi](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@tedchoi](https://bbs.aprbrother.com/u/tedchoi)\
**Post date:** [November 14, 2023, 5:53am UTC](https://bbs.aprbrother.com/t/ab-ble-gateway-doesnt-work-for-manufacture-filter/1894/17 "2023-11-14T05:53:55Z")

</div>

OK, I knew you meaning. thanks~ (🙂
