Luiz Augusto von Dentz
e5e3c9ba9a
Add rule to allow sending messages to MediaPlayer interface
2011-10-28 15:15:45 +03:00
Dmitriy Paliy
d8e4938352
Fix incorrect use of atoi in maemo6
...
Use of atoi is incorrect and unsafe in maemo6 telephony and replaced
by g_ascii_digit_value.
2011-10-28 14:46:41 +03:00
Daniel Wagner
f8d1636fb0
main: Use glib signal handler
...
Writing anything to syslog in the signal hander is in danger
to deadlock with any ongoing syslog write (syslock is taking
a mutex). Fortunatly, BlueZ's signal handler doesn't do this,
therefore the change isn't strickly necessary, but the same changes
were done to oFono and ConnMan. So this patch streamlines BlueZ
with the other projects.
2011-10-28 14:01:54 +03:00
Lucas De Marchi
26204a61eb
Fix check for PDU size
...
Company ID became part of the avrcp header so its size is already
accounted in the AVRCP_HEADER_LENGTH define.
2011-10-28 14:00:42 +03:00
Johan Hedberg
24deedd46b
Add "discov" command to btmgmt
2011-10-27 22:06:04 +03:00
Johan Hedberg
767a52dfcf
Add btmgmt command line parameter to specify the adapter
2011-10-27 21:59:16 +03:00
Johan Hedberg
32e9f1025b
Fix exiting btmgmt when there are no adapters present
2011-10-27 21:55:57 +03:00
Johan Hedberg
38a5958740
Add more verbose logs to index list response in btmgmt
2011-10-27 17:06:26 +02:00
Johan Hedberg
7523618f39
Fix multiple read_info command sending in btmgmt
2011-10-27 17:05:56 +02:00
Johan Hedberg
e7c759d8e8
Add verbose mode switch to btmgmt
2011-10-27 16:30:29 +02:00
Johan Hedberg
8f3259169d
Fix error log message issues in btmgmt
2011-10-27 16:30:16 +02:00
Johan Hedberg
b4c1daad20
Add missing response length checks to btmgmt
2011-10-27 16:27:34 +02:00
Johan Hedberg
cf0807db84
Add support for multiple mgmt commands to btmgmt
2011-10-27 16:22:15 +02:00
Johan Hedberg
07b7627cb6
Use "hciN" convention when referring to adapters in btmgmt
2011-10-27 10:47:31 +02:00
Johan Hedberg
b269e3b973
Add "power" command to btmgmt
2011-10-27 10:43:06 +02:00
Johan Hedberg
2ae1673010
Only print command status when for monitor mode in btmgmt
2011-10-27 10:42:37 +02:00
Johan Hedberg
a0befeaf41
Fix sending correct command code in btmgmt
2011-10-27 10:41:47 +02:00
Johan Hedberg
4d9b694b0e
Add basic event and opcode string lookup to btmgmt
2011-10-26 23:15:39 +02:00
Johan Hedberg
a237c3a7f6
Clean up logging for btmgmt monitor mode
2011-10-26 22:50:47 +02:00
Johan Hedberg
68b5421b74
Add basic read_controller_info support to btmgmt
2011-10-26 17:51:50 +02:00
Johan Hedberg
7941078420
Add basic generic command handling to btmgmt
2011-10-26 12:01:47 +02:00
Johan Hedberg
34f0602093
Use PKG_CHECK_MODULES instead of (deprecated) AM_PATH_CHECK
2011-10-25 21:54:41 +03:00
Johan Hedberg
ec7b10ac59
Add basic event parsing to btmgmt
2011-10-25 23:33:11 +02:00
Johan Hedberg
34264e193c
Add basic event handling to btmgmt
2011-10-25 17:12:01 +02:00
Johan Hedberg
064ede0856
Add btmgmt to .gitignore
2011-10-25 17:10:52 +02:00
Johan Hedberg
748f540296
Add skeleton for btmgmt tool
2011-10-25 17:10:48 +02:00
Luiz Augusto von Dentz
6d130cd512
Fix calling g_io_channel_shutdown twice for a gateway connection
...
This happens in the following circumstance:
bluetoothd[30869]: audio/manager.c:hf_io_cb() Authorization denied!
(bluetoothd:30869): GLib-WARNING **: Invalid file descriptor.
Reported by Daniel Wagner <wagi@monom.org>
2011-10-25 10:40:01 +02:00
Johan Hedberg
9d387f4372
Convert unit tests from GLib to GNU Check
2011-10-25 10:08:07 +02:00
Andrei Emeltchenko
41ccb16f6c
Add get_le/get_be helpers
...
Helpers to access LE / BE values. In different Bluetooth
protocols/profiles there is a mixture of LE / BE byte order.
2011-10-25 10:07:58 +02:00
Johan Hedberg
7bcf9638e8
Make whitespace usage consistent in mgmt-api.txt
2011-10-24 22:48:14 +02:00
Johan Hedberg
ba69cd1fc8
mgmt: Rename Name Info command to match corresponding flag
2011-10-24 22:44:50 +02:00
Johan Hedberg
dfd9c98a9f
mgmt: Allow specifying discovery type for Start Discovery
2011-10-24 18:09:01 +02:00
Vinicius Costa Gomes
82b17d0d00
Add new command and event for LTK storage support
...
This documents the new command and event that are to be added to
the Management API to add support for persistent pairing of LE
devices.
2011-10-24 16:01:55 +02:00
Johan Hedberg
8459696920
Add device type to found and connected mgmt events
2011-10-24 14:25:58 +02:00
Johan Hedberg
0eeebf4747
Add User Passkey commands and events to mgmt
2011-10-24 14:25:34 +02:00
Johan Hedberg
a6c19f4ead
Rename mgmt key commands and events
2011-10-24 14:24:53 +02:00
Johan Hedberg
672fbbe419
Add timeout to Set Discoverable mgmt command
2011-10-24 14:14:53 +02:00
Johan Hedberg
890eb14f94
Update controller info command with current plan
2011-10-24 14:14:16 +02:00
Johan Hedberg
10cbe2aef3
Fix whitespace for fast connectable mgmt command doc
2011-10-24 12:56:55 +02:00
Johan Hedberg
ed4de024ef
Add (legacy) name resolution handling to mgmt API
2011-10-24 12:29:41 +02:00
Lucas De Marchi
557a8ae858
Unregister players' events when disconnected
2011-10-22 12:18:28 +02:00
Lucas De Marchi
fd8dda80fc
Fix leak of GTimer
2011-10-22 12:18:24 +02:00
Lucas De Marchi
ce8cd61098
Add missing TRACK-REACHED-START event
...
When track is changed, we automatically start to play it, therefore we
need to notify CT regarding this event.
2011-10-22 12:18:18 +02:00
Lucas De Marchi
1723fe2fb3
Fix handling of dbus signals
...
We're previously leaking a D-Bus message and always returning that
the signal was not handled.
2011-10-22 12:18:14 +02:00
Frédéric Danis
bb957be6a4
Add EIR length parameter to eir_parse()
...
LE uses shorter EIR (31 bytes) than HCI (240 bytes)
2011-10-21 13:35:01 +03:00
Andrei Emeltchenko
011c01ed8d
Add btohll / htobll macros
...
Handle 64 bit swap
2011-10-21 11:08:24 +03:00
Andrei Emeltchenko
b051c6708f
Add definitions for L2CAP fixed channels
2011-10-21 11:08:08 +03:00
Frédéric Danis
f19d434952
Simplify eir_parse_uuid* functions
2011-10-21 11:02:35 +03:00
Frédéric Danis
4002361816
Add unit/test-eir to .gitignore
2011-10-20 14:23:20 +03:00
Frédéric Danis
64e54c207e
Simplify eir_parse function
2011-10-20 13:18:54 +03:00