Exemple #1
0
 void Start()
 {
     if (mode2 && !stopReading && !mode0)
     {
         BtConnection.listen(true, length, terminalByte);
     }
     else if (!mode2 && !mode0 && !stopReading)
     {
         BtConnection.listen(true, length);
     }
     else if (stopReading && !mode2 && !mode0)
     {
         BtConnection.stopListen();
     }
 }
 public static void stopListen()
 {
     BtConnection.stopListen();
 }