how to sniffer in RX,in tx,i can get the name of TX,i can't get the derss of RX,what is it problem?

i study in derection of DOA.I now can get the iq sample from my Putty in COM PORT.i use NCS 1.9.1.I build and flash in my two  boards with nrf52833.i use the cammand line tool with west.

The bellow  picture are my Tx and Rx.left is Rx,right is Tx.

tx_rx

you can see the bluetooth derss of name  with random(DE:86:9B:6D:43:F0 ).but you can t get the derss with sniffer (wireshark sorftware ).but now i get the name with sniffer or app nrf connect.there is my tx(DF Connectionless Beacon App)sniffered .

 tx_nameI now want to  get the dress of Rx. because however in Tx or in Rx,you can get through prj.conf  file to have your name aout your Rx or Tx,but i can get the name about Rx(DF Connectionless Locator App).

T和 next are both prject's congiurations.i change the Rx device_name as Rx。

thism is Tx default coniguration.

#
# Copyright (c) 2021 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

CONFIG_BT=y
CONFIG_BT_DEVICE_NAME="DF Connectionless Beacon App"

CONFIG_BT_EXT_ADV=y
CONFIG_BT_PER_ADV=y

# Enable Direction Finding Feature including AoA and AoD
CONFIG_BT_DF=y

the Rx is here.

#
# Copyright (c) 2021 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

CONFIG_BT=y
#CONFIG_BT_DEVICE_NAME="DF Connectionless Locator App"
CONFIG_BT_DEVICE_NAME="Rx"

CONFIG_BT_EXT_ADV=y
CONFIG_BT_PER_ADV_SYNC=y
CONFIG_BT_OBSERVER=y

# Enable Direction Finding Feature including AoA and AoD
CONFIG_BT_DF=y
CONFIG_BT_DF_CONNECTIONLESS_CTE_RX=Y

whai is problem here?

L see that there LE seem  to have random deress because they aren't monitored by others.

