Files
2026-09-22 09:38:26 +08:00

33 lines
1.0 KiB
C
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* Copyright (c) 2022 by UNISOC Technology(Shanghai), Inc. ALL RIGHTS RESERVED.
*
* These coded instructions, statements, and computer programs are the
* copyrighted works and confidential proprietary information of
* UNISOC Technology(Shanghai), Inc. They may not be modified, copied, reproduced,
* distributed, or disclosed to third parties in any manner, medium, or form,
* in whole or in part, without the prior written consent of UNISOC Technology(Shanghai), Inc.
*/
#ifndef _GNSS_OTA_H_
#define _GNSS_OTA_H_
#include <syslog.h>
#ifdef LOG_TAG
#undef LOG_TAG
#endif
#define LOG_TAG "GNSS-OTA"
#define LOGD(x...) syslog(LOG_USER | LOG_DEBUG, x); // debug log
#define LOGI(x...) syslog(LOG_USER | LOG_INFO, x); // info log
#define LOGW(x...) syslog(LOG_USER | LOG_WARNING, x); // warning log
#define LOGE(x...) syslog(LOG_USER | LOG_ERR, x); // error log
#define RSP_BUF_SIZE 256
extern char last_nmea_buf[RSP_BUF_SIZE];
extern char location_buf[RSP_BUF_SIZE];
extern char svstatus_buf[RSP_BUF_SIZE];
#endif