liudr

Results 10 issues of liudr

It's been a while since I wanted to dive into LUFA code to understand how USB controllers work on 32u4 so I've finally got enough time to understand the code,...

question

There are several printf() in the port folder. Here is one example: https://github.com/espressif/esp-azure/blob/90716c7b51aa499c2eeffa212039e18e98932fa0/port/src/agenttime_esp.c#L15 I recommend replacing them with appropriate ESP_LOGx() to help control log level. Especially if someone wants a...

I installed ESP-IDF V4.3 beta-1 and many of the calls in this port are deprecated. Last update in the port folder is 9 months ago. Looking forward to an update...

Due to the way ESP-IDF components work, the azure as an ESP-IDF component is given a name "port" because the folder is, simply put "port", inside azure folder such as...

If I enable the SAMPLE_MQTT_OVER_WEBSOCKETS option, the device twin sample code fails to compile: C:/Users/user/Downloads/msys32/home/user/esp/esp-azure/examples/iothub_devicetwin_samples_and_methods/build/main\libmain.a(iothub_client_device_twin_and_methods_sample.o):(.literal.iothub_client_device_twin_and_methods_sample_run+0x4): undefined reference to `MQTT_WebSocket_Protocol' collect2.exe: error: ld returned 1 exit status make: *** [C:/Users/user/Downloads/msys32/home/qk9446me/esp/esp-idf/make/project.mk:483: /home/user/esp/esp-azure/examples/iothub_devicetwin_samples_and_methods/build/iothub_devicetwin_samples_and_methods.elf]...

Here is the function: static int deviceMethodCallback(const char* method_name, const unsigned char* payload, size_t size, unsigned char** response, size_t* response_size, void* userContextCallback) I wonder if I should free(payload). No explanation...

Hi, I am very new to this but I'm learning. I have azure account, created a device. Have host name, device id and sharedaccesskey. Everything looks good on azure. I...

Since there isn't any example on blob upload, I'm wondering if this feature is available in this port. More specifically, is either function actually working? IoTHubDeviceClient_LL_UploadToBlob() IoTHubDeviceClient_UploadToBlobAsync() Is this thing...

I have a working project with azure iot device credential I created from a web portal, by posting an activation license code and receiving connection string from it. Once I...

Here is the relevant line that uses the #define: https://github.com/PaulStoffregen/cores/blob/fcece8099baf1081f77d36628f2ac7de5fd70cf4/teensy4/usb.c#L65 The most common problem of NUM_ENDPOINTS is that one has to guess what EPs to include in the count. Should...