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