Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required SIA fields Missing #19

Open
exotsk opened this issue Mar 9, 2020 · 1 comment
Open

Required SIA fields Missing #19

exotsk opened this issue Mar 9, 2020 · 1 comment

Comments

@exotsk
Copy link

exotsk commented Mar 9, 2020

Hi! I have same error, but i have popular chinees alarm G90B-PLUS 2G GSM system with sia support. Can i hope ?
Full log:
https://pastebin.com/NK3E4Xir

2020-03-09 15:34:00.061 - debug: sia.0 (430) received from 192.168.1.162:24592 following data: {"type":"Buffer","data":[10,55,56,70,67,48,48,51,66,34,83,73,65,45,68,67,83,34,48,48,48,49,76,35,50,50,51,51,52,52,53,53,91,35,50,50,51,51,52,52,53,53,124,78,67,81,49,93,95,49,52,58,51,51,58,53,51,44,48,50,45,48,57,45,50,48,50,48,13,0]}
2020-03-09 15:34:00.066 - info: sia.0 (430) received from 192.168.1.162:24592 following message: 78FC003B"SIA-DCS"0001L#22334455[#22334455|NCQ1]_14:33:53,02-09-2020
2020-03-09 15:34:00.068 - debug: sia.0 (430) data :
78FC003B"SIA-DCS"0001L#22334455[#22334455|NCQ1]_14:33:53,02-09-2020
2020-03-09 15:34:00.069 - info: sia.0 (430) SIA Message : <0x0A>78FC003B"SIA-DCS"0001L#22334455[#22334455|NCQ1]_14:33:53,02-09-2020<0x0D>
2020-03-09 15:34:00.069 - debug: sia.0 (430) parseSIA sia.str : "SIA-DCS"0001L#22334455[#22334455|NCQ1]_14:33:53,02-09-2020
2020-03-09 15:34:00.071 - debug: sia.0 (430) parseSIA regex : {"data":{"type":"Buffer","data":[10,55,56,70,67,48,48,51,66,34,83,73,65,45,68,67,83,34,48,48,48,49,76,35,50,50,51,51,52,52,53,53,91,35,50,50,51,51,52,52,53,53,124,78,67,81,49,93,95,49,52,58,51,51,58,53,51,44,48,50,45,48,57,45,50,48,50,48,13]},"lf":10,"len":59,"crc":30972,"crcformat":"hex","cr":13,"str":""SIA-DCS"0001L#22334455[#22334455|NCQ1]_14:33:53,02-09-2020","calc_len":59,"calc_crc":30972}
2020-03-09 15:34:00.072 - debug: sia.0 (430) parseSIA : {"data":{"type":"Buffer","data":[10,55,56,70,67,48,48,51,66,34,83,73,65,45,68,67,83,34,48,48,48,49,76,35,50,50,51,51,52,52,53,53,91,35,50,50,51,51,52,52,53,53,124,78,67,81,49,93,95,49,52,58,51,51,58,53,51,44,48,50,45,48,57,45,50,48,50,48,13]},"lf":10,"len":59,"crc":30972,"crcformat":"hex","cr":13,"str":""SIA-DCS"0001L#22334455[#22334455|NCQ1]_14:33:53,02-09-2020","calc_len":59,"calc_crc":30972,"id":"SIA-DCS","seq":"0001","rpref":"","lpref":0,"act":"22334455","pad":"","data_message":"#22334455|NCQ1","data_extended":"","ts":"14:33:53,02-09-2020"}
2020-03-09 15:34:00.072 - info: sia.0 (430) Required SIA fields missing
2020-03-09 15:34:00.074 - info: sia.0 (430) Created NAK : <0x0A>E2490025"NAK"0000R0L0A0[]_14:34:00,02-09-2020<0x0D>
2020-03-09 15:34:00.074 - debug: sia.0 (430) nackSIA : {"type":"Buffer","data":[10,69,50,52,57,48,48,50,53,34,78,65,75,34,48,48,48,48,82,48,76,48,65,48,91,93,95,49,52,58,51,52,58,48,48,44,48,50,45,48,57,45,50,48,50,48,13]}
2020-03-09 15:34:00.075 - info: sia.0 (430) sending to 192.168.1.162:24592 following message: E2490025"NAK"0000R0L0A0[]_14:34:00,02-09-2020
2020-03-09 15:34:00.094 - info: sia.0 (430) connection from 192.168.1.162:24592 closed

@Hirsch-DE
Copy link

Hallo,
wenn ich mir das ansehe, dann gibt es gleich zwei Probleme.

  1. Der Account Prefix (lpref) ist nicht gesetzt (hinter dem L muss ein 1-6 Zeichen kommen als HEX)
  2. Die Zeitangabe (ts) vom Gerät weicht um einen Monat ab, weshalb das dann auch nicht zugelassen ist (+20/-40 Sekunden erlaubt). Oder die Einstellung "ACK Timeout" muss sehr groß eingestellt werden!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants