2025-05-21 1:52 AM - edited 2025-05-21 3:24 AM
Hi currently i am using STM32H735G-DK for implementing Azure IOT using ThreadX
1. I followed example of NX_MQTT_Client it is working fine
2. But i need to connect to Azure IOT via Azure c sdk i have added those and removed mqtt, freshly gen required things via cubemx using X-CUBE-AZRTOS and dhcp as client and ethernet (RMII) in interrupt
3. During assign ip via DHCP ip is not assigning and the ip_address_change_notify_callback() was not triggered i have followed same as NX_MQTT_Client but still it is not assigning
4. I have attached file for app_netxduo.c
Logs
=========================================================================
= (C) COPYRIGHT 2023 STMicroelectronics =
= =
= X-CUBE-AZURE-H7 1.1.0 =
= Nx_Azure_IoT =
= =
= This application is not intended for production for security reasons. =
= Please refer to ROT/Nx_Azure_IoT application of X-CUBE-AZURE-H7 =
= on www.st.com for a secured package. =
=========================================================================
NetXDuo init entry
Create IP instance...
nx_app_thread_entry
Get IP Address...
The network cable is not connected.
Ethernet link is up
DHCP client started...
Looking for DHCP server ..
The network cable is connected.