This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

advertising phy coded s8 long range stops at nearly 20m built

Hi there,
I have been testing my ble long range app with coded phy (s8), with extended advertising etc. for a few weeks now. Only adv and scan are used. Works well, only the range is almost the same as it is in the 1M phy.

I don't understand that, so I read about it at SIG.

Now I understand that on channels 37, 38, 39 (data rate is 1M phy, not 1M / 8) a pointer points to the data channel that transmits with s8 (125k)? And channels 37, 38, 39 continue to work with 1M?

Is that correct? Because if channel 37, 38, 39 still works with 1M, where is the benefit? Or did I get it wrong.
On scan_report the ch_index has values ​​between 0 and 35 and an rssi between -40db (very close) and -95db (approx. 20m built).
best regards
Bjoern

Parents
  • Hi there,
    I have been testing my ble long range app with coded phy (s8), with extended advertising etc. for a few weeks now. Only adv and scan are used. Works well, only the range is almost the same as it is in the 1M phy.

    I don't understand that, so I read about it at SIG.

    Now I understand that on channels 37, 38, 39 (data rate is 1M phy, not 1M / 8) a pointer points to the data channel that transmits with s8 (125k)? And channels 37, 38, 39 continue to work with 1M?

    On scan_report the ch_index has values ​​between 0 and 35 and an rssi between -40db (very close) and -95db (approx. 20m built).

    best regards

  • Hi 

    The way it works with long range advertising is that you send a small coded phy packet on one of the standard channels (37, 38 or 39) that points to a larger packet sent on one of the data channels. The scanner will have to receive both packets in order to receive the advertising payload. 

    The reason it is done this way is to avoid having to send long coded phy packets on the standard advertising channels, which would cause excessive noise on these channels and create issues for other 1M advertisers in the area (a coded phy packet can take several milliseconds to send, compared to a 1M packet which usually only takes a couple of hundred microseconds). 

    Can you show me the code you use to configure the advertising payload?

    Best regards
    Torbjørn

  • Hi Bjoern

    Thanks for attaching your code. Based on what I can see it looks like you are setting it up correctly. 

    I think I will need to do some testing on my own to see if I can replicate your findings. 

    Unfortunately I am leaving for a short business trip and will have to to start work on this when I'm back. I will do my best to get started on this early next week and get back to you. 

    Best regards
    Torbjørn

  • Hi Bjoern

    I did some testing indoor, and the long range kit does seem more reliable than the 1M kit when the link gets poor. The test I did was hardly scientific, but when I went to a different floor in the office and the link got poorer the long range kit would receive more packets than the 1M one. 

    What is the setup like in your test?

    How far away are you from the TX, and do you have any blockers in between?

    Would you expect there to be a lot of WiFi interference in the area?

    Best regards
    Torbjørn

  • Hi Torbjorn,

    yes there are 2-3 thin walls between the advertiser and the scanner. More walls (or on flat angle a thin wall becomes thick) reduce the range. But I expected that there is a real big difference between 1M and phy coded. So, that there is a difference with coded phy and 1M in built, like there is range one or two rooms more and not only one or two meters.

    But your note with wifi is perhaps the solution. Our wifi leaves out the advertiser channels 37,38,39. But we have much traffic and rf-signals in the other channels and the extended advertisements are in the channels between 0 and 36. I will test it in the evening and shut down our wifi.

    One additional question: is it possible to place the extended advertisments with channel maks in the channels next to 37, 38, 39 (like 0, 10, 11 and 36).

    best regards

    Bjoern

  • Hi Bjoern

    Doing a test without WiFi could be interesting. Long range packets are inherently more sensitive to interference, as they take a longer time to transmit over the air, increasing the chance of packet collision with other RF sources in the area.  

    Bjoern Gutgesell said:
    One additional question: is it possible to place the extended advertisments with channel maks in the channels next to 37, 38, 39 (like 0, 10, 11 and 36).

    There is a channel_mask field in the ble_gap_adv_params_t struct, but unfortunately it only allows you to define which primary channels to map out. We don't support mapping out secondary advertising channels. 

    Best regards
    Torbjørn

  • Hi Torbjørn

    Can the sd_ble_opt_set be use to set channel map for secondary advertising channels during extended advertising? Or it only works when in connections?

    Best regards

    Gary

Reply Children
No Data
Related