This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MQTT Client - Problem with CLIENTID

Other Parts Discussed in Thread: CC3200SDK, CC3200

Hello,

In MQTT Application when i am going to change CLIENTID as NULL the all my code is freeze in CC3200SDK_1.3.0 but same works in older version of SDK i.e CC3200SDK_1.2.0

Why I'm going to make as NULL reason is - I've 2 CC3200 LP and both are running on the same server.If I allocate same CLIENTID i.e. "user1" to both then one will work and 2 one gets disconnected and vice versa because both client is having same ID. I want to make it dynamic or make it as null so both can work at same time on same server.

As above I mentioned as NULL  ClientID is working well in old sdk but not working in new sdk .I don't want to change every time the CLIENTID in the code. 

connect_config usr_connect_config[] =
{
    {
        {
            {
                SL_MQTT_NETCONN_URL,
                SERVER_ADDRESS,
                PORT_NUMBER,
                0,
                0,
                0,
                NULL
            },
            SERVER_MODE,
            true,
        },
        NULL,
        "user1",         
        NULL,
        NULL,
        true,
        KEEP_ALIVE_TIMER,
        {Mqtt_Recv, sl_MqttEvt, sl_MqttDisconnect},
        TOPIC_COUNT,
        {TOPIC1, TOPIC2, TOPIC3},
        {QOS2, QOS2, QOS2},
        {WILL_TOPIC,WILL_MSG,WILL_QOS,WILL_RETAIN},
        false
    }
};

Best Regards,

Shashank