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.

CC3220SF-LAUNCHXL: MQTT Client crash

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: CC3220SF

Hi all,

I'm using the MQTT client example to do some test. I developed a small C# application to send packets to the broker which the CC3220SF is subscribed, the problems are these:

1) If I send more than 1010 bytes on a single packetto the device , the latter brokes the connection with the following error:

C: Net 0, Raw Error -6, Time Out: N [1931]
C: RX closing Net 0 [-6]
C: Cleaning session for net 0
C: Net 0 now closed
BRIDGE DISCONNECTION

2)  If a send repeatly smallest packets all work, but some times the device broke the connection with the following error:

C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 1993]
C: Msg w/ ID 0x0023, processing status: Fail
C: RX closing Net 0 [-9]
C: Cleaning session for net 0
C: Net 0 now closed
BRIDGE DISCONNECTION

Where is the problem? MQTT should receive and process a packet at a time. The c# application I developed can subscribe also, I try to receive what I send and all work on this application.

Can you give me some indication? Is a lib bug?

Thanks!

Riccardo

  • Hi Riccardo,

    1. Error -6 is MQTT_PACKET_ERR_PKT_LEN, or inadequate buffer (error codes are defined in mqtt_common.h). This error is likely because the full packet size you're sending is greater than MQTTCLIENT_BUF_LEN defined in the MQTT library (mqtt_client.c).

    2. Error -9 is MQTT_PACKET_ERR_CONTENT message content has errors, so that's less clear. What data are you sending when you get that error?

    Best regards,
    Sarah

  • Hi Sara,

    I've to check the packet contents, but I'm sending always the same payload (a string of "A" len 1000 characters), sometimes it return -9.This happens when I send repeatly the packet with my application. Do you confirm me that the MQTT client core receive a packet at once? It's should not be an memory allocated overflow, is this right ? I' expeting that with repeatly packets the device can become slowest but not broke the connection with the MQTT broker.

    thanks again

    Riccardo

  • Hi Riccardo,

    Which error are you asking about? In the case of -6, you're not getting a stack overflow because the library is catching that your buffer is not large enough. Have you tried increasing this buffer size?

    In processRecv() in client_core.c, can you print out the clCtx->flags and the contents of mqpRaw?

    Best regards,
    Sarah
  • Hi Sarah,

    I'm talking about the MQTT_PACKET_ERR_CONTENT, that raises when the device receive the packets (same payload made of a string with chararacter "A" for 1000 times) I sent repeatly to the broker from my C# application (the device is subscribed to a topic where the C# app publishes the payload"). Can I use lCtx->flags and the contents of mqpRaw you told to check the issue ?

    thanks

    Riccardo

  • Hi Riccardo,

    Yes, hopefully that information will help us debug the content error.

    If you run the MQTT client example in a debugger like CCS and pause execution after the MQTT error, it should be clear if you end up in a stack error handler. Can you try this to verify?

    Best regards,
    Sarah
  • Hi Sarah,

    sorry for my delayed reply but I was very busy, only today I managed to do some tests and I discovered something very interesting: the error happens every time mqpRaw->msgID reaches the value 0x21. How you suggest me, I printed out the content of flags and mqpRaw, so I discovered the issue, I try many times and it repeats it self every time.

    I attach you a log file to check this issue, on row 2058 you can find the error print out, the strange thing is that all values are similar to the previous ones, so by these print out there does not seem to be anything strange.

    Following two code sections, where I put the print out:

    client_core.c

    static bool processRecv(MQTT_ClientCtx_t *clCtx, MQTT_Packet_t *mqpRaw)
    {
        bool rv;
    
        MQTTCLIENTCORE_DBG_INFO("Received msg...\n\r");
        MQTTCLIENTCORE_USR_INFO("C: Rcvd msg Fix-Hdr (Byte1) 0x%02x from net %d [@ %u]\n\r", mqpRaw->fhByte1, clCtx->net, MQTTClientCore_netOps->time());
    
        /* Working Principle: Only RX processing errors should be
         reported as 'false'. Status of TX as a follow-up to RX
         messages need not be reported by the xyz_rx() routines.
         Error observed in TX is either dealt in next iteration
         of RX loop (in case, there is a dedicated RX task for
         the CTX) or in TX routine itself (in case, there is no
         dedicated RX task for the CTX).
         */
        rv = MQTTClientCore_awaitsConnack(clCtx) ? connSentStateRx(clCtx, mqpRaw) : connectedStateRx(clCtx, mqpRaw);
        MQTTCLIENTCORE_DBG_INFO("C: Msg w/ ID 0x%04x, processing status: %s\n\r", mqpRaw->msgID, rv ? "Good" : "Fail");
    
        MQTTCLIENTCORE_DBG_INFO(" flags 0x%x\n\r",clCtx->flags);
        MQTTCLIENTCORE_DBG_INFO(" mqpRaw->msgType:0x%x\n\r mqpRaw->fhByte1:0x%x\n\r mqpRaw->msgID:0x%x\n\r mqpRaw->offset:0x%x\n\r mqpRaw->fhLen:0x%x\n\r", mqpRaw->msgType, mqpRaw->fhByte1, mqpRaw->msgID, mqpRaw->offset, mqpRaw->fhLen);
        MQTTCLIENTCORE_DBG_INFO(" mqpRaw->vhLen:0x%x\n\r mqpRaw->plLen:0x%x\n\r mqpRaw->private:0x%x\n\r mqpRaw->maxlen:0x%x\n\r\n\r", mqpRaw->vhLen, mqpRaw->plLen, mqpRaw->private, mqpRaw->maxlen);
    
        return rv;
    }

    client_cbs.c

    void MqttClientCallback(int32_t event , void * metaData , uint32_t metaDateLen , void *data , uint32_t dataLen)
    {
        int32_t i = 0;
    
        switch((MQTTClient_EventCB)event)
        {
            case MQTT_CLIENT_OPERATION_CB_EVENT:
            {
                switch (((MQTTClient_OperationMetaDataCB_t*)metaData)->messageType)
                {
                    case MQTTCLIENT_OPERATION_CONNACK:
                    {
                        uint16_t *ConnACK = (uint16_t*) data;
                        APP_PRINT("CONNACK:\n\r");
                        /* Check if Conn Ack return value is Success (0) or       */
                        /* Error - Negative value                                 */
                        if ( 0 == (MQTTClientCbs_ConnackRC(*ConnACK)) )
                        {
                            APP_PRINT("Connection Success\n\r");
                        }
                        else
                        {
                            APP_PRINT("Connection Error: %d\n\r", *ConnACK);
                        }
                        break;
                    }
    
                    case MQTTCLIENT_OPERATION_EVT_PUBACK:
                    {
                        char *PubAck = (char *) data;
                        APP_PRINT("PubAck:\n\r");
                        APP_PRINT("%s\n\r", PubAck);
                        break;
                    }
    
                    case MQTTCLIENT_OPERATION_SUBACK:
                    {
                        APP_PRINT("Sub Ack:\n\r");
                        APP_PRINT("Granted QoS Levels are:\n\r");
                        for (i = 0; i < dataLen; i++)
                        {
                            APP_PRINT("%s :QoS %d\n\r", topic[i], ((unsigned char*) data)[i]);
                        }
                        break;
                    }
    
                    case MQTTCLIENT_OPERATION_UNSUBACK:
                    {
                        char *UnSub = (char *) data;
                        APP_PRINT("UnSub Ack \n\r");
                        APP_PRINT("%s\n\r", UnSub);
                        break;
                    }
    
                    default:
                        break;
                }
                break;
            }
            case MQTT_CLIENT_RECV_CB_EVENT:
            {
                MQTTClient_RecvMetaDataCB_t *recvMetaData =  (MQTTClient_RecvMetaDataCB_t *)metaData;
                uint32_t bufSizeReqd;
                uint32_t payloadOffset;
                char *pubBuff = NULL;
    
                payloadOffset = recvMetaData->topLen + 1;
                bufSizeReqd = recvMetaData->topLen + 1;
                bufSizeReqd += dataLen + 1;
                pubBuff = (char *) malloc(bufSizeReqd);
    
                if (pubBuff == NULL)
                {
                    APP_PRINT("malloc failed: recv_cb\n\r");
                    return;
                }
    
                /* copying the topic name into the buffer                         */
                memcpy((void*) (pubBuff), (const void*)recvMetaData->topic, recvMetaData->topLen);
                memset((void*) (pubBuff + recvMetaData->topLen), '\0', 1);
    
                /* copying the payload into the buffer                            */
                memcpy((void*) (pubBuff + payloadOffset), (const void*) data, dataLen);
                memset((void*) (pubBuff + payloadOffset + dataLen), '\0', 1);
    
                if (!recvMetaData->dup) // Se non è un duplicato analizza il messaggio
                {
                    SER_PRINT("TOPIC: %s\n\r",pubBuff);
                    SER_PRINT("PAYLOAD: %s\n\r",pubBuff + payloadOffset);
                    //Avanti
                }
    
                free(pubBuff);
                break;
            }
            case MQTT_CLIENT_DISCONNECT_CB_EVENT:
            {
                gResetApplication = true;
                APP_PRINT("BRIDGE DISCONNECTION\n\r");
                break;
            }
        }
    }

    I made some changes to the code of the example but I do not think this is the problem.

    Thanks!

    Riccardo

    P.S. to open the log file I used Notepad++

    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.03.13 00:14:50 =~=~=~=~=~=~=~=~=~=~=~=
    
    
    	============================================
    
    	   MQTT client Example Ver: 1.1.1
    
    	============================================
    
    
    	 CHIP: 0x30000019
    
    	 MAC:  2.0.0.0
    
    	 PHY:  2.2.0.5
    
    	 NWP:  3.6.0.0
    
    	 ROM:  0
    
    	 HOST: 2.0.1.26
    
    	 MAC address: 98:84:e3:f6:9c:cc
    
    
    	============================================
    
    
    
    
    
    		 *************************************************
    
    		    CC3220 MQTT client Application       
    
    		 *************************************************
    
    
    
    
    Device came up in Station mode
    
    Device disconnected from the AP on an ERROR..!! 
    
    Device disconnected from the AP on an ERROR..!! 
    
    [WLAN EVENT] STA Connected to the AP: AndroidAP , BSSID: 48:27:ea:ec:b0:9d
    
    [NETAPP EVENT] IP acquired by the device
    
    
    Device has connected to AndroidAP
    
    Device IP Address is 192.168.43.15 
    
    
    Version: Client LIB 1.1.0, Common LIB 1.2.0.
    
    .C: FH-B1 0x10 to net 0, Sent (52 Bytes) [@ 3]
    
    .Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x20 from net 0 [@ 4]
    
    C: Cleaning session for net 0
    
    CONNACK:
    
    Connection Success
    
    C: Msg w/ ID 0x0000, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x2
    
     mqpRaw->fhByte1:0x20
    
     mqpRaw->msgID:0x0
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    C: FH-B1 0x82 to net 0, Sent (94 Bytes) [@ 4]
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x90 from net 0 [@ 4]
    
    C: Msg w/ ID 0x0001, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x9
    
     mqpRaw->fhByte1:0x90
    
     mqpRaw->msgID:0x1
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x4
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Client subscribed on /prova
    
    ,Client subscribed on /cc3220SF/ToggleLEDCmdL1
    
    ,Client subscribed on /cc3220SF/ToggleLEDCmdL2
    
    ,Client subscribed on /cc3220SF/ToggleLEDCmdL3
    
    ,.
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 18]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 18]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":0,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0001, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x1
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x38
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 18]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 18]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":1,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0002, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x2
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x38
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 18]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 18]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":2,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0003, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x3
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x38
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 18]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 18]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":3,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0004, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x4
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x38
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 18]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 18]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":4,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0005, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x5
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x38
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 18]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 18]
    
    C: Msg w/ ID 0x0001, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x1
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 18]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 18]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":5,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0006, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x6
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x38
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 18]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 18]
    
    C: Msg w/ ID 0x0002, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x2
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 18]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 18]
    
    C: Msg w/ ID 0x0003, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x3
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 18]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 18]
    
    C: Msg w/ ID 0x0004, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x4
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 19]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 19]
    
    C: Msg w/ ID 0x0005, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x5
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 19]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 19]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":6,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0007, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x7
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x38
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 19]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 19]
    
    C: Msg w/ ID 0x0006, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x6
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 19]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 19]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":7,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0008, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x8
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x38
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 19]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 19]
    
    C: Msg w/ ID 0x0007, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x7
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 19]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 19]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":8,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0009, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x9
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x38
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 19]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 19]
    
    C: Msg w/ ID 0x0008, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x8
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 20]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 20]
    
    C: Msg w/ ID 0x0009, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x9
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 20]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 20]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":9,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x000a, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0xa
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x38
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 20]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 20]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":10,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x000b, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0xb
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 20]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 20]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":11,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x000c, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0xc
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 20]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 20]
    
    C: Msg w/ ID 0x000a, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0xa
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 20]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 20]
    
    C: Msg w/ ID 0x000b, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0xb
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 20]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 20]
    
    C: Msg w/ ID 0x000c, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0xc
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 20]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 20]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":12,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x000d, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0xd
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 21]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 21]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":13,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x000e, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0xe
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 21]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 21]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":14,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x000f, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0xf
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 21]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 21]
    
    C: Msg w/ ID 0x000d, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0xd
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 21]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 21]
    
    C: Msg w/ ID 0x000e, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0xe
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 21]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 21]
    
    C: Msg w/ ID 0x000f, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0xf
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 21]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 21]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":15,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0010, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x10
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 21]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 21]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":16,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0011, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x11
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 21]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 21]
    
    C: Msg w/ ID 0x0010, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x10
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 22]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 22]
    
    C: Msg w/ ID 0x0011, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x11
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 22]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 22]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":17,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0012, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x12
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 22]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 22]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":18,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0013, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x13
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 22]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 22]
    
    C: Msg w/ ID 0x0012, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x12
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 24]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 24]
    
    C: Msg w/ ID 0x0013, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x13
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 24]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 24]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":19,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0014, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x14
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 24]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 24]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":20,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0015, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x15
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 24]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 24]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":21,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0016, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x16
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 24]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 24]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":22,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0017, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x17
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 24]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 24]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":23,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0018, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x18
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 24]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 24]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":24,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0019, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x19
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 24]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 24]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":25,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x001a, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x1a
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 24]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 24]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":26,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x001b, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x1b
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 24]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 24]
    
    C: Msg w/ ID 0x0014, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x14
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 24]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 24]
    
    C: Msg w/ ID 0x0015, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x15
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 24]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 24]
    
    C: Msg w/ ID 0x0016, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x16
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 24]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 24]
    
    C: Msg w/ ID 0x0017, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x17
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 24]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 24]
    
    C: Msg w/ ID 0x0018, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x18
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 24]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 24]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":27,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x001c, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x1c
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 24]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 24]
    
    C: Msg w/ ID 0x0019, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x19
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 24]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 24]
    
    C: Msg w/ ID 0x001a, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x1a
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 24]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 24]
    
    C: Msg w/ ID 0x001b, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x1b
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 24]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 24]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":28,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x001d, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x1d
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 25]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 25]
    
    C: Msg w/ ID 0x001c, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x1c
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 25]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 25]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":29,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x001e, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x1e
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 26]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 26]
    
    C: Msg w/ ID 0x001d, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x1d
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x62 from net 0 [@ 26]
    
    C: FH-B1 0x70 to net 0, Sent (4 Bytes) [@ 26]
    
    C: Msg w/ ID 0x001e, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x6
    
     mqpRaw->fhByte1:0x62
    
     mqpRaw->msgID:0x1e
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x1
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 26]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 26]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":30,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x001f, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x1f
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 26]
    
    C: FH-B1 0x50 to net 0, Sent (4 Bytes) [@ 26]
    
    TOPIC: /prova
    
    PAYLOAD: {"sender":"platform_1","messID":31,"message":"blueLedOn"}
    
    C: Msg w/ ID 0x0020, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x20
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x34 from net 0 [@ 26]
    
    C: Msg w/ ID 0x0021, processing status: Fail
    
     flags 0x50003
    
     mqpRaw->msgType:0x3
    
     mqpRaw->fhByte1:0x34
    
     mqpRaw->msgID:0x21
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0xa
    
     mqpRaw->plLen:0x39
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    C: RX closing Net 0 [-9]
    
    C: Cleaning session for net 0
    
    C: Net 0 now closed
    
    BRIDGE DISCONNECTION
    
    
    On-board Client Disconnected
    
    
    TO Complete - Closing all threads and resources
    Unsubscribed from the topic /prova
    Unsubscribed from the topic /cc3220SF/ToggleLEDCmdL1
    Unsubscribed from the topic /cc3220SF/ToggleLEDCmdL2
    Unsubscribed from the topic /cc3220SF/ToggleLEDCmdL3
    
    
     Client Stop completed
    reopen MQTT # 1  
    
    
    
    
    		 *************************************************
    
    		    CC3220 MQTT client Application       
    
    		 *************************************************
    
    
    
    
    Device came up in Station mode
    
    [WLAN EVENT] STA Connected to the AP: AndroidAP , BSSID: 48:27:ea:ec:b0:9d
    
    [NETAPP EVENT] IP acquired by the device
    
    
    Device has connected to AndroidAP
    
    Device IP Address is 192.168.43.15 
    
    
    Version: Client LIB 1.1.0, Common LIB 1.2.0.
    
    .C: FH-B1 0x10 to net 0, Sent (52 Bytes) [@ 31]
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x20 from net 0 [@ 31]
    
    C: Cleaning session for net 0
    
    CONNACK:
    
    Connection Success
    
    C: Msg w/ ID 0x0000, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x2
    
     mqpRaw->fhByte1:0x20
    
     mqpRaw->msgID:0x0
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x0
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    C: FH-B1 0x82 to net 0, Sent (94 Bytes) [@ 31]
    
    Received msg...
    
    C: Rcvd msg Fix-Hdr (Byte1) 0x90 from net 0 [@ 31]
    
    C: Msg w/ ID 0x0001, processing status: Good
    
     flags 0x50003
    
     mqpRaw->msgType:0x9
    
     mqpRaw->fhByte1:0x90
    
     mqpRaw->msgID:0x1
    
     mqpRaw->offset:0x0
    
     mqpRaw->fhLen:0x2
    
     mqpRaw->vhLen:0x2
    
     mqpRaw->plLen:0x4
    
     mqpRaw->private:0x0
    
     mqpRaw->maxlen:0x400
    
    
    Client subscribed on /prova
    
    ,Client subscribed on /cc3220SF/ToggleLEDCmdL1
    
    ,Client subscribed on /cc3220SF/ToggleLEDCmdL2
    
    ,Client subscribed on /cc3220SF/ToggleLEDCmdL3
    
    ,.
    

  • Hi Sarah,

    any "good" news for my issue?

    Thanks very much

    Riccardo