Kick if rssi is not strong enough

This commit is contained in:
PolynomialDivision 2017-07-17 21:46:41 +02:00
parent 5110bcfab6
commit 7a1c7e29d4
6 changed files with 62 additions and 4 deletions

View file

@ -59,7 +59,7 @@ int main(int argc, char **argv) {
return 1;
}
init_socket_runopts(opt_broadcast_ip, opt_broadcast_port, 0);
init_socket_runopts(opt_broadcast_ip, opt_broadcast_port, 1);
pthread_t tid_probe;
pthread_create(&tid_probe, NULL, &remove_array_thread, NULL);