1

(3 replies, posted in wolfMQTT)

Hello Eric,

Thanks for reply.
I have a wolfMQTT client on PikeOS RT O.S. that communicates with an external Windows  MQTT Client.
Also the Borker is installed on Windows Host. The ethernet connection is Point-2-Point . Windows Client is the master of communication, it send commands on specific Topics and wolffMQTT client publish responses on other topics. Windows client send also periodic requests (every 3 seconds ) and WolfMQTT topic must response also to this requests.

On WolfMQTT sided  I have a thread that manages MQTT Ping and the WaitMessages. When a new message is received it is sent on a queue and there is another thread that read from this queue and publishes  the relative responses.

Every time WolffMQTT client send a response message it returns -7 (Timeout) and after about 5 minutes of communication wolffMQtt Client doesn't receive new MQTT messages.

Is there an internal buffer on WolffMQTT client that could cause the issue or can you suggest me another possible cause?

Thanks in advance for the support.

Davide

2

(3 replies, posted in wolfMQTT)

Hi,

I have some troubles with a Timeout Error (-7) after the MqttClient_Publish call. Most of times the messages are correctly sent despite the MqttClient_Publish function returns Timeout. But sometimes the messages are not received from broker after this error.

Please can you give me some additional info about this error code returned by MqttClient_Publish ?

embhorn wrote:

Hi Davide,

wolfMQTT is mostly platform agnostic C code, unless your platform is using non-POSIX APIs, in which case you will have to override calls like send, recv, etc. wolfMQTT should compile on any platform.
wolfMQTT does not currently have .NET bindings. If compiled as a C++ application, there should be no restrictions on your VC++ library version.


Hi embhorn,

I would like to compile WolfMQTT library on an dev. enviroment for a target with the following caratteristcs:

CPU: Intel CoffeLake 9th Gen
S.O.:  VxWorks 7
Endianism: Little-Endian
Compiler: llvm-8.0.0.1
Linker: Clang/LLVM

Please can you give me some indications on the above task?

Thanks,

Davide

embhorn wrote:

Hi Davide,

I am checking around to see if we have a demo that could help guide you. I will follow up when I know more.

Thanks,
Eric @ wolfSSL Support


Thanks very much Eric, a demo would be very helpful to me.

embhorn wrote:

Hi Davide,

wolfMQTT is mostly platform agnostic C code, unless your platform is using non-POSIX APIs, in which case you will have to override calls like send, recv, etc. wolfMQTT should compile on any platform.
wolfMQTT does not currently have .NET bindings. If compiled as a C++ application, there should be no restrictions on your VC++ library version.


Thanks for the replay.

I'm investigating the compatibility also with another target board and operative system:


·         CPU Manufacturer: NXP

·         CPU Model: LX2080

·         Core Type: Arm Cortex A72

·         Core Architecture: ARMv8-A 64-bit 

·         Core Number : 8 cores

.          rtos: PikeOS 5.1.2

Compiler:    GCC 7.5.0 (PikeOS CDK)


I see in PikeOs web site that wolfSSL is a SysGo partner.

Please, can you provide me any detail about you compatibility with above hardware and O.S.?

Hi,

I would like to port WolfMQTT library on a Curtiss Wright VME-196 board https://www.curtisswrightds.com/product … e-196.html  and VxWorks 7 SR0650 64bit OS.

The VME-196 board uses a NXP T2080 processor (1.8 GHz dual-threaded PPC e6500 core , BIG-ENDIAN ) .

The BSP for Workbench4 uses a GNU 8.3.0.2 compiler.

I created new Downloadable Kernel Image (DKM) Project under Workbench and after I included WolfMQTT src and header files in my DKM project; I also added the BIG_ENDIAN_ORDER define. Are there other defines or configurations you suggest for porting  WolfMQTT  on my board?

To test the WolfMQTT client I created an MQTT 5.0 Broker on a Windows host,  developed with .NET library . Which client example do you suggest to use to test my workbench project? Is there any particuler settings that my MQTT Broker should have in order to connect with WolfMQTT client?

Thanks in advance for the support.