EasyManua.ls Logo

NXP Semiconductors UM11490 - Page 52

NXP Semiconductors UM11490
88 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
Play and pause the audio
Use bluetooth-player to play and pause the audio.
root@imx8mqevk:~# bluetooth-player
[NEW] Player /org/bluez/hci0/dev_B4_F5_00_31_CB_4E/player0
[default]
[NEW] Folder /org/bluez/hci0/dev_B4_F5_00_31_CB_4E/player0
[NEW] Item /org/bluez/hci0/dev_B4_F5_00_31_CB_4E/player0/
NowPlaying
/NowPlaying
[NEW] Item /org/bluez/hci0/dev_B4_F5_00_31_CB_4E/player0/
NowPlaying/item3
<unknown>
[NEW] Item
/org/bluez/hci0/dev_B4_F5_00_31_CB_4E/player0/
NowPlaying/item18446744073709551615
<unknown>
[NEW] Item /org/bluez/hci0/dev_B4_F5_00_31_CB_4E/player0/
Filesystem
/Filesystem
[NEW] Item /org/bluez/hci0/dev_B4_F5_00_31_CB_4E/player0/
Filesystem/item4
/Filesystem/All Songs
[NEW] Item /org/bluez/hci0/dev_B4_F5_00_31_CB_4E/player0/
Filesystem/item3
/Filesystem/Playlists
[NEW] Item /org/bluez/hci0/dev_B4_F5_00_31_CB_4E/player0/
Filesystem/item2
/Filesystem/Artists
[NEW] Item /org/bluez/hci0/dev_B4_F5_00_31_CB_4E/player0/
Filesystem/item1
/Filesystem/Albums
[bluetooth]#
[bluetooth]# pause
Attempting to pause
Pause successful
[CHG] Player /org/bluez/hci0/dev_B4_F5_00_31_CB_4E/player0
Status:
paused
[CHG] Player /org/bluez/hci0/dev_B4_F5_00_31_CB_4E/player0
Position:
0x1e9e84
[bluetooth]# play
Attempting to play
Play successful
[bluetooth]#
Disconnect the device using bluetoothctl command line interface
root@imx8mqevk:~# bluetoothctl
[Moto E]# disconnect B4:F5:00:31:CB:4E
Attempting to disconnect from B4:F5:00:31:CB:4E
[CHG] Device B4:F5:00:31:CB:4E ServicesResolved: no
Successful disconnected
[CHG] Device B4:F5:00:31:CB:4E Connected: no
[bluetooth]#
UM11490 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 2 — 29 January 2021
52 / 88

Table of Contents

Related product manuals