Added result type enum.
Preliminary ping sensor functionality.