This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

Advertising and Oberving on specific channels

Hello,

I need to send packets on a specified advertising channel and receive them at the same advertising channel. Unfortunately, the SoftDevice API does not seem to support specific advertising channels. Could you please point me in the right direction on how to start? Will I need to implement this as a custom protocol? I think I need to use the 130 Soft Device because my devices must switch between advertising and scanning. I read that there are some restrictions when broadcasting a non-connectable advertisement packet, which ones do apply in this case? I already found this example: nordicsemiconductor.github.io/.../ I think it emulates advertising and observing without using the SoftDevice (seems a bit hackish to me, why not allow that functionality in the softDevice in the first place?). Can you give me a timeframe on when there will be more documentation to the observer role?

Thanks, Marius

  • The S110 SoftDevice does not support specific advertising channels, but we want to include this in the next release, if you send me a PM with your location, the Sales Manager for your area may be able give you more info.

    For the central side, SoftDevice S120, I don't know when or if we will support it, again, our Sales Manager may know more. The same applies to SoftDevice S130.

    If your device is switching between advertising and scanning, the SoftDevice S120 version 2 may be sufficient, but it is currently in a alpha release.

    If you need concurrent advertising and scanning, you need to use SoftDevice S130, but this is currently an alpha release.

    As Star Destroyer mentions in this question can use the example you found to advertise on one channel, but you can't go into a connection with the timeslot API.

  • It is possible to advertise on a given channel by using the radio timeslot API in S110, but this does not yet exist in softdevices with central roles. This could be a temporary solution until the real deal comes with the newest versions. I think there might be a code snippet for this in the SDK.

Related