Official website

Wednesday, February 20, 2013

Arduino configuration

UPDATE: Jubito supports a GUI for most settings.


To send and receive messages between Arduino and Jubito, we have to edit the AppConfig.xml file and enter the port name and the baud rate.
Just for reference since you can apply this action from the UI (*), the API calls that are responsible to enable/disable the port is...

judo serial open - enable
judo serial close - disable

You can test above commands on terminal tab. More on APIs here.

  <!-- SYSTEM SETTINGS -->
  <System>
    <Alerts>
      <MailHeaders>
        <MailFrom>noreply@xxx.net</MailFrom>
        <MailTo>xxx@gmail.com</MailTo>
        <MailSubject>Alert from jubito</MailSubject>
      </MailHeaders>
    </Alerts>
    <Comm>
      <!-- Addresses that allowed to post notifications to socket specified -->
      <Trusted>192.168.1.10; 192.168.1.11</Trusted>
      <!-- Socket for accepting network messages via telnet, ip cameras etc -->
      <localHost>192.168.1.10</localHost>
      <localPort>5744</localPort>
      <!-- Web Server -->
      <Hostname>xxx.dyndns.org</Hostname>
      <httpPort>8080</httpPort>
      <!-- Microcontroller -->
      <ComPort>/dev/ttyACM0</ComPort>
      <BaudRate>9600</BaudRate>
    </Comm>
    <Others>
    <YahooForecastFeed>http://weather.yahooapis.com/forecastrss?w=946738&amp;u=c</YahooForecastFeed>
    </Others>
  </System>

(*)

No comments:

Post a Comment