SP8EBC-ParaTNC/include/etc/api_configuration.h

21 wiersze
579 B
C

/*
* api_configuration.h
*
* Created on: Apr 30, 2022
* Author: mateusz
*/
#ifndef API_CONFIGURATION_H_
#define API_CONFIGURATION_H_
// API cycle are fired once every minute and counts from zero
// up to 100 and then starts again. These defines controls how
// often in minutes API communication is triggered
#define API_STATUS_CALL_CYCLE_INTERVAL 20
#define API_MEASUREMENTS_CALL_CYCLE_INTERVAL 5
#define API_SHARED_SECRET {0x64, 0x75, 0x70, 0x61, 0x6A, 0x61, 0x73, 0x69, 0x61, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x00}
#endif /* API_CONFIGURATION_H_ */