RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
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.
...
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:~# |
---|
...