Skip to content

Commit

Permalink
add gps
Browse files Browse the repository at this point in the history
  • Loading branch information
goodspeed1986 committed Jul 3, 2022
1 parent ade2005 commit f1dcffa
Show file tree
Hide file tree
Showing 21 changed files with 1,691 additions and 1,686 deletions.
Binary file modified .DS_Store
Binary file not shown.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

### Service ID 4e75c6fe-d008-49f2-b182-fe231eed747c Сварка
Функция **READ** чтение текущих параметров сварки welding_param.
Возвращает текущие параметры сварки: 0;1628344812949;4.600000;0.100000;0;0;4.600000;0;0;16;5;8;20;0;0;0;0;0;0;0;"1628344812949";"1628344583754"
Возвращает текущие параметры сварки: 0;1628344812949;4.600000;0.100000;0;0;4.600000;0;0;16;5;8;20;0;0;0;0;0;0;0;"1628344812949";"1628344583754";"56.79,45.89"
Данные в порядке поступления:
- Номер этапа
- ID сварки
Expand All @@ -27,10 +27,11 @@
- Реальное время каждого этапа (6 цифр)
- Время начала сварки
- Время окончания сварки
- GPS координаты

Функция **WRITE** запись параметров сварки и старт процесса.
Примеры команд:
- {"cmd":0, "st_n":5, "sp_p":[4.6,0.1,0.0,0.0,4.6,0.0], "st_t":[0,160,5,8,1050,0], "ts":123456789, "id":"12345678"}, где cmd:0 - параметр для записи параметров сварки, sp_p - уставки давлений каждого этапа (обязательно с точкой), st_n - количество этапов сварки, st_t - время длительности каждого этапа в секундах, ts - время начала сварки UTC, id - уникальный ID сварки.
- {"cmd":0, "st_n":5, "sp_p":[4.6,0.1,0.0,0.0,4.6,0.0], "st_t":[0,160,5,8,1050,0], "ts":123456789, "id":"12345678", "gps": "56.79,45.89"}, где cmd:0 - параметр для записи параметров сварки, sp_p - уставки давлений каждого этапа (обязательно с точкой), st_n - количество этапов сварки, st_t - время длительности каждого этапа в секундах, ts - время начала сварки UTC, id - уникальный ID сварки, gps - координаты местоположения
- {"cmd":1, "state":1}, cmd:1 - параметр для перехода на следующий этап, state:1 - этап сварки.

Функция **NOTIFY** подписаться на уведомления от устройства.
Expand Down
2 changes: 1 addition & 1 deletion build/build.local.log
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Connecting to https://build.mongoose-os.com, user test
Uploading sources (10149 bytes)
Uploading sources (10241 bytes)
2,550 changes: 1,275 additions & 1,275 deletions build/build.log

Large diffs are not rendered by default.

Binary file modified build/fw.zip
Binary file not shown.
Binary file not shown.
Binary file modified build/fw/volzhanin_esp32-esp32-last.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion build/gen/build_ctx.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
build_ctx_859105429
build_ctx_091698127
6 changes: 3 additions & 3 deletions build/gen/build_info.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Auto-generated, do not edit. */
const char *build_id = "20220613-111819";
const char *build_timestamp = "2022-06-13T11:18:19Z";
const char *build_version = "1.11";
const char *build_id = "20220703-172229";
const char *build_timestamp = "2022-07-03T17:22:29Z";
const char *build_version = "1.12";
6 changes: 3 additions & 3 deletions build/gen/build_info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"build_id": "20220613-111819",
"build_timestamp": "2022-06-13T11:18:19Z",
"build_version": "1.11"
"build_id": "20220703-172229",
"build_timestamp": "2022-07-03T17:22:29Z",
"build_version": "1.12"
}
2 changes: 1 addition & 1 deletion build/gen/build_stat.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"arch": "esp32",
"platform": "esp32",
"app_name": "volzhanin_esp32",
"build_time_ms": 63721
"build_time_ms": 60901
}
4 changes: 2 additions & 2 deletions build/gen/mg_build_info.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Auto-generated, do not edit. */
const char *mg_build_id = "20220613-111819/2.19.1-gd52032f";
const char *mg_build_timestamp = "2022-06-13T11:18:19Z";
const char *mg_build_id = "20220703-172226/2.19.1-gd52032f";
const char *mg_build_timestamp = "2022-07-03T17:22:26Z";
const char *mg_build_version = "2.19.1";
2 changes: 1 addition & 1 deletion build/gen/mgos_config.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* clang-format off */
/*
* Generated file - do not edit.
* Command: /mongoose-os/tools/mgos_gen_config.py --c_name=mgos_config --c_global_name=mgos_sys_config --dest_dir=/data/fwbuild-volumes/latest/apps/volzhanin_esp32/esp32/build_contexts/build_ctx_859105429/build/gen/ /mongoose-os/src/mgos_debug_udp_config.yaml /mongoose-os/platforms/esp32/src/esp32_sys_config.yaml /data/fwbuild-volumes/latest/apps/volzhanin_esp32/esp32/build_contexts/build_ctx_859105429/build/gen/mos_conf_schema.yml
* Command: /mongoose-os/tools/mgos_gen_config.py --c_name=mgos_config --c_global_name=mgos_sys_config --dest_dir=/data/fwbuild-volumes/latest/apps/volzhanin_esp32/esp32/build_contexts/build_ctx_091698127/build/gen/ /mongoose-os/src/mgos_debug_udp_config.yaml /mongoose-os/platforms/esp32/src/esp32_sys_config.yaml /data/fwbuild-volumes/latest/apps/volzhanin_esp32/esp32/build_contexts/build_ctx_091698127/build/gen/mos_conf_schema.yml
*/

