/// <summary> /// Function that checks if one of the arguments is /IOT /// </summary> /// <param name="args"></param> /// <returns></returns> static bool IsIOT(string[] args) { bool bIsIoT = false; if (args.Contains("/IOT", StringComparer.OrdinalIgnoreCase)) { //This is a Raspberry Pi with a RF Explorer IoT Hat g_bIoTBoard = (RFECommunicator.IsRaspberryPlatform()); Trace.WriteLine("Working in IoT - Raspberry Pi mode"); if (!g_bIoTBoard) { Trace.WriteLine("ERROR IoT: Unrecognized Raspberry Pi platform"); bIsIoT = false; } bIsIoT = true; } return(bIsIoT); }