NetSim Source Code Help
Loading...
Searching...
No Matches
UWAN.h
Go to the documentation of this file.
1#pragma once
2/************************************************************************************
3* Copyright (C) 2020
4* TETCOS, Bangalore. India *
5
6* Tetcos owns the intellectual property rights in the Product and its content. *
7* The copying, redistribution, reselling or publication of any or all of the *
8* Product or its content without express prior written consent of Tetcos is *
9* prohibited. Ownership and / or any other right relating to the software and all *
10* intellectual property rights therein shall remain at all times with Tetcos. *
11* Author: Shashi Kant Suman *
12* ---------------------------------------------------------------------------------*/
13#ifndef _NETSIM_UWAN_H_
14#define _NETSIM_UWAN_H_
15
16//For MSVC compiler. For GCC link via Linker command
17#pragma comment(lib,"NetworkStack.lib")
18#pragma comment(lib,"PropagationModel.lib")
19#ifndef _NETSIM_UWAN_CODE_
20#pragma comment(lib,"libUWAN.lib")
21#endif
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
28 NETSIM_ID txi,
29 NETSIM_ID rx,
30 NETSIM_ID rxi,
32 _declspec(dllexport) double UWAN_Calculate_ber(NETSIM_ID tx,
33 NETSIM_ID rx,
35 double rxPower,
36 PHY_MODULATION modulation,
37 double dataRate /* In kbps */,
38 double bandwidth /* In kHz */);
39#ifdef __cplusplus
40}
41#endif
42#endif /* _NETSIM_UWAN_H_ */
unsigned int NETSIM_ID
Definition: Animation.h:45
#define _declspec(dllexport)
This function is used to trigger the update.
Definition: Linux.h:41
double UWAN_Calculate_ber(NETSIM_ID tx, NETSIM_ID rx, PPROPAGATION_INFO info, double rxPower, PHY_MODULATION modulation, double dataRate, double bandwidth)
Definition: UWAN.c:184
double UWAN_calculate_propagation_delay(NETSIM_ID tx, NETSIM_ID txi, NETSIM_ID rx, NETSIM_ID rxi, PPROPAGATION_INFO info)
Definition: UWAN.c:117
enum enum_Modulation PHY_MODULATION