projects
/
platform
/
upstream
/
iotivity.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge from master to connectivity-abstraction branch
[platform/upstream/iotivity.git]
/
service
/
soft-sensor-manager
/
SampleApp
/
arduino
/
Trackee_Thing
/
include
/
proximity.h
1
/*
2
* proximity.h
3
*
4
* Created on: 2014. 11. 13.
5
* Author: eunseok
6
*/
7
8
#ifndef PROXIMITY_H_
9
#define PROXIMITY_H_
10
11
12
#define arraysize 6
13
#define RSSI_EA 3
14
15
float CalculateExponentialAverage(int numberOfSamples, int* array, int startindex, int flag);
16
17
float calculateDistance(float avgRSSI, float txPower);
18
19
#endif /* PROXIMITY_H_ */