31 lines
1.1 KiB
Python
Raw Normal View History

2022-03-24 16:01:12 +08:00
# Copyright (c) Quectel Wireless Solution, Co., Ltd.All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
2022-03-03 09:53:51 +08:00
2022-04-18 13:55:36 +08:00
from usr.modules.logging import getLogger
2022-04-14 15:20:22 +08:00
from usr.tracker import tracker
from usr.settings import PROJECT_NAME, PROJECT_VERSION, DEVICE_FIRMWARE_NAME, DEVICE_FIRMWARE_VERSION
2022-03-03 09:53:51 +08:00
log = getLogger(__name__)
2022-03-03 09:53:51 +08:00
def main():
2022-04-12 09:13:20 +08:00
log.info("PROJECT_NAME: %s, PROJECT_VERSION: %s" % (PROJECT_NAME, PROJECT_VERSION))
log.info("DEVICE_FIRMWARE_NAME: %s, DEVICE_FIRMWARE_VERSION: %s" % (DEVICE_FIRMWARE_NAME, DEVICE_FIRMWARE_VERSION))
2022-03-24 13:30:00 +08:00
2022-04-14 15:20:22 +08:00
tracker()
2022-03-03 09:53:51 +08:00
2022-04-12 09:13:20 +08:00
if __name__ == "__main__":
main()