wut/include/nn_ac/nn_ac.h

41 lines
447 B
C
Raw Normal View History

2017-04-07 02:23:46 +02:00
#pragma once
#include <wut.h>
/**
* \defgroup nn_ac Auto Connect
* \ingroup nn_ac
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
typedef enum ACResult
{
OK = 0,
} ACResult;
typedef uint32_t ACConfigId;
ACResult
ACInitialize();
void
ACFinalize();
ACResult
ACGetStartupId(ACConfigId *configId);
ACResult
ACConnectWithConfigId(ACConfigId configId);
ACResult
ACGetAssignedAddress(uint32_t *ip);
#ifdef __cplusplus
}
#endif
/** @} */