UNPKG

pxt-common-packages

Version:
11 lines 587 B
{ "azureiot.connect": "Connects to the IoT hub", "azureiot.disconnect": "Disconnects the hub if any", "azureiot.isConnected": "Indicates if the MQTT client is connected", "azureiot.onEvent": "Registers code when the MQTT client gets connected or disconnected", "azureiot.onEvent|param|event": "@param handler ", "azureiot.onMessageReceived": "Registers code to run when a message is received", "azureiot.publishMessageBuffer": "Send a message via mqtt", "azureiot.publishMessageHex": "Send a message via mqtt", "azureiot.publishMessageJSON": "Send a message via mqtt" }