Skip to content

Conversation

@huangyulong3
Copy link

bug: v/70712

Note: Please adhere to Contributing Guidelines.

Summary

Update this section with information on why change is necessary,
what it exactly does and how, if new feature shows up, provide
references (dependencies, similar problems and solutions), etc.

Impact

Update this section, where applicable, on how change affects users,
build process, hardware, documentation, security, compatibility, etc.

Testing

Update this section with details on how did you verify the change,
what Host was used for build (OS, CPU, compiler, ..), what Target was
used for verification (arch, board:config, ..), etc. Providing build
and runtime logs from before and after change is highly appreciated.

@huangyulong3 huangyulong3 force-pushed the feature/bt_cs_add_ras_and_cs_manager_supported branch from 66b14f7 to 765e42a Compare November 25, 2025 12:57
bug: v/70712

Signed-off-by: huangyulong3 <[email protected]>
@huangyulong3 huangyulong3 force-pushed the feature/bt_cs_add_ras_and_cs_manager_supported branch from 765e42a to 639e80c Compare November 25, 2025 13:00
return BT_STATUS_SUCCESS;
}

bt_status_t bt_sal_cs_procedure_enable(bt_address_t* addr,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add controller id

bt_addr_le_t le_addr = {0};
memcpy(le_addr.a.val, addr->addr, sizeof(addr->addr));
struct bt_le_cs_procedure_enable_param enable = {};
struct bt_conn* conn = bt_conn_lookup_addr_le(0, (const bt_addr_le_t *)&le_addr);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 -> id

#define NUM_MODE_0_STEPS 1
#define RAS_SEG_HEADER_SIZE 4

static const char sample_str[] = "CS Sample111";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sample_str not used, will exist warning

#define RAS_SEG_HEADER_SIZE 4

static const char sample_str[] = "CS Sample111";
static const struct bt_data ad[] = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dito

bt_le_srv_cs_create_config_params_t* params,
bt_le_srv_cs_create_config_context_t context);
bt_status_t bt_sal_cs_security_enable(bt_controller_id_t id, bt_address_t* addr);
bt_status_t bt_sal_cs_procedure_enable(bt_address_t* addr, const bt_le_srv_cs_procedure_enable_param_t* params);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add bt_controller_id_t id

@github-actions
Copy link

github-actions bot commented Jan 1, 2026

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Jan 1, 2026
@github-actions github-actions bot closed this Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants