Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Paho in 4DIAC FORTE on Raspberry Pi 4B - won't initialise
  • From: Ether Brat <etherbrat@xxxxxxxxxxx>
  • Date: Tue, 23 Mar 2021 11:10:15 +0000
  • Accept-language: en-AU, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dNwAheO6LDc+Z66g1xkVHWlBAHkYjagpN3Tx+SVKkKI=; b=OuU0zv9t1YFF0B6HsJPrF+f3kyZuG70ewgDBJ7JcUHobR45aCdSMPGJZx+6BjafkINgARvQwC+hZ9HPAyr9t4eMG7pxwUVnw8Yu2r+qVkZWC1xDezM5XomE/0Tk15N6k0CDI1dV19QzeErgLS7HOtb2kyu2GoDHzsRg+1HuK1yfb/A2Wqnlq5v2h50G+Hr9qRSzD9befBXwzWNMlp+q3225sbj/gPEg2fAZEHJtu6L5VLdP/w/i1yXN7RNuyu+cXMOWLDDkQavR+TPdIWILC4zDnXixZLLqJM+Il9BG5OuDGoPqunQrczXmQKYLdMYIDBrEqIhvIH/SI7WAslMvbyQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SzWSwH5JH+I8bYr4khJnAZ88DXO55RvXkoXbBlzioGSpbzAlVYzlk6KisSO5aJhdkLQC0mlpp1dmzCJNZgKrc7aWwk6axFk4s7AXCcbXu+XkXrug3vYkLY/aFsnxEoOuDltDItz6KkHdDWA82Hya0L7KDOSGFL72dyueF2pRY1sq19UuXJnHXZCM6bx2Zf9f2tQuJt8cxCPB1ntI4E2pCIhLaoNylPkZkCgg7lvJeLwxuk7AIOyn9c4di0VkNcMHJOZeuwCRtfY95+Y1v9C/QkY0pGnCKpiYh+mrkZIw1V6Cr4NeE8quywhaEzcAXOUZIJlh2k0MOHVkxe9iGCE5Og==
  • Delivered-to: paho-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/paho-dev/>
  • List-help: <mailto:paho-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/paho-dev>, <mailto:paho-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/paho-dev>, <mailto:paho-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: Adcf1OCB4DC7vJzQQlq0Yb1Tjr9FIA==
  • Thread-topic: Paho in 4DIAC FORTE on Raspberry Pi 4B - won't initialise

I followed the instructions for building 4DIAC FORTE with Paho on a Raspberry Pi 4B. I got a clean build of FORTE which runs non-Paho 4DIAC applications as expected.

 

When I try to configure the pub/sub function blocks for MQTT, I get an “INVALID_ID” error (followed by “NO_SOCKET” on the publisher). I have tried with both a public broker and also Mosquitto on my local /24 net.

 

I have also experimented with various forms of the ID string.

 

I have taken no steps in Mosquitto to authenticate the clients. If this is the problem, how can I rectify that?

 

I have attached a copy of the 4DIAC configuration screen with debug shown (I have been manually INITing the blocks for debugging).

 

The ID configuration string (a bit hard to read in the picture) is: raw[].mqtt[tcp://192.168.0.185:1883,fortedev,foobar/in]

 

Thanks in advance,

Neil

Attachment: MQTT.JPG
Description: MQTT.JPG


Back to the top