Ex-cop testifies on ‘pinging’ system