Skip to content

Add local interfaces in SBI print

Stefan Spettel requested to merge fix_sbi_print into develop

Changes

Add HTTP Version validator

Fix compiler warnings (unnecessary const and order of initialization)

Fix SBI print

Example output now:

[2023-06-12 13:22:46.625] [config ] [info]   nrf:
[2023-06-12 13:22:46.625] [config ] [info]     - Host.....................................: oai-nrf
[2023-06-12 13:22:46.625] [config ] [info]     - SBI
[2023-06-12 13:22:46.625] [config ] [info]       + Port...................................: 80
[2023-06-12 13:22:46.625] [config ] [info]       + IPv4 Address ..........................: 192.168.70.191
[2023-06-12 13:22:46.625] [config ] [info]       + MTU....................................: 1500
[2023-06-12 13:22:46.625] [config ] [info]       + Interface name: .......................: eth0
[2023-06-12 13:22:46.625] [config ] [info]       + URL....................................: http://oai-nrf:80
[2023-06-12 13:22:46.625] [config ] [info]       + API Version............................: v1
``
Edited by Stefan Spettel

Merge request reports