This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to enable LE_CODED in NCS1.8.0 periodic_adv ?

Hello,

NCS1.8.0 Windows10 X64,

periodic_adv had set BT_LE_ADV_OPT_CODED   and   BT_GAP_ADV_FAST_INT_MIN_2 /* 100 ms   */

periodic_sync scan info "Prim: LE 1M, Secn: LE Coded, Interval: 0x03c0 (1200 ms)"

question:

1. why it still  Prim: LE 1M?

2. why the Interval is 1200ms?

thanks 

Best regards,

yuyou

Parents
  • Hi

    Can you upload the serial log in its entirety so we can see where this information comes from. If it's from a connection parameter update, it might be that one of the devices in the connection does not support Coded PHY for example. Just to make sure, what device are you testing this project on, and what device are you using to scan (and possibly connect to)? 

    To see how the application should be configured to use the Coded PHY, you can check out the Bluetooth: Peripheral Heart Rate Monitor with Coded PHY sample in the nRFConnect SDK. I was not able to spot anything obvious missing, but you might have missed some configuration so it's worth taking a look at our sample I think.

    Best regards,

    Simon

Reply
  • Hi

    Can you upload the serial log in its entirety so we can see where this information comes from. If it's from a connection parameter update, it might be that one of the devices in the connection does not support Coded PHY for example. Just to make sure, what device are you testing this project on, and what device are you using to scan (and possibly connect to)? 

    To see how the application should be configured to use the Coded PHY, you can check out the Bluetooth: Peripheral Heart Rate Monitor with Coded PHY sample in the nRFConnect SDK. I was not able to spot anything obvious missing, but you might have missed some configuration so it's worth taking a look at our sample I think.

    Best regards,

    Simon

Children
  • Hello,Simonr

    thanks for your reply,

    i using two 52840DK, serial  log as follow:

    [DEVICE]: 2D:F2:98:1B:DB:1E (random), AD evt type 5, Tx Pwr: 0, RSSI -20 PerAdv C:0 S:0 D:0 SR:0 E:1 Prim: LE 1M, Secn: LE Coded, Interval: 0x03c0 (1200 ms), SID: 0
    Found periodic advertising.
    Creating Periodic Advertising Sync...success.
    Waiting for periodic sync...
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random) synced, Interval 0x03c0 (1200 ms), PHY LE Coded
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random), tx_power 127, RSSI -127, CTE 0, data length 11, data: 0aff000001000000000000
    Periodic sync established.
    Stop blinking LED.
    Waiting for periodic sync lost...
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random), tx_power 127, RSSI -127, CTE 0, data length 11, data: 0aff000002000000000000
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random), tx_power 127, RSSI -127, CTE 0, data length 11, data: 0aff000003000000000000
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random), tx_power 127, RSSI -127, CTE 0, data length 11, data: 0aff000004000000000000
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random), tx_power 127, RSSI -127, CTE 0, data length 11, data: 0aff000005000000000000
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random), tx_power 127, RSSI -127, CTE 0, data length 11, data: 0aff000007000000000000
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random), tx_power 127, RSSI -127, CTE 0, data length 11, data: 0aff000008000000000000
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random), tx_power 127, RSSI -127, CTE 0, data length 11, data: 0aff000009000000000000
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random), tx_power 127, RSSI -127, CTE 0, data length 11, data: 0aff00000a000000000000
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random), tx_power 127, RSSI -127, CTE 0, data length 11, data: 0aff00000b000000000000
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random), tx_power 127, RSSI -127, CTE 0, data length 11, data: 0aff00000d000000000000
    PER_ADV_SYNC[0]: [DEVICE]: 2D:F2:98:1B:DB:1E (random), tx_power 127, RSSI -127, CTE 0, data length 11, data: 0aff00000e000000000000
    

    Best regards,

    yuyou

Related