Parents
  • Thanks,i now get the log from RTT.i can see the Tx in log.The picture  is below.

    00> [DEVICE]: 3A:22:E2:FF:55:2F (public), AD evt type 0, Tx Pwr: 127, RSSI -86  C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 5F:60:20:61:46:D5 (random), AD evt type 4, Tx Pwr: 127, RSSI -68  C:1 S:1 D:0 SR:1 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 04:38:E7:F8:ED:D4 (random), AD evt type 3, Tx Pwr: 127, RSSI -52  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 7F:2A:7E:EE:93:7A (random), AD evt type 3, Tx Pwr: 127, RSSI -53  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: FA:0D:AC:D8:7B:0D (public), AD evt type 0, Tx Pwr: 127, RSSI -90  C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: D6:2F:4E:A0:D2:8E (random), AD evt type 3, Tx Pwr: 127, RSSI -56  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 00:14:BE:60:20:C1 (public), AD evt type 0, Tx Pwr: 127, RSSI -67 JZS115 C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 06:60:ED:04:1C:6A (random), AD evt type 3, Tx Pwr: 127, RSSI -89  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 09:F3:94:9D:B6:04 (random), AD evt type 5, Tx Pwr: 127, RSSI -51 DF Connectionless Beacon App C:0 S:0 D:0 SR:0 E:1 Prim: LE 1M, Secn: LE 2M, Interval: 0x0780 (2400 ms), SID: 0
    00> [DEVICE]: 17:6E:A2:57:A5:B3 (random), AD evt type 3, Tx Pwr: 127, RSSI -56  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 14:15:D3:3D:3E:52 (random), AD evt type 3, Tx Pwr: 127, RSSI -85  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 3A:FC:CF:B1:5C:16 (random), AD evt type 3, Tx Pwr: 127, RSSI -64  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 5C:84:40:FB:7D:22 (random), AD evt type 0, Tx Pwr: 127, RSSI -84  C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 5C:84:40:FB:7D:22 (random), AD evt type 4, Tx Pwr: 127, RSSI -83  C:1 S:1 D:0 SR:1 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 43:E0:CC:D6:E7:A5 (random), AD evt type 3, Tx Pwr: 127, RSSI -73  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: D2:9A:E3:F4:F3:0D (random), AD evt type 0, Tx Pwr: 127, RSSI -90  C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 70:61:EE:22:88:0C (public), AD evt type 0, Tx Pwr: 127, RSSI -69  C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 70:61:EE:22:88:0C (public), AD evt type 4, Tx Pwr: 127, RSSI -68 M-Pencil C:1 S:1 D:0 SR:1 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 7F:34:A4:DA:0D:AB (random), AD evt type 0, Tx Pwr: 127, RSSI -57  C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 7F:34:A4:DA:0D:AB (random), AD evt type 4, Tx Pwr: 127, RSSI -57  C:1 S:1 D:0 SR:1 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 2D:7A:B8:CE:6A:35 (random), AD evt type 3, Tx Pwr: 127, RSSI -60  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 31:81:FC:A1:5A:66 (random), AD evt type 3, Tx Pwr: 127, RSSI -75  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 04:38:E7:F8:ED:D4 (random), AD evt type 3, Tx Pwr: 127, RSSI -63  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 5F:60:20:61:46:D5 (random), AD evt type 0, Tx Pwr: 127, RSSI -69  C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 5F:60:20:61:46:D5 (random), AD evt type 4, Tx Pwr: 127, RSSI -69  C:1 S:1 D:0 SR:1 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 04:CA:6B:BE:47:BB (random), AD evt type 3, Tx Pwr: 127, RSSI -54  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 3A:22:E2:FF:55:2F (public), AD evt type 0, Tx Pwr: 127, RSSI -80  C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 7F:2A:7E:EE:93:7A (random), AD evt type 3, Tx Pwr: 127, RSSI -51  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 00:14:BE:60:20:C1 (public), AD evt type 0, Tx Pwr: 127, RSSI -67 JZS115 C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 00:14:BE:60:20:C1 (public), AD evt type 4, Tx Pwr: 127, RSSI -67  C:1 S:1 D:0 SR:1 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: FC:E8:06:24:66:29 (public), AD evt type 0, Tx Pwr: 127, RSSI -58  C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: FC:E8:06:24:66:29 (public), AD evt type 4, Tx Pwr: 127, RSSI -57 EDIFIER Lolli Pods Plus C:1 S:1 D:0 SR:1 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> [DEVICE]: 09:F3:94:9D:B6:04 (random), AD evt type 5, Tx Pwr: 127, RSSI -55 DF Connectionless Beacon App C:0 S:0 D:0 SR:0 E:1 Prim: LE 1M, Secn: LE 2M, Interval: 0x0780 (2400 ms), SID: 0
    00> [DEVICE]: 17:6E:A2:57:A5:B3 (random), AD evt type 3, Tx Pwr: 127, RSSI -52  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    00> PER_ADV_SYNC[0]: [DEVICE]: 09:F3:94:9D:B6:04 (random) synced, Interval 0x0780 (2400 ms), PHY LE 2M
    00> PER_ADV_SYNC[0]: [DEVICE]: 09:F3:94:9D:B6:04 (random), tx_power 127, RSSI -52, CTE AOA, data length 0, data: 
    00> success. Periodic sync established.
    00> Enable receiving of CTE...
    00> success. CTE receive enabled.
    00> Scan disable...Success.
    00> Waiting for periodic sync lost...
    00> PER_ADV_SYNC[0]: [DEVICE]: 09:F3:94:9D:B6:04 (random), tx_power 127, RSSI -51, CTE AOA, data length 0, data: 
    00> CTE[0]: samples count 82, cte type AOA, slot durations: 1 [us], packet status CRC OK, RSSI -510
    00> IQ sample content : 

    i want to get the Rx adress.The name is RX.but  there is no name of RX.I i use nrf connect app for this sniffer.

    #
    # Copyright (c) 2021 Nordic Semiconductor ASA
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #
    
    CONFIG_BT=y
    #CONFIG_BT_DEVICE_NAME="DF Connectionless Locator App"
    CONFIG_BT_DEVICE_NAME="Rx"
    
    CONFIG_BT_EXT_ADV=y
    CONFIG_BT_PER_ADV_SYNC=y
    CONFIG_BT_OBSERVER=y
    
    # Enable Direction Finding Feature including AoA and AoD
    CONFIG_BT_DF=y
    CONFIG_BT_DF_CONNECTIONLESS_CTE_RX=y
    
    #RTT log
    CONFIG_USE_SEGGER_RTT=y
    CONFIG_RTT_CONSOLE=y
    CONFIG_UART_CONSOLE=n

  • Hi, 

    As I explained in the previous reply, the RX sample doesn't implement the advertisement as the TX sample, so the Sniffer cannot see the RX device. 

    -Amanda

  • ok,i know your meaning.yes,i see that the connectionless of DF is connectionless.is there no connection with Rx to Tx?i also notice that the bluetooth dereess of the device is random.or it mean that we can't sniffer the device.

    can you tell me the more information about this?

Reply Children
Related