'CALLBACK WHEN MQTT MESSAGE ARRIVES (We save the message into MySql)
Private Sub mqtt_MessageArrived (Topic As String, Payload() As Byte)
'do some stuff with the payload, segment it into different information bits
'CHECK FOR A PARTICULAR FLAG inside the Payload() and if PRESENT, launch another Sub, in another thread, so it doesn't block this at all, and the next instruction can be executed as fast and early as possible.
'Save all bits into Mysql
End Sub