Пример #1
0
 static private void BleError(Optoel.Optoel.Ble.ErrorHandleArgs Error)
 {
     Console.WriteLine("\n\nError!");
     Console.WriteLine("Error Code:      " + Error.ErrorCode);
     Console.WriteLine("Error Message:   " + Error.ErrorMessage);
 }
Пример #2
0
 private static void SlaveErrorEvent(Optoel.Optoel.Ble.BleSlave sender, Optoel.Optoel.Ble.ErrorHandleArgs e)
 {
     Console.WriteLine("\n{0}. Device Error!", sender.SlaveNumber);
     Console.WriteLine("Error Code: " + e.ErrorCode);
     Console.WriteLine("Error:  " + e.ErrorMessage);
 }