Send sensor data from Nucleo-WL55JC1 and X-NUCLEO-IKS01A2 over LoRaWAN
Hello,
I am working on a project using Nucleo-WL55JC1 and the X-NUCLEO-IKS01A2 sensor board. My goal is to read sensor data (temperature, humidity, pressure, etc.) and send it over LoRaWAN to a network server such as ChirpStack.
I have already connected the X-NUCLEO-IKS01A2 to the Nucleo-WL55JC1 using I2C (SDA = PA11, SCL = PA12). I have enabled I2C2 in STM32CubeMX. The LoRaWAN stack is configured, and the device can successfully join a network.
Now, I need help with the following questions:
- How do I correctly read the sensor data from X-NUCLEO-IKS01A2 in my STM32 project?
- How should I format and send the sensor data in a LoRaWAN uplink message?
- Are there any recommended libraries or example projects for this setup?
