Add rudimentary implementation of dynamic endpoints with example bridge code (#7136)

* Add rudimentary implementation of dynamic endpoints with example bridge code

* Fix build warnings

* Fix compiler and restyle warnings

* Zap check errors

* More compiler warnings

* Restyled by clang-format

* Restyled by prettier-markdown

* 2nd attempt to fix zap templates generation CI complaint

* Fix typos in readme

Co-authored-by: Markus Becker <Markus.Becker@tridonic.com>

* Add rudimentary implementation of dynamic endpoints with example bridge code

* Fix build warnings

* Fix compiler and restyle warnings

* Zap check errors

* More compiler warnings

* Restyled by clang-format

* Restyled by prettier-markdown

* 2nd attempt to fix zap templates generation CI complaint

* Fix typos in readme

Co-authored-by: Markus Becker <Markus.Becker@tridonic.com>

* Remove old commented code

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Markus Becker <Markus.Becker@tridonic.com>
diff --git a/examples/bridge-app/bridge-common/BUILD.gn b/examples/bridge-app/bridge-common/BUILD.gn
index 38c003a..c993517 100644
--- a/examples/bridge-app/bridge-common/BUILD.gn
+++ b/examples/bridge-app/bridge-common/BUILD.gn
@@ -21,4 +21,7 @@
 
   zap_pregenerated_dir = "gen"
   is_server = true
+
+  # TODO: the definition of DYNAMIC_ENDPOINT_COUNT needs find a common home!
+  cflags = [ "-DDYNAMIC_ENDPOINT_COUNT=16" ]
 }