API at a glance

The ppsService object supports the following methods:

Use this method: To:
ppsService.clearWatch() Remove all listeners associated with a file descriptor.
ppsService.close() Close the PPS object file associated with a file descriptor.
ppsService.open() Open a PPS object file for read, write, or both.
ppsService.read() Read PPS data from a PPS object file.
ppsService.removeWatch() Remove a data listener and error listener.
ppsService.watch() Monitor changes that publishers make to a PPS object file.
ppsService.write() Write data to a PPS object file.
ppsService.writeNativeData() Write PPS data in native data format.