Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 We can pair remote using Controller UI via Bluetooth Control panel. The scan is initiated from UI and once remote is detected we can pair it. Whether the remote is paired or not can be verified using curl request. 

  • On the BluetoothControl UI, click on scan button to initiate scanning and till scanning is completed.
  • Once the remote is detected, click on Pair button to pair it with the device.
  •  Once remote is paired , we can assign the remote to the device. Click on Assign  button to assign the remote.

...

After scan, UI list out the available bluetooth devices, select Remote based on the MAC address of the remote.

Whether the remote is paired or not can be verified using curl request.

Eg:

root@raspberrypi-rdk-hybrid-thunder:~# curl --data-binary '{"jsonrpc": "2.0", "id": 1234567890, "method": "BluetoothControl.1.device@04:EE:03:78:39:DB" }' -H 'content-type:text/plain;' http://192.168.2.101/jsonrpc

{"jsonrpc":"2.0","id":1234567890,"result":{"name":"Notus S2","type":"LowEnergy","connected":true,"paired":true}}root@raspberrypi-rdk-hybrid-thunder:~#root@raspberrypi-rdk-hybrid-thunder:~#

...