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

Can we configure a specific channel for continuous scanning?

Hi,

Would someone please help me to configure a specif channel for continuous scanning. I was browsing through the forums and understand that the SDK/SD not supports these kind feature, but the posts are little old.

In other words, I wish to dedicate one specific radio chip to perform only scanning continuously without any time gap.   

Earliest answer would  be a great help.

BR,

GGotta

Parents
  • Yes, from S132 v6.0 and S140 v6.0 we support selective channel when in observer role (scanning) 

    Please have a look at the migration document for S132 v6.0, you can find this line: 

    The Observer channel map for primary advertising channels can be set through a new parameter ble_gap_scan_params
    _t::channel_mask. The parameter type ble_gap_ch_mask_t is the same as is used for setting advertiser channel
    map.

     

  • Hello Aryan, Thanks for the quick reply.

    So, the migration you mean, migrating form nRF51822 to nRF52832? Is it?

    Can you help me to get the documentation which you are referring?  

    And please confirm,

    if we mask one/two channels of from the primary channel(s) are we NOT loosing the time window for that particular time ? Can we say this as CONTINUOUS scanning?

    Thank you!

  • the migration document helps you to migrate from earlier software version of the softdevice to the current software version (within the same hardware revision). The point is you can do this in the latest released softdevice

  • The migration part is fine.

    I still not get the answer for my question.

    "If we mask one/two channels of from the primary channel(s) are we NOT loosing the time window for that particular time ? Can we say this as CONTINUOUS scanning?"

    My requirement is not to mask any of the channels, instead make a specific channel for continuous scanning.

    As per my understanding the masking of channel creates a hole in the scan time. 

    Please correct me if I'm wrong!

    Thank you!

  • Sorry GovindaRao, 

    forgot to answer the second part of your question. Look at the documentation here, where now you find a member called channel_mask in the scan_params.

     

    Gotta said:
    "If we mask one/two channels of from the primary channel(s) are we NOT loosing the time window for that particular time ? Can we say this as CONTINUOUS scanning?"

    No, the scanner will NOT be loosing the time window for the masked channel. Instead this time will be utilized for other radio activity, if scanning is the only RADIO activity at that time, then it will be continuous scanning on the unmasked channel.

    The scanner anyways scans only on one channel in that particular scan event. If no channels are masked, then it scans in another channel for the whole scan event. The request for the radio time is done just before the scan event is started. So if one or two channels are masked (not utilized) then the scanner would request radio in the next scan event on the same channel. So you wont loose any timeslots for masking the scan channels.

Reply
  • Sorry GovindaRao, 

    forgot to answer the second part of your question. Look at the documentation here, where now you find a member called channel_mask in the scan_params.

     

    Gotta said:
    "If we mask one/two channels of from the primary channel(s) are we NOT loosing the time window for that particular time ? Can we say this as CONTINUOUS scanning?"

    No, the scanner will NOT be loosing the time window for the masked channel. Instead this time will be utilized for other radio activity, if scanning is the only RADIO activity at that time, then it will be continuous scanning on the unmasked channel.

    The scanner anyways scans only on one channel in that particular scan event. If no channels are masked, then it scans in another channel for the whole scan event. The request for the radio time is done just before the scan event is started. So if one or two channels are masked (not utilized) then the scanner would request radio in the next scan event on the same channel. So you wont loose any timeslots for masking the scan channels.

Children
Related