This shows you the differences between two versions of the page.
priot:laboratoare:06 [2024/11/13 14:55] cristian.contasel [Exercitii] |
priot:laboratoare:06 [2024/11/19 02:49] (current) alexandru.bala [Exemplu de cod pentru Abonare pe Laptop utilizând paho-mqtt] |
||
---|---|---|---|
Line 147: | Line 147: | ||
client.loop_forever() | client.loop_forever() | ||
</code> | </code> | ||
+ | |||
+ | <note>In case you experience issues with Paho MQTT Client Callback Version, try the following approach: | ||
+ | <code> | ||
+ | client = mqtt_client.Client(client_id = client_id, callback_api_version = mqtt_client.CallbackAPIVersion.VERSION1) | ||
+ | </code> | ||
+ | </note> | ||
===== Comunicații BLE - platforma Nordic Thingy:52 ====== | ===== Comunicații BLE - platforma Nordic Thingy:52 ====== |