/*******************************************************************************
################################################################################
-# Copyright (c) [2020] [HCL Technologies Ltd.] #
+# Copyright (c) [2020-2021] [HCL Technologies Ltd.] #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License. #
################################################################################
*******************************************************************************/
-/* This file contains functions to connect to a TCP server and send massages */
+/* This file contains the C interface for ODU to start the O1 module */
-#ifndef __TCP_CLIENT_H__
-#define __TCP_CLIENT_H__
-#include <stdint.h>
-#include "ssi.h"
+#ifndef __O1_INTERFACE_H__
+#define __O1_INTERFACE_H__
-uint8_t openSocket(const char*, const uint16_t);
-int sendData(void*, const int);
-int receiveData(void* data, const int size);
-uint8_t closeSocket();
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+int start_O1_module(void);
+#ifdef __cplusplus
+}
#endif
-/**********************************************************************
- End of file
-**********************************************************************/
+
+#endif