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.
Hi AK,Thank you for posting your questions online.
ak said: 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.
You can use the JSON format with MQTT protocol.The DA16200 SDK supports JSON and we provide a sample code.The JSON sample code is located in the below SDK directory:[SDK root]/0.DOC/Doxygen/html/json.html
ak said: 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.
Please refer on DA16200 Datasheet (renesas.com), on section 7.4 RTC, page:41The RTC GPIOs should be used to control the sleep modes.The API names to control the RTC_GPO are the following:
/** **************************************************************************************** * @brief This function initializes the RTC_GPO pin. * @param[in] mode 0: Auto mode (output high in power on state and output low in sleep state) * mode 1: Manual mode * **************************************************************************************** */ void RTC_GPO_OUT_INIT(UINT8 mode); /** **************************************************************************************** * @brief Set RTC_GPO output level. * @param[in] value of GPO 0: low, 1: high * **************************************************************************************** */ void RTC_GPO_OUT_CONTROL(UINT8 value);