Added Mac code for device discovery via @jhorology for Issue#106