Skip to content

bluetooth: services: reduce size of cs_de_iq_tones_t and add more docs #22889

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions include/bluetooth/cs_de.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,19 @@

/**
* @brief Container of IQ values for local and remote measured tones
*
* The values are indexed by channel from 2 (2404 MHz) to 76 (2479 Mhz).
* Channels 23 to 25 are reserved for advertising and do not have IQ values.
*/
typedef struct {
/** In-phase measurements of tones on this device */
float i_local[80];
float i_local[75];
/** Quadrature-phase measurement of tones on this device */
float q_local[80];
float q_local[75];
/** In-phase measurements of tones from remote device */
float i_remote[80];
float i_remote[75];
/** Quadrature-phase measurements of tones from remote device */
float q_remote[80];
float q_remote[75];
} cs_de_iq_tones_t;

typedef enum {
Expand Down