Hi, I have a GPS that with protocol "khd", I would like to know when the device is ACC on (Ignition on). I have seen that the GPS give an status for example "2147420672", the first number show that the machine is ON because, in binary, the two is 0010 and the first 0 is the flag tha show me the machine is run. I tried to do a computed Attribute but I don't know how can I sprit only the first character of the string, I have reviewed the JEXL code and I found the "Starts With =^" but don't work too. Somebody did a computed atributes like this?. thanks
Hi, I have a GPS that with protocol "khd", I would like to know when the device is ACC on (Ignition on). I have seen that the GPS give an status for example "2147420672", the first number show that the machine is ON because, in binary, the two is 0010 and the first 0 is the flag tha show me the machine is run. I tried to do a computed Attribute but I don't know how can I sprit only the first character of the string, I have reviewed the JEXL code and I found the "Starts With =^" but don't work too. Somebody did a computed atributes like this?. thanks