Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot-open:practical:hardware:sut:stm32:iot_5 [2024/05/04 08:34] – [Start] ktokarzen:iot-open:practical:hardware:sut:stm32:iot_5 [2024/05/04 08:41] (current) – [Steps] ktokarz
Line 206: Line 206:
   if (peripheral) {   if (peripheral) {
     lcd.clear();     lcd.clear();
-    if (peripheral.localName() == "SUT BLE device") {+    if (peripheral.localName() == "STM32 Beacon") {
  
       // display remote name         // display remote name  
Line 216: Line 216:
       lcd.print(REMOTE_SERVICE_UUID);       lcd.print(REMOTE_SERVICE_UUID);
     }     }
-  } 
-  else // restart scanning 
-  { 
-    int ret = 1; 
-    do 
-    { 
-      ret = BLE.scanForUuid(REMOTE_SERVICE_UUID); 
-      if (ret == 0) 
-      { 
-        BLE.end(); 
-        BLE.begin(); 
-      } 
-    } while(ret == 0); 
   }   }
 } }
en/iot-open/practical/hardware/sut/stm32/iot_5.1714811669.txt.gz · Last modified: 2024/05/04 08:34 by ktokarz
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0