#include "mgos_config.h"
Expand Down
2 changes: 1 addition & 1 deletion build/gen/mgos_config.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* clang-format off */
/*
* Generated file - do not edit.
* Command: /mongoose-os/tools/mgos_gen_config.py --c_name=mgos_config --c_global_name=mgos_sys_config --dest_dir=/data/fwbuild-volumes/latest/apps/volzhanin_esp32/esp32/build_contexts/build_ctx_859105429/build/gen/ /mongoose-os/src/mgos_debug_udp_config.yaml /mongoose-os/platforms/esp32/src/esp32_sys_config.yaml /data/fwbuild-volumes/latest/apps/volzhanin_esp32/esp32/build_contexts/build_ctx_859105429/build/gen/mos_conf_schema.yml
* Command: /mongoose-os/tools/mgos_gen_config.py --c_name=mgos_config --c_global_name=mgos_sys_config --dest_dir=/data/fwbuild-volumes/latest/apps/volzhanin_esp32/esp32/build_contexts/build_ctx_091698127/build/gen/ /mongoose-os/src/mgos_debug_udp_config.yaml /mongoose-os/platforms/esp32/src/esp32_sys_config.yaml /data/fwbuild-volumes/latest/apps/volzhanin_esp32/esp32/build_contexts/build_ctx_091698127/build/gen/mos_conf_schema.yml
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion build/gen/mgos_ro_vars.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* clang-format off */
/*
* Generated file - do not edit.
* Command: /mongoose-os/tools/mgos_gen_config.py --c_name=mgos_ro_vars --c_global_name=mgos_sys_ro_vars --dest_dir=/data/fwbuild-volumes/latest/apps/volzhanin_esp32/esp32/build_contexts/build_ctx_859105429/build/gen/ /mongoose-os/src/mgos_ro_vars_schema.yaml
* Command: /mongoose-os/tools/mgos_gen_config.py --c_name=mgos_ro_vars --c_global_name=mgos_sys_ro_vars --dest_dir=/data/fwbuild-volumes/latest/apps/volzhanin_esp32/esp32/build_contexts/build_ctx_091698127/build/gen/ /mongoose-os/src/mgos_ro_vars_schema.yaml
*/

#include "mgos_ro_vars.h"
Expand Down
2 changes: 1 addition & 1 deletion build/gen/mgos_ro_vars.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* clang-format off */
/*
* Generated file - do not edit.
* Command: /mongoose-os/tools/mgos_gen_config.py --c_name=mgos_ro_vars --c_global_name=mgos_sys_ro_vars --dest_dir=/data/fwbuild-volumes/latest/apps/volzhanin_esp32/esp32/build_contexts/build_ctx_859105429/build/gen/ /mongoose-os/src/mgos_ro_vars_schema.yaml
* Command: /mongoose-os/tools/mgos_gen_config.py --c_name=mgos_ro_vars --c_global_name=mgos_sys_ro_vars --dest_dir=/data/fwbuild-volumes/latest/apps/volzhanin_esp32/esp32/build_contexts/build_ctx_091698127/build/gen/ /mongoose-os/src/mgos_ro_vars_schema.yaml
*/

#pragma once
Expand Down
Loading

0 comments on commit f1dcffa

Please sign in to comment.