Skip to content
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

Add unicast interest feature #349

Merged
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
ccf2a25
refactor: rename make final interest function
jean-roland Jan 31, 2024
d15bc99
feat: add Interest config token
jean-roland Jan 31, 2024
461a8c1
fix: PA copy paste error
jean-roland Feb 2, 2024
33a8e3f
feat: add session interest type
jean-roland Feb 6, 2024
80707df
feat: add intrest type
jean-roland Feb 6, 2024
7e95df8
feat: add session interest module
jean-roland Feb 6, 2024
b29af1e
feat: add interest primitives
jean-roland Feb 6, 2024
bf7bdfc
feat: add session mutex function
jean-roland Feb 8, 2024
9682d98
feat: add interest message processing
jean-roland Feb 8, 2024
bf99b97
fix: modularize process declare interest function
jean-roland Feb 8, 2024
432a341
feat: implement trigger_interest function
jean-roland Feb 9, 2024
99fafd8
fix: clone entitiy lists before sending declarations
jean-roland Feb 9, 2024
979d486
fix: remove unused function
jean-roland Feb 13, 2024
0cd5ec4
fix: rename file
jean-roland Feb 13, 2024
d40a4be
fix: set interest_msg fields as public
jean-roland Feb 14, 2024
c056220
feat: process undeclares as well
jean-roland Feb 14, 2024
864a979
fix: remove unecessary enum value
jean-roland Feb 14, 2024
ab18413
fix: remove dropper function
jean-roland Feb 14, 2024
51dee17
feat: add write side filtering entity
jean-roland Feb 14, 2024
60b4fcb
feat: implement filtering
jean-roland Feb 14, 2024
3b73e07
fix: remove interest by default (for now)
jean-roland Feb 15, 2024
9c0be52
fix: rework publisher put actions order
jean-roland Feb 15, 2024
6f66d03
fix: add missing const
jean-roland Feb 15, 2024
46528e9
fix: add missing dummy functions
jean-roland Feb 15, 2024
6c6abf9
fix: exclude dummy functions from config token
jean-roland Feb 15, 2024
2add7ed
fix: remove unused defines
jean-roland Feb 15, 2024
e4385dc
fix: give keyexpr ownership to declare
jean-roland Feb 16, 2024
14d6310
feat: add refcount copy function
jean-roland Feb 16, 2024
4d04ac5
fix: duplicate key for declare
jean-roland Feb 16, 2024
0e3ea7c
feat: add resource copy function
jean-roland Feb 19, 2024
02bb3a7
fix: use keyexpr alias instead of duplicate
jean-roland Feb 19, 2024
dc64050
fix: flip early return condition
jean-roland Feb 19, 2024
ecdd57b
feat: send final interest
jean-roland Feb 19, 2024
18649c3
refactor: rename ambiguous functions
jean-roland Feb 19, 2024
68eca1f
fix: fuse identical functions
jean-roland Feb 20, 2024
ba254d5
fix: trigger local subs after push message
jean-roland Feb 27, 2024
de5c901
fix: add missing switch default label
jean-roland Feb 27, 2024
a6a9c14
build: add Z_FEATURE_INTEREST to build system
jean-roland Feb 27, 2024
679d1ac
fix: remove unused function
jean-roland Feb 27, 2024
0415cbf
refactor: regroup static functions
jean-roland Feb 27, 2024
2dd09f0
fix: add flag filtering on interest look-up
jean-roland Feb 27, 2024
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
Next Next commit
refactor: rename make final interest function
jean-roland committed Feb 16, 2024
commit ccf2a250a8888a863538702d0603b2c3f6b00b2b
2 changes: 1 addition & 1 deletion include/zenoh-pico/protocol/definitions/declarations.h
Original file line number Diff line number Diff line change
@@ -139,6 +139,6 @@ _z_declaration_t _z_make_undecl_token(uint32_t id, _Z_OPTIONAL const _z_keyexpr_

_z_declaration_t _z_make_decl_interest(_Z_MOVE(_z_keyexpr_t) key, uint32_t id);
_z_declaration_t _z_make_undecl_interest(uint32_t id, _Z_OPTIONAL const _z_keyexpr_t* key);
_z_declaration_t _z_make_final_decl(uint32_t id);
_z_declaration_t _z_make_final_interest(uint32_t id);

#endif /* INCLUDE_ZENOH_PICO_PROTOCOL_DEFINITIONS_DECLARATIONS_H */
2 changes: 1 addition & 1 deletion src/protocol/definitions/declarations.c
Original file line number Diff line number Diff line change
@@ -113,7 +113,7 @@ _z_declaration_t _z_make_decl_interest(_Z_MOVE(_z_keyexpr_t) key, uint32_t id) {
._keyexpr = _z_keyexpr_steal(key),
}}};
}
_z_declaration_t _z_make_final_decl(uint32_t id) {
_z_declaration_t _z_make_final_interest(uint32_t id) {
return (_z_declaration_t){._tag = _Z_FINAL_INTEREST, ._body = {._final_interest = {._id = id}}};
}
_z_decl_kexpr_t _z_decl_kexpr_null(void) { return (_z_decl_kexpr_t){0}; }