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

Sending and receiving beacons on demand.

Our device using nRF52840 is running an external (non-BT) radio most of the time. We need to send and receive data In between operations of this other radio.  At any given time, there will be one sender and multiple receivers.  Since there will be no BLE connection or interaction, this is essentially a beacon operation except for the scheduling.  We are trying to understand if it is possible to manually send and receive without running a BLE schedule and without any interaction between sender and receiver.  

We are assuming/hoping this will be possible using L2CAP functions instead of GAP/GATT functions and never starting any GATT scheduling.  However the L2CAP message sequence charts in SD140 v7.0.1 all show two-way communication.

Please clarify how the scheme described here can be accomplished.

The overall schedule will be something like

Receive-only devices:

  1. Receive other radio
  2. Receive BLE (20-40ms interval)
  3. (repeat steps 1 & 2 indefinitely)

Receive/Transmit devices:

  1. Receive other radio
  2. Receive BLE (20-40ms interval)
  3. (repeat steps 1 & 2 N times)
  4. Transmit other radio
  5. Transmit BLE
  6. (repeat steps 1 - 5 indefinitely)
  • Hello,

    ilnadi said:
    Please see attached wireshark log we took using a PCA10000 with nrf_sniffer_for_bluetooth_le_3.0.0_129d2b3.  If the timing is what you would expect from S140, then we wil evaluate the timeslot example further.

    I have taken a look at the provided sniffer trace, and I have some questions:
    I see 10+ devices - which one is the beacon in question? Please capture the traffic from the specific device, instead of capturing all devices(since there is a lot of BLE noise in development environments). We will only need to monitor and evaluate 1 of the beacons, to determine if their advertising timing is feasible for your application.

    I am also not sure what you mean when you say "if the timing is what you expect from S140", could you elaborate?
    If you would like me to check if the beacon is behaving as expected, you would need to provide your connection parameters and wanted behavior.
    Could you also tell me more about your issue with the capture? Are the advertising intervals not as expected, or are you seeing other unexpected behavior?

    As a side note, are you planning on using scan requests and responses in your application?
    That could be something to look into doing, if you are going to use beacons.

    Best regards,
    Karl

Related