JSON object R/W (Suggestion)

Support forum for MegunoLink
Post Reply
IngmarGuillaume
Posts: 8
Joined: Mon Oct 09, 2017 10:30 am

JSON object R/W (Suggestion)

Post by IngmarGuillaume » Sun Sep 16, 2018 8:34 am

Wouldn't it be interesting to include a general read/write of a JSON object from and to arduino compatible hardware?

philr
Posts: 193
Joined: Mon May 26, 2014 10:58 am

Re: JSON object R/W (Suggestion)

Post by philr » Thu Sep 20, 2018 5:58 am

Hi, what is the use case for this?
Cheers
Phil

IngmarGuillaume
Posts: 8
Joined: Mon Oct 09, 2017 10:30 am

Re: JSON object R/W (Suggestion)

Post by IngmarGuillaume » Fri Sep 21, 2018 9:26 am

To transfer all parameters in one command, instead of transferring them one by one.

philr
Posts: 193
Joined: Mon May 26, 2014 10:58 am

Re: JSON object R/W (Suggestion)

Post by philr » Sat Sep 22, 2018 9:20 am

Makes sense. i'll add to the request list.

IngmarGuillaume
Posts: 8
Joined: Mon Oct 09, 2017 10:30 am

Re: JSON object R/W (Suggestion)

Post by IngmarGuillaume » Sat Sep 22, 2018 8:46 pm

╱╱┏╮
╱╱┃┃
▉━╯┗━╮
▉┈┈┈┈┃
▉╮┈┈┈┃
╱╰━━━╯

philr
Posts: 193
Joined: Mon May 26, 2014 10:58 am

Re: JSON object R/W (Suggestion)

Post by philr » Sun Sep 23, 2018 1:46 am

What kind of microcontroller are you using? Json will have lots of overhead and depending on how bug the structure will be the device may struggle to keep up with the serial data.

Cheers
Phil

IngmarGuillaume
Posts: 8
Joined: Mon Oct 09, 2017 10:30 am

Re: JSON object R/W (Suggestion)

Post by IngmarGuillaume » Sun Oct 21, 2018 9:41 am

Sorry for the late reply, I didn't mark the "Notify me when someone posts a reply".

I literally have dozens, original arduino's, Navspark, STM32, ESP8266, ESP32, Industrial Arduino, OnionIoT, Redbear, Redbear Duo, ....
Mind, I have no particular NEED for it. It was just a suggestion. If it were available, and I'd had to transfer multiple parameters, I'd use it.

Ingmar

Post Reply