← Back to team overview

mosquitto-users team mailing list archive

Re: broker detection

 

Generally I'd say hardcode a DNS name, as sensors are generally low
power / low memory. You could implement something like Bonjour
discovery but many of those types of "discovery" algorithms including
dhcp require either local subnet access (for broadcast access) or, in
the case of dhcp, special configurations on the network to redirect
the broadcast to a specific host.

Mosquitto doesn't support this type of discovery anyway to the best of
my knowledge.

Matt

Sent from my iPhone

On Dec 8, 2012, at 4:40 PM, Andre Tippel <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
> Post to     : mosquitto-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mosquitto-users
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References