eclipse / paho.mqtt-sn.embedded-c

Paho C MQTT-SN gateway and libraries for embedded systems. Paho is an Eclipse IoT project.
https://eclipse.org/paho
Other
315 stars 178 forks source link

Gateway client limit. #167

Closed mohammedalani-1 closed 4 years ago

mohammedalani-1 commented 4 years ago

I have been doing some testing with the mqttsn gateway and I was wondering if I can increase the maximum number of clients (in the MQTTSNGWDefines.h file) without repercussions. Let's say I want to increase the limit of the gateway to 500or 1000 clients, would changing the MAX_CLIENTS definition be enough to achieve that?

ty4tw commented 4 years ago

Hi, Just increase the MAX_CLIENTS is enough.

karrthikmohank commented 4 years ago

Hi all, I have been using the MQTT-SN to MQTT transparent gateway. Like suggested in this post, I have modified the MAX_CLIENTS to 200 and built the project. I have tried to test the gateway by connecting 130 MQTT-SN clients to it. Still I am unable to connect more than 100 MQTT-SN clients to the gateway. Can you please help me in solving this issue?

Thanks and Regards, Karthik