@@ -107,25 +107,22 @@ <h3>Inputs</h3>
107107
108108< script type ="text/x-red " data-help-name ="Generic BLE ">
109109< p >
110- By default, you can register your BLE device by providing its MAC address .
111- If you don't have the address , you can use < code > Scan Result </ code > select box in the dialog to find your device .
110+ In order to register a new BLE peripheral device, you have to use < code > Scan Result </ code > select box in the dialog .
111+ This means whenever you register a new device , you need it and make it discoverable so that this node is able to find it .
112112</ p >
113113< p >
114- In order to use the widget , enable < code > Select from scan result < / c o d e > c h e c k b o x .
115- And you can see the list of BLE devices around the machine where Node - RED runs .
114+ Check < code > BLE Scanniing < / c o d e > i n o r d e r t o s t a r t B L E s c a n n i n g . A n d y o u c a n s e e t h e l i s t o f B L E d e v i c e s a r o u n d t h e m a c h i n e w h e r e N o d e - R E D r u n s .
115+ The select box lsit values will be updated automatically when BLE scanning is running . They will be refreshed every 10 seconds .
116116</p >
117117< p >
118118This node looks for advertised names and show them on the list.
119- However, some of devices don't have the name.
120- In that case, you will see < code > (Unnamed)</ code > label.
119+ However, some of devices don't have the name (or failed to resolve it because of the underlying BLE library limitations) .
120+ In that case, you will see a device address or a < code > (Unnamed)</ code > label text .
121121</ p >
122122< p >
123- The node will try to update the device name when the device has < code > Device Name ( 2 a00 ) < / c o d e > c h a r a c t e r i s t i c .
124- This can be done when you choose a device from the list .
125- </p >
126- < p >
127- < code > GATT Characteristics</ code > just shows the info provided by the device itself.
128- The info contains characteristic UUID, which will help you to compose or parse messages
129- on writing/reading characteristics.
123+ Once you choose a device to register , click / tap < code > Apply < / c o d e > b u t t o n t o a p p l y t h e s e l e c t e d d e v i c e .
124+ < code > Local Name</ code > , < code > MAC</ code > and < code > UUID < / c o d e > w i l l b e p o p u l a t e d a u t o m a t i c a l l y .
125+ < code > GATT Characteristics</ code > will also be updated when services and characteristics discovery is successful .
126+ When you see < code > ( not available ) < / c o d e > m e s s a g e i n t h e b o x , c h e c k i f t h e d e v i c e i s N O T s l e e p i n g ( a s l e e p i n g d e v i c e f a i l s t o r e s p o n d t o a c o n n e c t r e q u e s t ) a n d c l i c k < c o d e > A p p l y < / code> again .
130127< / p >
131128</ script >
0 commit comments