platisd / indoor-navigation-system

[WIP] An indoor navigation system to guide users towards their colleagues' desks
Apache License 2.0
15 stars 13 forks source link

Add helper functions to DataStore #63

Closed samup4web closed 6 years ago

samup4web commented 6 years ago

Description

Add new helper function to DataStore. As mentioned and requested by @lexious89 , I have added these changes and it provides the appropriate dataset needed for calculating device location.

The newly added function are best used alongside GetDistinctMacAddrs function. A typical use will be:

This pull request also include RSSI datatype change from double to int32_t

Solved issue(s)

61

62

codecov-io commented 6 years ago

Codecov Report

Merging #63 into dev will increase coverage by 1.27%. The diff coverage is 75%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev      #63      +/-   ##
==========================================
+ Coverage   68.39%   69.66%   +1.27%     
==========================================
  Files           9        9              
  Lines         367      389      +22     
==========================================
+ Hits          251      271      +20     
- Misses        116      118       +2
Impacted Files Coverage Δ
server/include/localization.hpp 100% <ø> (ø) :arrow_up:
server/src/localization.cpp 0% <ø> (ø) :arrow_up:
server/include/data_store.hpp 100% <ø> (ø) :arrow_up:
server/include/types.hpp 100% <ø> (ø) :arrow_up:
server/src/ins_service.cpp 32.5% <0%> (ø) :arrow_up:
server/src/data_store.cpp 86.18% <91.3%> (+0.79%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cbe7709...f5ec056. Read the comment docs.

samup4web commented 6 years ago

Closing the pull request since I need to update this with more commits.