пропажа слешей

Dependencies:   mbed mbed-STM32F103C8T6 MLX90614 Watchdog DS1820

Committer:
spin7ion
Date:
Tue Sep 29 19:48:56 2020 +0000
Revision:
9:e8a07983289f
Parent:
6:70d0218c2a28
Child:
10:51960145754a
Some fixes

Who changed what in which revision?

UserRevisionLine numberNew contents of line
spin7ion 6:70d0218c2a28 1 #pragma once
spin7ion 6:70d0218c2a28 2
spin7ion 6:70d0218c2a28 3 #define STATE_INIT 0
spin7ion 6:70d0218c2a28 4 #define STATE_STARTING_GPS 1
spin7ion 6:70d0218c2a28 5 #define STATE_WAITING_FIX 2
spin7ion 6:70d0218c2a28 6 #define STATE_COLLECTING_TELEMETRY 3
spin7ion 6:70d0218c2a28 7 #define STATE_SENDING_TELEMETRY 4
spin7ion 6:70d0218c2a28 8 #define STATE_SLEEPING 5
spin7ion 6:70d0218c2a28 9
spin7ion 9:e8a07983289f 10 #define SLEEP_CHECK_TIME 5
spin7ion 9:e8a07983289f 11 #define SLEEP_TIME_S 60
spin7ion 6:70d0218c2a28 12 #define WATCHDOG_INTERVAL_S SLEEP_TIME_S+5
spin7ion 9:e8a07983289f 13 #define FIX_CHECK_TIME_S 5
spin7ion 6:70d0218c2a28 14 #define FIX_MAX_TRIES 3
spin7ion 6:70d0218c2a28 15
spin7ion 6:70d0218c2a28 16 #define PIN_SDA PB_9
spin7ion 6:70d0218c2a28 17 #define PIN_SCL PB_8
spin7ion 6:70d0218c2a28 18 #define PIN_ONEWIRE PC_14
spin7ion 6:70d0218c2a28 19 #define PIN_SIM_TX PA_9
spin7ion 6:70d0218c2a28 20 #define PIN_SIM_RX PA_10
spin7ion 6:70d0218c2a28 21 #define PIN_TX PA_2
spin7ion 6:70d0218c2a28 22 #define PIN_RX PA_3
spin7ion 6:70d0218c2a28 23
spin7ion 6:70d0218c2a28 24
spin7ion 9:e8a07983289f 25 #define DEBUG_SIM 0
spin7ion 6:70d0218c2a28 26 #define DEBUG_PC 1
spin7ion 6:70d0218c2a28 27
spin7ion 6:70d0218c2a28 28 #define NBIOT_TELEMETRY_URL "http://iotsandbox.mts.ru:8080/api/v1/msyDlNiOZVAzKkkmVNVU/telemetry"