Versions Compared

Key

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

...

  • On the BluetoothControl UI, click on scan button to initiate scanning and till scanning is completed.
  • Image Added

After scan, UI list out the available bluetooth devices, select Remote based on the MAC address of the remote. After scanning if the device is not listed in drop down window, reload Controller UI once.

Image Added

  • Once the remote is detected, click on Pair button to pair it with the device. To check whether paired or not reload Controller UI once.

Image Added

  •  Once remote is paired , we can assign connect the remote to the device. Click on Assign  Connect  button to assign connect the remote.

Image Removed

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

Image Removed

Image Added


  •  Once remote is connected , we can assign the remote to the device. Click on Assign  button to assign the remote.

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


Eg:

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

 curl 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.21.1016/jsonrpc

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

...