|
|
Re: Debugging Paho in 4DIAC FORTE [message #1839575 is a reply to message #1839571] |
Wed, 24 March 2021 06:18 |
Neil Higgins Messages: 18 Registered: September 2016 Location: Brisbane |
Junior Member |
|
|
Sadly, trying to go the other way - to Windows rather than to Linux - I can build FORTE with LuaJIT but I cannot build FORTE with Paho (errors all over the place).
BTW, is the Lua code exposed for editing if I use the dynamic types? This would be essential for the purpose of adding MQTT support via Lua.
[Updated on: Wed, 24 March 2021 06:20] Report message to a moderator
|
|
|
Re: Debugging Paho in 4DIAC FORTE [message #1839578 is a reply to message #1839575] |
Wed, 24 March 2021 07:00 |
|
First of all Lua is not needed for MQTT. However, 4diac FORTE definitely works with LuaJIT on Linux. Done that already a few times myself. The best option is to not build LuaJIt yourself but use the provided dev packages for your distribution. With that LuaJIT on Linux should be much easier. No Lua code is currently not exposed.
What is a bit strange is the invalid id error. at least for the publisher everything should be correct. For the subscriber I would assume that the raw layer is already stopping initialization as it is expecting a single output of type STRING.
The NO_Socket is produced when you send an REQ to a not initialized FB.
[Updated on: Wed, 24 March 2021 07:01] Report message to a moderator
|
|
|
|
Re: Debugging Paho in 4DIAC FORTE [message #1839593 is a reply to message #1839580] |
Wed, 24 March 2021 11:00 |
Neil Higgins Messages: 18 Registered: September 2016 Location: Brisbane |
Junior Member |
|
|
Thank you, Alois. As always, you are a gold mine of information and knowhow.
I am unsure where to find "the provided dev packages for your distribution", although I am very much in favour of using them, as opposed to building my own. Can you further enlighten me? Of course I am looking for the Paho (especially) and Lua (less urgently) variants of FORTE for the Raspberry Pi (or both combined). Also the Paho variant for Windows 10.
[Edit] To elaborate: If I download from Downloads/4diac FORTE 1.13.0//Linux ARM, all I get is a zip file containing a copy of FORTE- with no information about what options are included. Not quite what I expected.
Thanks in advance,
Neil
[Updated on: Wed, 24 March 2021 11:17] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05539 seconds