Skip to content

Conversation

@LingaoM
Copy link
Contributor

@LingaoM LingaoM commented Jul 12, 2021

we will no longer need the additional disconnect parameter,
such as we only process gatt database from disconnect handler.

Signed-off-by: Lingao Meng [email protected]

@trond-snekvik
Copy link
Contributor

This PR contains multiple commits, which will be used to split the proxy services

@LingaoM this this end up changing, or is this still a work in progress? Is it ready for review?

@LingaoM
Copy link
Contributor Author

LingaoM commented Jul 15, 2021

I'm not ready. I'll deal with #36721 (comment) first, and then split the proxy. Maybe the following can be put in this pr.

@LingaoM LingaoM force-pushed the split_gatt_services branch from d43147c to eb3c4ea Compare August 3, 2021 11:49
@LingaoM LingaoM added the RFC Request For Comments: want input from the community label Aug 3, 2021
@LingaoM
Copy link
Contributor Author

LingaoM commented Aug 3, 2021

gatt_svc and filter_type will be processed in subsequent commits. The final is a complete split.

@LingaoM LingaoM force-pushed the split_gatt_services branch 3 times, most recently from 40bd976 to 7cd35a0 Compare August 3, 2021 12:58
@LingaoM LingaoM force-pushed the split_gatt_services branch 3 times, most recently from fef4418 to fa9b5d4 Compare August 18, 2021 09:12
@LingaoM LingaoM removed the DNM This PR should not be merged (Do Not Merge) label Aug 18, 2021
@LingaoM LingaoM requested a review from trond-snekvik August 18, 2021 09:30
@LingaoM LingaoM force-pushed the split_gatt_services branch 3 times, most recently from b3f978f to 5f25822 Compare August 18, 2021 10:04
@LingaoM LingaoM removed the RFC Request For Comments: want input from the community label Aug 18, 2021
@LingaoM LingaoM force-pushed the split_gatt_services branch 2 times, most recently from ba86f69 to 9bb3e97 Compare August 18, 2021 10:23
@LingaoM LingaoM force-pushed the split_gatt_services branch from 9bb3e97 to d5f4fab Compare August 19, 2021 01:11
@LingaoM LingaoM force-pushed the split_gatt_services branch from f399f96 to 7d202dc Compare September 6, 2021 07:19
@LingaoM LingaoM force-pushed the split_gatt_services branch from 2ffd6c2 to dba8fef Compare September 9, 2021 09:05
@LingaoM LingaoM requested a review from PavelVPV September 9, 2021 09:06
@LingaoM LingaoM force-pushed the split_gatt_services branch from dba8fef to 411434d Compare September 9, 2021 09:15
@LingaoM LingaoM force-pushed the split_gatt_services branch 2 times, most recently from 2777e32 to d0c8cdc Compare September 15, 2021 01:18
we will no longer need the additional `disconnect` parameter,
such as we only process gatt database from disconnect handler.

Signed-off-by: Lingao Meng <[email protected]>
Split gatt services to pb-gatt-srv and proxy-srv.

Signed-off-by: Lingao Meng <[email protected]>
Rename bt_mesh_pb_gatt_<*> function, and split from proxy.h

Signed-off-by: Lingao Meng <[email protected]>
Remove `bt_mesh_pb_gatt_get_buf`.

Signed-off-by: Lingao Meng <[email protected]>
Move command buffer alloc to proxy_msg.c.

Signed-off-by: Lingao Meng <[email protected]>
Move proxy complete message to seperate role.

Signed-off-by: Lingao Meng <[email protected]>
Mesh bt_mesh_proxy_role structure to proxy_msg.c

Signed-off-by: Lingao Meng <[email protected]>
remove section ordering to use code more readable.

Signed-off-by: Lingao Meng <[email protected]>
Add seperate config to control whether device name include in
pb-gatt advertising scan response data.

Signed-off-by: Lingao Meng <[email protected]>
Use common buffer size for all bluetooth mesh connection.

Signed-off-by: Lingao Meng <[email protected]>
Add `BT_MESH_PROXY_MSG_LEN` to config proxy message length

Signed-off-by: Lingao Meng <[email protected]>
@cfriedt
Copy link
Member

cfriedt commented Sep 28, 2021

@jhedberg - can you also ack?

@cfriedt cfriedt merged commit 5ddbdce into zephyrproject-rtos:main Sep 28, 2021
continue;
}

if (!client_filter_match(client, dst)) {
continue;
}

if (client->filter_type == PROV) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants