Ask a question

2223 questions

2598 answers

2088 comments

5862 members

Ask a question
0 votes
78 views
in Vehicle tracking by

Hello,

I have a problem with GPRS command, sent to FMB640 in codec12 format.

I use the same software for to send GPRS commands to FMB120 devices, without problems.  

With the FMB640, I have a strange problem: The device receive correctly the GPRS command, but no answer. Instead, sometimes, after the GPRS command, I receive the correct answer from device (but very rarely).

I have downloaded the device log and I have seen that the command is received, but there is not  a socket answer by device.

FMB640 firwmare is 1.00.05

Is a my mistake, or something goes wrong?

The command, for example is for to set a list of iButtons:


setparam 30000:5A00001AE6686501;30001:3200001AE71EC801;30002:4400001B6E098201;30003:0000001AA5056F01;30004:0300001AA4398F01;30005:0700001AA6863001;30006:0800001A903D5601;30007:0B00001B6E2C5A01;30008:0F00001AA6456D01;30009:1000001B6C464F01;30010:1100001A909B7601;30011:1300001B6C3BF801;30012:1400001AA4DDF201;30013:1400001B6B5FA001;30014:1900001A907A1201;30015:1900001B6E36A201;30016:2000001AA4FA2101;30017:2100001AA4F26C01;30018:2100001B6BFCBE01;30019:2300001AA5BF8401;30020:2400001AA5047901;30021:2800001AA44AC301;30022:2C00001AA50AAB01;30023:2C00001B6BF83501;30024:2C00001B6DEE2301;30025:2E00001A906CCC01;30026:3000001AA63C6501;30027:3000001AA6452001;30028:3500001AA430DA01;30029:3B00001A9090E301;30030:3E00001B6E0A1501;30031:3F00001A906CD101;30032:4200001A905F7401;30033:4200001AA43D3C01;30034:4200001B6C281501;30035:4400001AA5BC6401;30036:4800001A90875001;30037:4A00001A905E2101;30038:4B00001B6C1C3A01;30039:4B00001B6C3D2801;30040:5200001A907B8301;30041:5300001AA434F001;30042:5500001AA4F94A01;30043:5600001B6C0DDD01;30044:5800001AA672DA01;30045:5900001A903F2B01;30046:5B00001AA5C66E01;30047:6600001AA4EEAB01;30048:6600001AA5E34601;30049:6C00001AA705CE01;30050:6D00001B6BED1601;30051:6F00001B6DF2C201;30052:7A00001AA5A3A201;30053:7F00001B6B987401;30054:8200001B6D843001;30055:8600001AA6263601;30056:8700001AA67EE401;30057:8800001A90598B01;30058:8A00001A9098BB01;30059:8D00001AA4F6EF01;30060:9100001B6BE7C101;30061:9500001A90894F01;30062:9800001AA61AF901;30063:9D00001AA6800501;30064:A000001AA51AEC01;30065:A100001A904AC901;30066:A800001AA439D801;30067:A900001A9048B701;30068:AD00001A904CF501;30069:B000001AA6724901;30070:B200001B6E30A301;30071:B300001AA65A1C01;30072:B700001AA5D11D01;30073:BD00001AA7037301;30074:BE00001AA63F9301;30075:C300001A90781101;30076:C500001AA44AF301;30077:CB00001AA5E00F01;30078:CC00001B6C16D401;30079:CD00001AA5032001;30080:CE00001AA4F35601;30081:D100001A9045AD01;30082:D600001AA5E35301;30083:D600001B6DF55101;30084:DC00001AA430CC01;30085:DC00001B6BFD0F01;30086:DD00001A905AC901;30087:DD00001AA4304901;30088:E000001AA630A701;30089:E200001AA5143301;30090:E300001AA4F5C601;30091:E600001AA5173E01;30092:EF00001A90422A01;30093:EF00001AA4F1C801;30094:F200001AA64C1401;30095:F400001AA5035801;30096:F900001AA43FC101;30097:FA00001AA42DEC01;30098:FA00001AA51C2F01;30099:FB00001AA6462701;30100:FC00001AA65BAB01;30101:FE00001A907E1901


This is an extract of device Log, relative to this command:


[2021.01.21 11:50:29]-[GEO.OVERSPEED] Dout:5 Cfg:0 speed:90 off:0
[2021.01.21 11:50:30]-[GEO.OVERSPEED] Dout:5 Cfg:0 speed:90 off:0
[2021.01.21 11:50:30]-[N.F]-> PDOP:0.00, HDOP:0.00, Valid:0Q: 0, Sats: 0 Retry: 0
[2021.01.21 11:50:31]-[APP.SND.TCP]-> Active data link TMO: 25 
[2021.01.21 11:50:31]-[GEO.OVERSPEED] Dout:5 Cfg:0 speed:90 off:0
SOC0.RX:[00000000000001f30c0105000001eb736574706172616d2033303030303a354130303030314145363638363530313b33303030313a333230303030314145373145433830313b33303030323a343430303030314236453039383230313b33303030333a303030303030314141353035364630313b33303030343a303330303030314141343339384630313b33303030353a303730303030314141363836333030313b33303030363a303830303030314139303344353630313b33303030373a304230303030314236453243354130313b33303030383a304630303030314141363435364430313b33303030393a313030303030314236433436344630313b33303031303a313130303030314139303942373630313b33303031313a313330303030314236433342463830313b33303031323a313430303030314141344444463230313b33303031333a313430303030314236423546413030313b33303031343a313930303030314139303741313230313b33303031353a313930303030314236453336413230313b33303031363a323030303030314141344641323130313b33303031373a323130303030314141344632364330313b33303031383a323130303030314236424643424530313b33303031393a323330303030314141354246383430313b33303032303a323430303030314141353034373930310100005d39]
[2021.01.21 11:50:31]-[D.P.TCP]-> CODEC12 COMMAND RECEIVED1
[2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30000] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30001] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30002] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30003] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30004] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30005] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30006] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30007] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30008] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30009] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30010] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30011] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30012] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30013] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30014] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30015] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30016] [2021.01.21 11:50:32]-[MODEM]-> Socket: 1
[2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30017] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30018] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30019] [2021.01.21 11:50:32]-[CONFIG] Successfuly configured parameter [30020] [2021.01.21 11:50:32]-[GEO.OVERSPEED] Dout:5 Cfg:0 speed:90 off:0
[2021.01.21 11:50:33]-[APP.SND.D]-> 1 Time until data sending 52
[2021.01.21 11:50:33]-[GEO.OVERSPEED] Dout:5 Cfg:0 speed:90 off:0
[2021.01.21 11:50:34]-[GEO.OVERSPEED] Dout:5 Cfg:0 speed:90 off:0
[2021.01.21 11:50:35]-[GEO.OVERSPEED] Dout:5 Cfg:0 speed:90 off:0
[2021.01.21 11:50:35]-[APP.GPS]-> No Fix
[2021.01.21 11:50:36]-[APP.SND.TCP]-> Active data link TMO: 20 
SOC0.RX:[00000000000001f30c0105000001eb736574706172616d2033303030303a354130303030314145363638363530313b33303030313a333230303030314145373145433830313b33303030323a343430303030314236453039383230313b33303030333a303030303030314141353035364630313b33303030343a303330303030314141343339384630313b33303030353a303730303030314141363836333030313b33303030363a303830303030314139303344353630313b33303030373a304230303030314236453243354130313b33303030383a304630303030314141363435364430313b33303030393a313030303030314236433436344630313b33303031303a313130303030314139303942373630313b33303031313a313330303030314236433342463830313b33303031323a313430303030314141344444463230313b33303031333a313430303030314236423546413030313b33303031343a313930303030314139303741313230313b33303031353a313930303030314236453336413230313b33303031363a323030303030314141344641323130313b33303031373a323130303030314141344632364330313b33303031383a323130303030314236424643424530313b33303031393a323330303030314141354246383430313b33303032303a323430303030314141353034373930310100005d39]
[2021.01.21 11:50:36]-[D.P.TCP]-> CODEC12 COMMAND RECEIVED1
[2021.01.21 11:50:36]-[MODEM]-> Socket: 1
[2021.01.21 11:50:36]-[GEO.OVERSPEED] Dout:5 Cfg:0 speed:90 off:0
[2021.01.21 11:50:37]-[GEO.OVERSPEED] Dout:5 Cfg:0 speed:90 off:0
[2021.01.21 11:50:37]-[ACC]-> Auto:0 AxlNow:0.027345,0.015625,-0.957060
[CAN1] State:"CheckBitrate" R:1000kBit E:0/8/0/0/0, Got:0 F:0/0 Proc:0/0 Ovf:0/0
[CAN2] State:"Active" R:250kBit E:0/8/6/3/0, Got:0 F:0/0 Proc:0/0 Ovf:0/0
[2021.01.21 11:50:38]-[APP.SND.D]-> 1 Time until data sending 47
[2021.01.21 11:50:38]-[TACHO.CAN] TxCnt:3 RxCnt:3 Tmo:3 FailesTx:0 idx:14 Src:1
[2021.01.21 11:50:38]-[TACHO.CAN] Kline: Good_CS:0 Bad_CS:0
[2021.01.21 11:50:38]-[GEO.OVERSPEED] Dout:5 Cfg:0 speed:90 off:0
[2021.01.21 11:50:38]-[APP.GPS]-> No GPS FIX 300 / 900
[2021.01.21 11:50:38]-[SD.API]-> New Job:1
[2021.01.21 11:50:38]-[SD.API]-> Starting SD card initialization.

Thank you.

3 Answers

0 votes
by
Hello

Please note that setparam command is limited to 160 characters, such long command would not be accepted by device:

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

Regards
by

Hello,

thank you for your answer.

I know this limit (I think only in SMS command, not in GPRS with TCP connections).

I have tried also with a single command like 

setparam 30000:5A00001AE6686501

but without answer (sometimes yes, but majority of times no)

The command is always executed by device, because if I open the Teltonika configurator and look under iButton , I see the button list loaded correctly.

My problem is that, without a device feedback, I don't know if command as been correctly executed, or not.

Is a problem for me because I have many  devices installed on vehicles, in which I must can remotely update the ibutton keys, and I must be sure that command will be executed.

I Repeat: The command, with same sending software, work perfectly with FMB120 device, that give to me an aswer, every time I send a GPRS command by TCP connection.

I have tried to insert some delay in read /write socket operations, but without success.

by
Hello

Please paste pagescreen from Records Settings configuration (System Tab)
0 votes
by

Hello, this is the screenshoot:

0 votes
by

This is the screenshoot:

screenshoot.jpg