I am trying to code my first Pebble C app which is based on a pebble.js app I made. I am basically showing the bus schedules.
My question, How can I pass the information from pebblekit js to the pebble C by appmessage so that I can construct a menu? how can I pass an multiple dimension array by appmessage to the watch?
here is an example of the json my pebblekit js has to send to the watch:
{  
    "buses":[
        {  
         "bus_number":"55",
         "stops":[  
            {  
                 "stop_id":"109698",
                 "stop_times":[  
                    {  
                       "arrival_time":"21:22:25",
                       "departure_time":"21:22:25"
                    },
                    {  
                       "arrival_time":"21:52:25",
                       "departure_time":"21:52:25"
                    },
                    ...
                 ]
            },
            ...
       }
   }