Custom object number allocation#
By default both dynamic and static devices allocate object numbers automatically. This is a good idea for most situations. In some situations it may be required to allocate object numbers manually, e.g. to match a certain legacy device structure. For examples for how to allocate object numbers explicitly look at these two examples which are part of the test suite:
test/integration_tests/tests/dynamic_device_custom_object_numbers.cpp
test/integration_tests/tests/static_device_custom_object_numbers.cpp