Changes

Jump to: navigation, search

WiFi Indoor Location Device (WILD) software

819 bytes added, 17:40, 18 November 2019
/* FTMI Transmit FTMR list and ranging results */
* Internal eMMC (not covered by this man page)
CompuLab installation procedure must be invoked in order to deploy the image onto a removable media.
# Download the latest WILD image - see [[https://www.fit-iot.com/files/download/wild/4G-wild.img.xz CompuLab WILD Imagerevision notes].# Consult [https://www.fit-iot.com/files/download/wild/4G-wild.img.xz.] and consult associated readme WILD image readme].
# To deploy on a desktop PC:
{| border="2" cellpadding="0" width="100%" align="center"
|-
| align="" |
supportcompulab
| align="" |
supportcompulab
| align="" |
|}
* To acquire '''root''' credentials:
sudo -i
== ftm-services ==
* Intro
'''ftm-services''' is a set of the CompuLab scripts for managing FTM devices.
* History
{| border="2" cellpadding="0" width="100%" align="center"
|-
! style="font-size: 125%; background-color: #eeeeee;" align="left" width="20%" | WILD Version
! style="font-size: 125%; background-color: #eeeeee;" align="left" width="80%" | Description
|-
| align="" |
< 0.70
| align="" |
Delivered as a set of services installed onto the rootfs, but w/out being registered as a deb package in the Debian package manager.
| align="" |
|-
| align="" |
>= 0.70
| align="" |
Starting from the 0.70 version these services come as a deb package with the same name.
| align="" |
|}
* Install/Update procedure
cd /tmp
wget https://www.fit-iot.com/files/download/wild/0.7.2/ftm-services_0.7.2.deb
sudo dpkg -i /tmp/ftm-services_0.7.2.deb
= Commands =
The wired interfaces configured as '''auto & dhcp''' must be connected to the LAN at the boot time.<br>
Otherwise the device will experience a boot delay.
 
== FTMR Transmit Location Data ==
* Configuration file: '''/opt/compulab/service/ftm-common'''
Contains the SERVERS list to send the scan results file :'''/opt/compulab/www/results.al'''l
<pre>
SERVERS=(http://localhost/cpl/curl.php http://wild-server/hard/curl.php)
</pre>
* FTM ranged service: '''/opt/compulab/service/ftm-range.main'''
The service walks through the SERVERSs' list and send the scan results to each one:
<pre>
for SERVER in ${SERVERS[@]};do
curl -d @${iw_scan}/results.all ${SERVER} &>/dev/null
done
</pre>
== FTMR SoftAP ==
BW=40 does not work at all. The '''client''' receives empty replies from the '''responders''' if BW=40.
|}
 
== Transmit from FTMI list of scanned FTMRs and ranging results ==
* Configuration file: '''/opt/compulab/service/ftm-common'''
Contains the SERVERS list to send the scan results file :'''/opt/compulab/www/results.al'''l
<pre>
SERVERS=(http://localhost/cpl/curl.php http://wild-server/hard/curl.php)
</pre>
* FTM ranged service: '''/opt/compulab/service/ftm-range.main'''
The service walks through the SERVERSs' list and send the scan results to each one:
<pre>
for SERVER in ${SERVERS[@]};do
curl -d @${iw_scan}/results.all ${SERVER} &>/dev/null
done
</pre>
= See Also =
* [[WiFi Indoor Location Device (WILD) | WILD technical documentation root]]
* [[WILD revision notes]]
* [https://fit-iot.com/web/products/wild WILD homepage]
 
[[Category:WILD]]