-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Bluetooth: Mesh: Split Proxy services #36871
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
Bluetooth: Mesh: Split Proxy services #36871
Conversation
@LingaoM this this end up changing, or is this still a work in progress? Is it ready for review? |
|
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. |
d43147c to
eb3c4ea
Compare
|
|
40bd976 to
7cd35a0
Compare
fef4418 to
fa9b5d4
Compare
b3f978f to
5f25822
Compare
ba86f69 to
9bb3e97
Compare
9bb3e97 to
d5f4fab
Compare
f399f96 to
7d202dc
Compare
2ffd6c2 to
dba8fef
Compare
dba8fef to
411434d
Compare
2777e32 to
d0c8cdc
Compare
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]>
d0c8cdc to
1999946
Compare
|
@jhedberg - can you also ack? |
| continue; | ||
| } | ||
|
|
||
| if (!client_filter_match(client, dst)) { | ||
| continue; | ||
| } | ||
|
|
||
| if (client->filter_type == PROV) { |
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.
we will no longer need the additional
disconnectparameter,such as we only process gatt database from disconnect handler.
Signed-off-by: Lingao Meng [email protected]