Sending and Receiving MQTT Messages

With your Development Computer and Gateway configured for MQTT and your MQTT broker set up, you are ready to create and run a Python script to publish MQTT messages.

These steps use Paho Python examples to create an initial script that you can later modify to meet your needs. Create the Python script either directly on your Gateway or on your Development Computer. If you create the script on your Development Computer, copy it to your Gateway to run it.


Congratulations! Using the Python programming language, you sent an MQTT message (Hello) from the Gateway, through the topic (mytopic) on the MQTT broker (localhost), and then to a Development Computer that subscribed to that MQTT topic. (mytopic)

Matrix multiplication in Matlab runs slower on the Xeon Phi

I have a system with the following configuration:

- Xeon Phi 31s1p (57 cores, 8Gb RAM) with MPSS 3.6 installed;

- Intel I7 3820 @3.6GHz;

- Asus P9X79WS (BIOS version 4802 - the most recent);

- 8Gb RAM;

- Sapphire Radeon HD 7990 video card

 The operating system is Windows 10 x64.

Subscribe to Linux*