Utilities#
Macros#
#define
exit (exitcode)
Exit from thread wrapper.
#define
msleep (milis)
Milisec sleep wrapper.
#define
assert_res (val, message)
Assert POSIX API result with thread exit.
Function Documentation#
app_wisun_wait_for_connection#
void app_wisun_wait_for_connection (void )
Waiting for the connection.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
This function doesn't call the app core connect function.
app_wisun_connect_and_wait#
void app_wisun_connect_and_wait (void )
Connect and wait for connection.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
The function calls app core connect function and waiting loop function.