package main

import (
	"hnyfkj.com.cn/rtu/linux/baseapp"
	modem "hnyfkj.com.cn/rtu/linux/ec200u"
	"hnyfkj.com.cn/rtu/linux/netmgrd"
)

func main() {
	baseapp.ModuleInit()
	baseapp.Logger.Info("Starting EC200U module test...")

	if !modem.ModuleInit(false) {
		return
	}

	netmgrd.ModuleInit()

	<-baseapp.IsExit2() // Block, wait for "Ctrl+C" to exit

	modem.ModuleExit()
}
