# XBee3 LTE-M how to get scan response from peripheral

**URL:** <https://forums.digi.com/t/xbee3-lte-m-how-to-get-scan-response-from-peripheral/22533>\
**Category:** XBee Micropython & IDE plugin\
**Tags:** micropython, ble, digi\
**Created:** [July 8, 2021, 11:18am UTC](https://forums.digi.com/t/xbee3-lte-m-how-to-get-scan-response-from-peripheral/22533 "2021-07-08T11:18:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamilmuza](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@kamilmuza](https://forums.digi.com/u/kamilmuza)\
**Post date:** [July 8, 2021, 11:18am UTC](https://forums.digi.com/t/xbee3-lte-m-how-to-get-scan-response-from-peripheral/22533/1 "2021-07-08T11:18:13Z")

</div>

Currently playing with a XBee 3 LTE-M device in the development board and MicroPython using the Pycharm IDE plugin.

When running a BLE gap.scan, I don’t see a way to get the scan response, I’m only getting advertisement payloads.

e.g {‘addr\_type’: 0, ‘payload’: b’\x02\x01\x06\x04\xff\x0c\x01\x08’, ‘connectable’: True, ‘address’: b’\x04\xee\x03\xdb]\xcf’, ‘rssi’: -44}

From legacy micropython documentation:

[https://docs.micropython.org/en/latest/library/ubluetooth.html?highlight=gap\_scan#ubluetooth.BLE.gap\_scan](https://docs.micropython.org/en/latest/library/ubluetooth.html?highlight=gap_scan#ubluetooth.BLE.gap_scan)

If you set BLE.gap\_scan(active=True) flag, you will get scan responses on the scan results.

How can I achieve this on digi.ble?

Thank you,

Kamil

---

<div class="post-metadata">

**Author:** ![tckr](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/tckr/32/2522_2.png) [@tckr](https://forums.digi.com/u/tckr)\
**Post date:** [July 9, 2021, 10:42am UTC](https://forums.digi.com/t/xbee3-lte-m-how-to-get-scan-response-from-peripheral/22533/2 "2021-07-09T10:42:32Z")

</div>

Hi,

XBee MicroPython currently does not support active scan.

If active scan (reading scan responses from remote devices) is a critical feature for a product you are building, please reach out to Digi sales.

---

<div class="post-metadata">

**Author:** ![kamilmuza](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@kamilmuza](https://forums.digi.com/u/kamilmuza)\
**Post date:** [July 9, 2021, 3:33pm UTC](https://forums.digi.com/t/xbee3-lte-m-how-to-get-scan-response-from-peripheral/22533/3 "2021-07-09T15:33:21Z")

</div>

Thank you, I will
