Utilities#

Functions#

void

Waiting for the connection.

void

Connect and wait for connection.

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
TypeDirectionArgument NameDescription
voidN/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
TypeDirectionArgument NameDescription
voidN/A

The function calls app core connect function and waiting loop function.