← Back to team overview

mosquitto-users team mailing list archive

Re: broker detection

 

Ok, thanks, too Bad....

If i develop a little temperature-sensor on an embedded device i have to preconfigure a broker address. But if i sell such devices how can the user configure them? Such devices have no keyboard, no display, ... it's challenging in view of the fact that the user acceptance factor is low because there's no comfortable way to set the address of users preferred broker.


On 08.12.2012 23:15, Pawan wrote:
Hi Andre,

Your client should know the address (IP+port) of the broker.

Your client program makes MQTT connection with broker using IP/hostname and port number of the broker. There are APIs which allows you to do so when you instantiate MQTT client object.



On Sun, Dec 9, 2012 at 3:10 AM, Andre Tippel <andre.tippel@xxxxxxxxxxxxxx <mailto:andre.tippel@xxxxxxxxxxxxxx>> wrote:

    Hi,
    i am new at mqtt topic.

    My question is how can clients (like a sensor) detect brokers? Is
    it needed to preconfigure a brokers network address or hostname in
    the client? Or are there any other (dynamic) technologies that act
    like dhcp or so.

    Thanks for your help.

    Andre

-- Mailing list: https://launchpad.net/~mosquitto-users
    <https://launchpad.net/%7Emosquitto-users>
    Post to     : mosquitto-users@xxxxxxxxxxxxxxxxxxx
    <mailto:mosquitto-users@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~mosquitto-users
    <https://launchpad.net/%7Emosquitto-users>
    More help   : https://help.launchpad.net/ListHelp




--
Thanks and best regards,

From
Pawan D. Dalal


References