Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAC filtering is not working #146

Open
kamk123 opened this issue Feb 13, 2017 · 3 comments
Open

MAC filtering is not working #146

kamk123 opened this issue Feb 13, 2017 · 3 comments

Comments

@kamk123
Copy link

kamk123 commented Feb 13, 2017

Hi,

we are trying to locate moving vehicle in the indoor area using RPi. To achieve this we are using MAC filtering feature as stated on the FIND official website. when we provide the option of 'macs.json' to the server executable, server unable to locate the device & provide empty string instead of proper location.

could you please help us to achieve MAC filtering properly?

Thanks for your help!

@schollz
Copy link
Owner

schollz commented Feb 13, 2017

Can you send the content of your macs.json and the error message from the server?

@kamk123
Copy link
Author

kamk123 commented Feb 14, 2017

Hi,

Thank you for prompt response!

Contents of 'macs.json' are as follows:

{
"c4:6e:1f:50:f0:22":true,
"00:1e:a6:09:fa:21":true,
"c4:6e:1f:d4:db:e8":true,
"64:66:b3:53:cf:48":true,
"e8:94:f6:2a:62:6a":true,
"00:24:b2:94:ba:d6":true,
"00:1f:33:8c:5d:fa":true
}

we are using 'mqtt' client to get the locations published by FIND server. when we provide 'macs.json' to server we didn't get location.
we are using following command to run the FIND server with MAC filtering option:
./findserver -mqtt 127.0.0.1:1883 -mqttadmin ADMIN -mqttadminpass ADMIN_PASS -mosquitto pgrep mosquitto -filter macs.json

if we run the server without macs.json, 'mqtt' client can able to receive locations correctly.

Thanks.

@schollz
Copy link
Owner

schollz commented Feb 14, 2017

That looks correct. Would you be able to send me your database file as well? You can just email it to me at [email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants