MyLaps
MyLaps X2
MyLaps X2 server connection is supported. over LAN/WAN networks. The server must have firmware version 4+. A connection to decoders is prohibited by MyLaps. The server provides aggregated connection from all decoders. The connection is only supported on Windows or Linux 64 but platforms with Intel CPU.
Connection example to My X2 server:
.\ammc-x2.exe myx2.atrack.com dan secret
Where dan
secret
and myx2.atrack.com
are username, password and hostname of the X2 server. Once connected
AMMC will receive passing messages.
Please note that MyLaps' provided MyLapsSDK.lib
and MyLapsSDK.dll
must be in the sme directory
or in the %PATH%. On Linux this is libmylapssdk.so
on LD_LIBRARY_PATH.
AMMC uses MyLaps SDK for connection and is connecting to port 443 of the X2 server with a secure protocol. This means that connection over WAN network / internet should be safe in this case.
There are many messages passed from X2 server. AMMC collects passing or passing triggers. You can use
-p
or -t
to select right event to collect. There is also -x
or --log_passing_history_mins
parameter
to setup different length requested passings in past if needed.
X2 decoder propagates following fields to Passing JSON message:
{"msg":"PASSING","passing_number":1,"transponder":232323,
"rtc_time":"2022-10-16T18:59:37.804257300+02:00","strength":10.0,
"resend":false,"tran_code":"ID:232323","loop_id":"55"}
The fields decoder_id
will be populated with X2 server MAC address for better data identification in database. There
is no real access to decoders itself nad its ID.