擅长:python、mysql、java
<p>关于pythonsdk的文档确实是一个空白。我们现在正在研究更好的文档,我会回过头来更新。在</p>
<p>同时,这些文件可能会有所帮助:</p>
<ol>
<li>有两个关于Python的教程。<a href="https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-python-getstarted" rel="nofollow noreferrer">This document</a>遍历发送确认回调和接收消息回调。<a href="https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-raspberry-pi-kit-python-get-started" rel="nofollow noreferrer">This</a>是Rasp-Pi的教程。在</li>
<li>pythonsdk是C-SDK的包装器。你可以看看<a href="https://azure.github.io/azure-iot-sdk-c/index.html" rel="nofollow noreferrer">C API documentation</a>。例如,send_confirmation_callback是C中的SendConfirmationCallback。<a href="https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-device-sdk-c-iothubclient" rel="nofollow noreferrer">This documentation</a>中对SendConfirmationCallback和ReceiveMessageCallback进行了详细描述。在</li>
</ol>
<p>如果遇到任何问题,可以在<a href="https://github.com/Azure/azure-iot-sdk-python" rel="nofollow noreferrer">our repo</a>中打开问题。在</p>