Changed deviceMacAddress() to write its string into a user-supplied buffer, which is also returned.