Supporting Bonjour

Power Manager supports Bonjour, aka ZeroConf. This section documents the Bonjour service types published by Power Manager instances.

Power Manager’s Service Types

Power Manager uses a single Bonjour/mDNS/ZeroConf service type, _pm._tcp.. This service type can be used to browse and resolve addresses to Power Manager instances on the network.

Power Manager’s protocol allows multiple APIs to be provided over a single listening socket. All traffic is encrypted using Transport Layer Security (TLS).

pm – DssW Power Manager protocol

The Power Manager (pm) protocol is a proprietary protocol developed for Power Manager 4. The service is published as _pm._tcp.. Power Manager’s protocol scheme is pm.

Defined TXT Keys

pm publishes the following TXT key/value pairs.

Power Manager's TXT Keys
KeyValue (Regular Expression)Description
txtversTXT version: \d+

A single digit TXT version number. This version number represents the version of the TXT format only. Do not infer the protocol version from this value.

i.e. 1

apiApplication Programmer Interfaces: (\w|,{1})+

Optional, list of APIs provided by the service. Use this list to filter services by purpose. May contain one or more APIs.

i.e. pmdctl,pmsctl

pfProtocol Family: (4|6)

Optional, protocol family the service is available on.

If pf is 4, the service is listening on IPv4 (PF_INET). If pf is 6, the service is listening on IPv6 (PF_INET6).

i.e. 6

mmMachine Model: \s+

Optional, machine model name.

i.e. MacPro4,1

versVersion: \d+\.\d+\.\d+

Optional, three digit product version number.

i.e. 4.0.0