Zephyr API Documentation
3.5.0
A Scalable Open Source RTOS
|
|
3.5.0 |
#include <stdbool.h>
Go to the source code of this file.
Functions | |
bool | log_backend_net_set_addr (const char *addr) |
Allows user to set a server IP address at runtime. | |
bool log_backend_net_set_addr | ( | const char * | addr | ) |
Allows user to set a server IP address at runtime.
This function allows the user to set an IPv4 or IPv6 address at runtime. It can be called either before or after the backend has been initialized. If it gets called when the net logger backend context is running, it'll release it and create another one with the new address next time process() gets called.
addr | String that contains the IP address. |