-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
samples: bluetooth: Add Channel Sounding Reflector with Ranging Responder sample #18894
base: main
Are you sure you want to change the base?
samples: bluetooth: Add Channel Sounding Reflector with Ranging Responder sample #18894
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: d9e2653f1667afcdf1f80e30bcc133215d9fd9d0 more detailssdk-nrf:
Github labels
List of changed files detected by CI (6)
Outputs:ToolchainVersion: f51bdba1d9 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
CONFIG_BT_L2CAP_TX_MTU=498 | ||
CONFIG_BT_BUF_ACL_TX_SIZE=502 | ||
CONFIG_BT_BUF_ACL_RX_SIZE=502 | ||
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is DLE needed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's selected by defining a larger TX and RX size:
https://github.com/nrfconnect/sdk-zephyr/blob/e4c9dffbbd4e5c25504da8d76159c9b411982e96/subsys/bluetooth/Kconfig#L150
@@ -0,0 +1,79 @@ | |||
.. _channel_sounding_ras_reflector: | |||
|
|||
Bluetooth: Channel Sounding Reflector with Ranging Responder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this name from a BT spec or something? If not, no need to capitalize other than the first word.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Channel Sounding, Ranging Responder and Reflector are names from BT specs where they're capitalized as such, but I can change this if you think it's better.
|
||
.. table-from-sample-yaml:: | ||
|
||
The sample also requires a device running a Channel Sounding Initiator with Ranging Requestor to connect to. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question as above about the capitalization. In all places.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will take whatever decision is made in #18894 (comment) and update all instances accordingly
******** | ||
|
||
The sample demonstrates a basic Bluetooth® Low Energy Peripheral role functionality that exposes the GATT Ranging Responder Service and configures the Channel Sounding reflector role. | ||
When Channel Sounding Ranging Data is generated by the controller, it will be forwarded to the Ranging Requestor Central via the Ranging Service. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When Channel Sounding Ranging Data is generated by the controller, it will be forwarded to the Ranging Requestor Central via the Ranging Service. | |
When Channel Sounding Ranging Data is generated by the controller, it will be forwarded to the Ranging Requestor Central through the Ranging Service. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed this line in #18894 (comment)
|
||
1. |connect_terminal_specific| | ||
#. Reset the kit. | ||
#. Program the other kit with a Channel Sounding Initiator with Ranging Requestor sample. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#. Program the other kit with a Channel Sounding Initiator with Ranging Requestor sample. | |
#. Program the other kit with the Channel Sounding Initiator with Ranging Requestor sample. |
I guess we do not have such sample in NCS. I did not see one in Zephyr either. Link when there is such sample available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will update when we have merged the initiator sample
******** | ||
|
||
The sample demonstrates a basic Bluetooth® Low Energy Peripheral role functionality that exposes the GATT Ranging Responder Service and configures the Channel Sounding reflector role. | ||
When Channel Sounding Ranging Data is generated by the controller, it will be forwarded to the Ranging Requestor Central via the Ranging Service. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this accurate ? Or would it be better to write "When Channel Sounding Ranging Data is generated by the controller, it will be automatically stored by the Ranging Service, and can be queried at any time by the Ranging Requestor"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By 'forwarded' I was abstracting the process happening inside the ranging service, but I like your wording better so I'll update.
91f8afc
to
07bf10d
Compare
This sample can be used to set up a Channel Sounding Reflector with the GATT Ranging Responder service. A Channel Sounding Initiator with Ranging Requestor can connect to this sample to receive CS Ranging Data and perform distance estimation. Signed-off-by: Aleksandar Stanoev <[email protected]>
07bf10d
to
d9e2653
Compare
This sample can be used to set up a Channel Sounding Reflector with the GATT Ranging Responder service.
A Channel Sounding Initiator with Ranging Requestor can connect to this sample to receive CS Ranging Data and perform distance estimation.
The corresponding initiator sample will follow shortly and will update the docs with exact path references.