Aligned with rpi-node.js. Config optional for mock server.