master connection

example is for master connection to slave device