hi All
I am working on arm platform.
i am trying to play audio from infineon Bt chip on board on my headset.
when I press button on headset it asks for the authorisation on board console.
and comes out with an error as
audio[308]: Requesting authorization for device 00:0F:DE:B1:02:42, UUID 00001112-0000-1000-8000-00805F9B34FB
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_DISCONNECTED -> HEADSET_STATE_CONNECT_IN_PROGRESS
audio[308]: Access denied: Not authorized
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_CONNECT_IN_PROGRESS -> HEADSET_STATE_DISCONNECTED
when I play audio using
[root@OMAP2EVM /]#aplay -D bluetooth -f S16_LE test.raw
audio[308]: Accepted new client connection on unix socket
(fd=9)
audio[308]: Audio API: received BT_GETCAPABILITIES_REQ
audio[308]: Audio API: sending BT_GETCAPABILITIES_RSP
Playing WAVE 'test.raw' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
audio[308]: Audio API: received BT_SETCONFIGURATION_REQ
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_DISCONNECTED -> HEADSET_STATE_CONNECT_IN_PROGRESS
Passkey request for device 00:0F:DE:B1:02:42
audio[308]: /org/bluez/audio/device0: Connecting to 00:0F:DE:B1:02:42 channel 1
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_CONNECT_IN_PROGRESS -> HEADSET_STATE_CONNECTED
audio[308]: /org/bluez/audio/device0: Connected to 00:0F:DE:B1:02:42
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_CONNECTED -> HEADSET_STATE_PLAY_IN_PROGRESS
audio[308]: Received AT*ECBP=?
audio[308]: Error handling command AT*ECBP=?: Invalid argument (22)
audio[308]: SCO socket opened for headset
/org/bluez/audio/device0
audio[308]: SCO fd=11
audio[308]: Audio API: sending BT_SETCONFIGURATION_RSP
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_PLAY_IN_PROGRESS -> HEADSET_STATE_PLAYING
audio[308]: Audio API: received BT_STREAMSTART_REQ
audio[308]: Audio API: sending BT_STREAMSTART_RSP
audio[308]: Audio API: sending BT_STREAMFD_IND
audio[308]: Unix client disconnected (fd=9)
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_PLAYING -> HEADSET_STATE_DISCONNECTED
my hcid sdpd, bluetooth-audio-service are running.
What can do to make the access authorised?
Can any one help me in this?
Thanks and Best regards