Hello Team,
I am going to use the MQTT Protocol, and i want to send data on JSON format is this possible. Because this i read your documents in that JSON formate AT command is only for HTTP and HTTPS protocol. if i want to use MQTT protocol then which language should we use to design the IOT page.
and another information required i am not using RTC then RTC sensor should give ground or VDD.
because my SDK is not load in module they stuck in middle i think this is because of RTC is goes in SLEEP mode so what should we do to WAKE UP this RTC.
Best Regard's
AK.
Hello,
Yes, you can definitely send data in JSON format over MQTT. While you mentioned that the AT commands you read only reference JSON for HTTP and HTTPS, MQTT can also handle JSON payloads. You just need to format your data as a JSON string before publishing it to the MQTT broker. Here's a basic example in Python:
import paho.mqtt.client as mqttimport json
# Define the MQTT settingsbroker_address = "your_broker_address"client = mqtt.Client("ClientID")
# Connect to the brokerclient.connect(broker_address)
# Prepare your data in JSON formatdata = { "temperature": 22.5, "humidity": 60}json_data = json.dumps(data)
# Publish the JSON dataclient.publish("your/topic", json_data)
# Disconnectclient.disconnect()
You can use any programming language that supports MQTT libraries (like Python, Java, C/C++, JavaScript, etc.) to design your IoT application.
Regarding the RTC (Real-Time Clock) connection:
Feel free to ask if you have any more questions or need further assistance!
Best regards,
Hello, i want make connection of two LED to this DA16200MOD for when transmission will happen that red will glow and receive time blue will glow so tell what to do in SDK file to this operation.thanks and regard's
Hi Ak,Thank you for the reply.
ak said: i want make connection of two LED to this DA16200MOD for when transmission will happen that red will glow and receive time blue will glow so tell what to do in SDK file to this operation.
Are you talking about Wi-Fi transmission or AT cmd transmissions?Generally for controlling LED, please refer on UM-WI-046 DA16200 DA16600 FreeRTOS SDK Programmer Guide (renesas.com) , on section 17.2 GPIO page:263Best Regards,OV_Renesas
hello,
Tell me for both wifi transmission and AT command transmission what to do in SDK.i read for GPIO just tell me for wifi transmission and AT command transmission.
i want to say when AT Command is send that time led glow same for receive side also. means we can get clarification of our data transmission not lost that the reason i am applying this. just like take example of HC05 Bluetooth LED function before connection state and after connection state and during transmission.
best regard's