This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can I create a master and slave in one device?

I would like to create a unit which is intermitting in the master and in the slave role.It should be most of the time "advertising" and waiting for some master to connect to it i.e. slave role.But every now and then it should leave this role and become a master and try to connect to another slave. Can this be done in a single device? wil it need to swap softdevice S110 / S120 every time?

Parents
  • Our customer wants us to make a heater-controller for a gas or wood stove ,to be controlled by BT. This controller will controll valves and ventilators ,and the control panel shall be on the user's iPhone or tablet.Now this is obviously a master device so my stove controller shall be slave. Now the best location in a home to place a temperature sensor is not always easy to reach by wires.So why not use a BT temperature sensor?->another slave. And I need a way to get data from the temperature sensor to the stove controller....

    So in order to get a system like this i have the following options:

    1. place 2 nrf51822 units in the stove controller (1 master and 1 slave) the BT temperature sensor can be an off the shelf unit powered by battery.

    2. the stove controller is a master and seeks connection wit a (custom made) temperature sensor which is slave and can also hold data. So this temperature sensor unit acts as a gateway between the various masters in the system.

    3. the temp sensor is wired,as it has been several decades.

Reply
  • Our customer wants us to make a heater-controller for a gas or wood stove ,to be controlled by BT. This controller will controll valves and ventilators ,and the control panel shall be on the user's iPhone or tablet.Now this is obviously a master device so my stove controller shall be slave. Now the best location in a home to place a temperature sensor is not always easy to reach by wires.So why not use a BT temperature sensor?->another slave. And I need a way to get data from the temperature sensor to the stove controller....

    So in order to get a system like this i have the following options:

    1. place 2 nrf51822 units in the stove controller (1 master and 1 slave) the BT temperature sensor can be an off the shelf unit powered by battery.

    2. the stove controller is a master and seeks connection wit a (custom made) temperature sensor which is slave and can also hold data. So this temperature sensor unit acts as a gateway between the various masters in the system.

    3. the temp sensor is wired,as it has been several decades.

Children
No Data
Related