Jump to content

How to use UBUS commands for Bluetooth device scanning / pairing: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 5: Line 5:
* Enable Bluetooth in Web UI menu '''Network -> Bluetooth -> General'''. Click ''"Save&Apply"''.
* Enable Bluetooth in Web UI menu '''Network -> Bluetooth -> General'''. Click ''"Save&Apply"''.
    
    
* Login using [[CLI]] and run this command to start Bluetooth scan:
* Login using [[CLI]] and run '''scan.start''' command to start Bluetooth scan:


  ---
  ---
Line 11: Line 11:
  ---
  ---


Skanavimo rezultatų gavimas siunčiant ubus komandą:
* To see scan results, use command '''scan.result''':


ubus call blesem scan.result
---
ubus call blesem scan.result
---


Kuri parodys sąrašą tokiu formatu:
Kuri parodys sąrašą tokiu formatu: