Announcement

Collapse
No announcement yet.

Linux Arduino Plugin Error

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux Arduino Plugin Error

    Hello.
    I want to test the Linux HS3 and Arduino Plugin and i have this error in the Arduino IDE :
    "

    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:19:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    char* Version = "1.0.0.111";
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino: In function 'void InputCheck()':
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:98:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send(" I ");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:100:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send(" ");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino: In function 'void AnalogueCheck()':
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:172:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send(" A ");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:174:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send(" ");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino: In function 'void OneWireCheck()':
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:238:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send(" Rom ");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:241:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    if (tempDeviceAddress[i] < 16) Send("0");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:244:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send(" ");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino: In function 'void DataEvent()':
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:472:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send(" I ");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:474:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send(" ");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:483:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send("Version ");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:485:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send(" ");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:487:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send(" HS3");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:490:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send("Connected ");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:651:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send("Alive ");
    ^
    /home/linux/Scaricati/HomeseerBoard1/HomeseerBoard1.ino:677:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    Send("Reseting ");
    "

    I need your help.

    Thanks,
    Marian

  • #2
    Please try V.118 and see if that helps you.

    Greig.
    Zwave = Z-Stick, 3xHSM100 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
    X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
    Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
    Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
    Scripts =
    Various

    Comment


    • #3
      Sorry Greig, but for me is an problem with Arduino Plugin because i test to upload the skretch to arduino board but .... i have the error with Arduino IDE 1.6.8

      This is Error :
      " Build options changed, rebuilding all
      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 19:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      char* Version = "1.0.0.118";

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: In function 'void InputCheck()':

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 98:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send(" I ");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 100:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send(" ");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: In function 'void AnalogueCheck()':

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 172:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send(" A ");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 174:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send(" ");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: In function 'void OneWireCheck()':

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 238:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send(" Rom ");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 241:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      if (tempDeviceAddress[i] < 16) Send("0");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 244:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send(" ");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: In function 'void DataEvent()':

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 472:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send(" I ");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 474:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send(" ");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 483:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send("Version ");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 485:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send(" ");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 487:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send(" HS3");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 490:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send("Connected ");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 651:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send("Alive ");

      ^

      C:\Users\Marian\Documents\HomeseerBoard1\HomeseerBoard1.ino: 677:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      Send("Reseting ");

      ^


      Sketch uses 24,536 bytes (9%) of program storage space. Maximum is 253,952 bytes.
      Global variables use 2,097 bytes (25%) of dynamic memory, leaving 6,095 bytes for local variables. Maximum is 8,192 bytes.

      "

      I tryed with Linux Arduino IDE and with Windows Arduino IDE and i have the same error.

      You're sure it's not a problem by Arduino Plugin for Linux?

      Thanks,
      Marian

      Comment


      • #4
        I downloaded the libraries from Arduino Plugin Page and is the same error.

        Comment


        • #5
          This should not stop it working as it is just a warning about a change in the ide but the board should still upload the sketch and work.

          Greig.
          Zwave = Z-Stick, 3xHSM100 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
          X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
          Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
          Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
          Scripts =
          Various

          Comment

          Working...
          X