freesmartphone.org Proximity Interface
This interface provides access to a proximity device.
GetProximity ( ) → ii
Description: Get the last percentage value of the proximity device (most probably 0 or 100), or -1 if unknown.
i: proximity The last proximity.
i: epoch Timestamp indicating when this value has been received.
Proximity ( i )
Description: Sent, when the proximity changes.
i: proximity The new proximity in percentage (most probably 0 or 100).