FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

4167 questions

4739 answers

3460 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
194 views
in Vehicle tracking by anonymous

Hi,

I'm trying to get the current value for some I/Os. (I'm using GPRS/TCP connection.)

I've tried getparam 21;66;70;71;178;182;200;239;240;241 (I/O Ids). For this one I get the reply: Param ID:178 Value:0;182:0;200:0
When sent one-at-a-time, I get an empty command response message for all of them except 178, 182 and 200.

I've also tried getparam 50030;50080;50760;50050;50650;50070;50040;50000;50010;50140 (other kind of Ids). For this request I get Param ID:50030 Value:1;50080:1;50760:1;50050:1;50650:1;50070:1;50040:1;50000:1;50010:1;50140:1

How should I do this?

1 Answer

+1 vote
by anonymous
Hello.

getparam command is used to change device configuration remotely, list of available config parameters is here:

https://wiki.teltonika-gps.com/view/FMM640_Device_Family_Parameter_list

For example parameter 66 doesn't exist as config parameter.

I assume that you need to read AVL with id 66 (External Voltage):

https://wiki.teltonika-gps.com/view/FMM640_Teltonika_Data_Sending_Parameters_ID

To read any AVL, please use readio command (for example readio 66).

Regards
Best answer
by anonymous

Thank you very much. It works.

I thought readio works only for the same channels as getio, e.g., DI1..4, AIN1..4 only. The documentation is not too detailed in this respect.