Exemple #1
0
        static async Task Main(string[] args)
        {
            await ClientGenerator.Run(Secrets.NightscoutSiteURI, GetTargetPath());

            Console.WriteLine("Initializing Contour Next Link...");
            var mgr    = new CNL24DeviceManager();
            var device = await mgr.Initialize();

            if (device == null)
            {
                Console.WriteLine($"Device not found. Is it connected?");
                return;
            }
            Console.WriteLine($"DeviceId = {device.DeviceId}");

            Console.ReadKey();
        }