altos: Require callsign match in packet code
authorKeith Packard <keithp@keithp.com>
Wed, 28 Sep 2011 06:50:43 +0000 (23:50 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 27 Mar 2012 02:20:14 +0000 (19:20 -0700)
commit77639dae0fb9975219c2e211ea6dd6c7965eeea2
tree892975e909777fba4223b8b13e40fdda6f039566
parent1b4a4c7b6a0c3f93267f33482f490e7aa25c2158
altos: Require callsign match in packet code

Ignore packets with mismatching callsigns to avoid accidental
connections between devices controlled by different stations.

As a special case, if the device is configured with the default
callsign (N0CALL), then let anyone connect. This allows configuration
of new devices without needing to change the ground station callsign.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/cc1111/ao_packet.c