full sync
This commit is contained in:
11
AMMC/LICENCE
Normal file
11
AMMC/LICENCE
Normal file
@@ -0,0 +1,11 @@
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to
|
||||
whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
||||
THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
|
||||
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
25
AMMC/README.md
Normal file
25
AMMC/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Amb Mylaps My Converter (AMMC) application readme
|
||||
|
||||
This is utility converting data from race timing devices to JSON or database. See
|
||||
website [AMMC](http://www.ammconverter.eu) for
|
||||
more details about AMM converter.
|
||||
|
||||
Content of the package:
|
||||
|
||||
- `passing.schema.json` - JSON schema of the passing record
|
||||
- `windows64` - directory with Windows executable
|
||||
- `linux_x86-64` - directory with Linux executable
|
||||
- `apple_m` - directory with Apple M CPU executables
|
||||
- `libammc.h` - AMMC header file for C/C++ developers
|
||||
- `passing.schema.json` - Passing record JSON schema
|
||||
|
||||
Binary commands:
|
||||
|
||||
- ammc-amb(.exe) - converts data from AMB / MyLaps devices
|
||||
- ammc-prochip(.exe) - converts data from Prochip devices
|
||||
- ammc-vostok(.exe) - converts data from Vostok decoders
|
||||
- ammc-x2(.exe) - converts data from MyLaps X2 server
|
||||
- ammc-sim(.exe) - device simulator
|
||||
|
||||
All details on website https://ammconverter.eu or https://ammconverter.com
|
||||
|
||||
87977
AMMC/THIRDPARTY.toml
Normal file
87977
AMMC/THIRDPARTY.toml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
AMMC/ammc-latest.zip
Normal file
BIN
AMMC/ammc-latest.zip
Normal file
Binary file not shown.
BIN
AMMC/apple_m/ammc-amb
Normal file
BIN
AMMC/apple_m/ammc-amb
Normal file
Binary file not shown.
BIN
AMMC/apple_m/ammc-prochip
Normal file
BIN
AMMC/apple_m/ammc-prochip
Normal file
Binary file not shown.
BIN
AMMC/apple_m/ammc-sim
Normal file
BIN
AMMC/apple_m/ammc-sim
Normal file
Binary file not shown.
BIN
AMMC/apple_m/ammc-vostok
Normal file
BIN
AMMC/apple_m/ammc-vostok
Normal file
Binary file not shown.
BIN
AMMC/apple_m/libammc.dylib
Normal file
BIN
AMMC/apple_m/libammc.dylib
Normal file
Binary file not shown.
41
AMMC/libammc.h
Normal file
41
AMMC/libammc.h
Normal file
@@ -0,0 +1,41 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
char *p3_to_json(const char *msg);
|
||||
|
||||
/**
|
||||
* # Safety
|
||||
*
|
||||
* convert p3 binary data to JSON for jvm based languages
|
||||
*/
|
||||
jstring Java_com_skoky_AmmcBridge_p3_1to_1json(JNIEnv env, JClass, JString p3_bin);
|
||||
|
||||
/**
|
||||
* # Safety
|
||||
*
|
||||
* converts p3 network response to json fo rjvm languages
|
||||
*/
|
||||
jstring Java_com_skoky_AmmcBridge_p3_1network_1to_1json(JNIEnv env, JClass, JString p3_bin);
|
||||
|
||||
/**
|
||||
* # Safety
|
||||
*
|
||||
* encodes json message to p3 hex binary
|
||||
*/
|
||||
jstring Java_com_skoky_AmmcBridge_encode(JNIEnv env, JClass, JString json_str);
|
||||
|
||||
/**
|
||||
* # Safety
|
||||
*
|
||||
* converts P3 time to millis
|
||||
*/
|
||||
jstring Java_com_skoky_AmmcBridge_time_1to_1millis(JNIEnv env, JClass, JString str_time);
|
||||
|
||||
/**
|
||||
* # Safety
|
||||
*
|
||||
* returns p3 lib version
|
||||
*/
|
||||
jstring Java_com_skoky_AmmcBridge_version(JNIEnv env, JClass);
|
||||
BIN
AMMC/linux_x86-64/ammc-amb
Normal file
BIN
AMMC/linux_x86-64/ammc-amb
Normal file
Binary file not shown.
BIN
AMMC/linux_x86-64/ammc-prochip
Normal file
BIN
AMMC/linux_x86-64/ammc-prochip
Normal file
Binary file not shown.
BIN
AMMC/linux_x86-64/ammc-sim
Executable file
BIN
AMMC/linux_x86-64/ammc-sim
Executable file
Binary file not shown.
BIN
AMMC/linux_x86-64/ammc-vostok
Normal file
BIN
AMMC/linux_x86-64/ammc-vostok
Normal file
Binary file not shown.
BIN
AMMC/linux_x86-64/ammc-x2
Normal file
BIN
AMMC/linux_x86-64/ammc-x2
Normal file
Binary file not shown.
BIN
AMMC/linux_x86-64/libammc.so
Normal file
BIN
AMMC/linux_x86-64/libammc.so
Normal file
Binary file not shown.
BIN
AMMC/linux_x86-64/libmylapssdk.so
Normal file
BIN
AMMC/linux_x86-64/libmylapssdk.so
Normal file
Binary file not shown.
167
AMMC/passing.schema.json
Normal file
167
AMMC/passing.schema.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "Passing",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"type": "string"
|
||||
},
|
||||
"decoder_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"controller_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"request_id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "uint64",
|
||||
"minimum": 0
|
||||
},
|
||||
"passing_number": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "uint64",
|
||||
"minimum": 0
|
||||
},
|
||||
"transponder": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "uint32",
|
||||
"minimum": 0
|
||||
},
|
||||
"rtc_time": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"strength": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
],
|
||||
"format": "double"
|
||||
},
|
||||
"hits": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "uint16",
|
||||
"minimum": 0,
|
||||
"maximum": 65535
|
||||
},
|
||||
"low_battery": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"resend": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"modified": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"gps_locked": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"tran_code": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"user_flags": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "uint32",
|
||||
"minimum": 0
|
||||
},
|
||||
"driver_id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "uint8",
|
||||
"minimum": 0,
|
||||
"maximum": 255
|
||||
},
|
||||
"sport": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "uint8",
|
||||
"minimum": 0,
|
||||
"maximum": 255
|
||||
},
|
||||
"voltage": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
],
|
||||
"format": "double"
|
||||
},
|
||||
"temperature": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "int8",
|
||||
"minimum": -128,
|
||||
"maximum": 127
|
||||
},
|
||||
"car_id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "uint8",
|
||||
"minimum": 0,
|
||||
"maximum": 255
|
||||
},
|
||||
"loop_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"empty_fields": {
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"msg"
|
||||
]
|
||||
}
|
||||
BIN
AMMC/windows64/MyLapsSDK.dll
Normal file
BIN
AMMC/windows64/MyLapsSDK.dll
Normal file
Binary file not shown.
BIN
AMMC/windows64/ammc-amb.exe
Normal file
BIN
AMMC/windows64/ammc-amb.exe
Normal file
Binary file not shown.
BIN
AMMC/windows64/ammc-prochip.exe
Normal file
BIN
AMMC/windows64/ammc-prochip.exe
Normal file
Binary file not shown.
BIN
AMMC/windows64/ammc-sim.exe
Normal file
BIN
AMMC/windows64/ammc-sim.exe
Normal file
Binary file not shown.
BIN
AMMC/windows64/ammc-vostok.exe
Normal file
BIN
AMMC/windows64/ammc-vostok.exe
Normal file
Binary file not shown.
BIN
AMMC/windows64/ammc-x2.exe
Normal file
BIN
AMMC/windows64/ammc-x2.exe
Normal file
Binary file not shown.
BIN
AMMC/windows64/ammc.dll
Normal file
BIN
AMMC/windows64/ammc.dll
Normal file
Binary file not shown.
Reference in New Issue
Block a user