| 9480e8c7 |
mgmt: fix DBG string format |
Frédéric Danis |
14 years ago |
1 file, +1, -1 |
| 54afb50e |
Initial device found cleanup
Moves EIR parsing call and stored name loading to adapter. This patch
doesn't change the implemented logic, it is only the initial step to
integrated inquiry results and LE advertises. |
Claudio Takahasi |
14 years ago |
3 files, +64, -70 |
| 991a7a4f |
Move EIR related functions to a new file |
Claudio Takahasi |
14 years ago |
6 files, +369, -305 |
| 3a4be695 |
Fix a crash when creating a device from storage
The list "services" is just a list of the object paths of the
registered services that a device has. When we want to store
the primary services information we need to store the "primaries"
list, that contain all the primary services information. |
Vinicius Costa Gomes |
14 years ago |
1 file, +1, -1 |
| b4ddb8a8 |
Remove unused DISC_* macros |
Andre Guedes |
14 years ago |
1 file, +0, -7 |
| 1658f3bd |
Remove unnecessary headers from main.c |
Claudio Takahasi |
14 years ago |
1 file, +1, -4 |
| 2eb13b86 |
Remove unused "scan" variable from main_opts |
Claudio Takahasi |
14 years ago |
2 files, +0, -2 |
| bbf21e61 |
Document new "hex-encoded pins" feature |
David Herrmann |
14 years ago |
1 file, +7, -1 |
| 966e12d1 |
Remove 16 byte limit for PIN codes returned by agents
Agents can now return PIN codes longer than 16 characters. The
pin parser automatically truncates all PINs to 16 characters, but
allows hexadecimal PINs to be longer than 16 characters because
each two hexdecimal encoded bytes are parsed into one output byte. |
David Herrmann |
14 years ago |
1 file, +1, -1 |
| c70a4afe |
Parse pin codes starting with '$' as hexadecimal encoded strings
If a pin code is retrieved from an agent and the first character is
a dollar sign '$', then the pin is decoded as following:
- The first character (dollar sign) is stripped from the pin
- The rest is parsed as hexadecimal numbers, where each two characters
will be converted into a one byte integer. If an odd number of
characters follows, then the last character is stripped.
Parser is case insensitive. Pins not starting with '$' are parsed
as usual.
For instance:
pin: $0A3e005067
is decoded into a 5 byte pin:
decoded: 0x0a 0x3e 0x00 0x50 0x67 |
David Herrmann |
14 years ago |
1 file, +32, -3 |
| 90e0b59b |
Make adapter API accept binary pincodes
Add pin-length argument to adapter API to allow passing binary pins
containing \0 characters to the hci handler. |
David Herrmann |
14 years ago |
3 files, +7, -6 |
| 2d59b9b4 |
Add length argument to hci pincode reply
This adds a new "length" argument to the hci pincode reply to allow
sending binary pins including \0 characters. |
David Herrmann |
14 years ago |
4 files, +13, -12 |
| c33d0214 |
Update params description of PIN Code Request |
Waldemar Rymarkiewicz |
14 years ago |
1 file, +2, -0 |
| 20765743 |
Fix unused variable warnings reported by GCC 4.6 |
Johan Hedberg |
14 years ago |
14 files, +61, -46 |
| 0e047a18 |
sbc: Remove unused variable |
Johan Hedberg |
14 years ago |
1 file, +1, -2 |
| 9c7a6a48 |
btio: Fix unused variable warning |
Johan Hedberg |
14 years ago |
1 file, +4, -2 |
| 10a03501 |
Report error if read failed in bluetooth_playback_poll_revents |
Szymon Janc |
14 years ago |
1 file, +2, -2 |
| a834df8c |
Report error from ioctl in bnep_if_down
Make bnep_if_down report error from ioctl similar to bnep_if_up. |
Szymon Janc |
14 years ago |
1 file, +5, -0 |
| 5cfe640e |
Remove unused discoverable variable from mgmt_update_powered |
Szymon Janc |
14 years ago |
1 file, +1, -3 |
| 0738d9b9 |
Remove not needed NULL check in sdp_gen_pdu |
Szymon Janc |
14 years ago |
1 file, +1, -1 |
| 3c07ee55 |
Remove unused result variable from g_dbus_pending_success |
Szymon Janc |
14 years ago |
1 file, +1, -2 |
| b671636c |
Remove unused err variable from init_conn_list |
Szymon Janc |
14 years ago |
1 file, +1, -3 |
| 5315250b |
Fix check for negative port number in tcp_socket_connect |
Szymon Janc |
14 years ago |
1 file, +1, -2 |
| 6dc1643c |
Disconnect headset when not able to reply with ERROR command |
Szymon Janc |
14 years ago |
1 file, +2, -0 |
| 50f06712 |
Fix callbacks numbering in connect_cb_new from audio/headset.c |
Szymon Janc |
14 years ago |
1 file, +1, -1 |
| 4ccf324d |
Validate if sending reply succeed in control_cb |
Szymon Janc |
14 years ago |
1 file, +2, -0 |
| 51d73841 |
Remove unused variable svclass from hf_io_cb |
Szymon Janc |
14 years ago |
1 file, +0, -2 |
| 0c5f0168 |
Remove unused op variable from encode_discover_primary |
Szymon Janc |
14 years ago |
1 file, +0, -3 |
| 984260d9 |
Remove unused remote_type variable from a2dp_config |
Szymon Janc |
14 years ago |
1 file, +2, -6 |
| 04ff02f9 |
Remove unused discoverable variables from adapter code |
Szymon Janc |
14 years ago |
1 file, +0, -6 |
| 582d8464 |
Fix minor code style issue in write_key |
Szymon Janc |
14 years ago |
1 file, +2, -1 |
| e9119eb4 |
Fix minor code style issue in channel_write |
Szymon Janc |
14 years ago |
1 file, +0, -1 |
| 2c68908c |
Fix error check from write in channel_write |
Szymon Janc |
14 years ago |
1 file, +1, -1 |
| 61d0747e |
Fix dead increments and assignments in sdp code |
Szymon Janc |
14 years ago |
3 files, +2, -16 |
| 995e8b35 |
Fix dead assignment in write_key |
Szymon Janc |
14 years ago |
1 file, +5, -5 |
| 31079f3b |
Fix dead assignment in channel_write |
Szymon Janc |
14 years ago |
1 file, +1, -1 |
| e37b81fa |
Remove not needed NULL check in link_key_notify
get_connection() always returns valid pointer so conn cannot be NULL. |
Szymon Janc |
14 years ago |
1 file, +1, -1 |
| 906879b7 |
Fix garbage return value in send_req |
Szymon Janc |
14 years ago |
1 file, +3, -1 |
| d6ee6f16 |
Fix garbage return value in gst_avdtp_sink_audioservice_recv |
Szymon Janc |
14 years ago |
1 file, +1, -1 |
| 0f27847f |
Fix potential NULL pointer dereference in sdp_get_lang_attr |
Szymon Janc |
14 years ago |
1 file, +25, -16 |
| 31d63d55 |
Remove not needed GError* assignements to NULL |
Szymon Janc |
14 years ago |
1 file, +0, -3 |
| 2d71ac6b |
Fix error checking in headset_probe()
sdp_get_proto_port() may return negative value on errors. With channel
as uint8_t check for errors was always false. |
Szymon Janc |
14 years ago |
1 file, +1, -1 |
| 78385d32 |
Make devices list static in input/device.c |
Szymon Janc |
14 years ago |
1 file, +1, -1 |
| 11e433f5 |
Fix redundant null check on calling free() |
Szymon Janc |
14 years ago |
3 files, +9, -16 |
| 18de55c8 |
Simplify condition check in adapter_get_agent |
Szymon Janc |
14 years ago |
1 file, +1, -1 |
| 3948fb11 |
Fix empty parameter list in functions declarations
Use foo(void) instead of foo() for parameterless functions declaration.
This allows compiler to check if foo is called without parameters. |
Szymon Janc |
14 years ago |
8 files, +12, -12 |
| 24c6dee3 |
Remove redundant local copy of GSlist* from functions
Those functions already get copy of pointer to list so local copy is
not needed. |
Szymon Janc |
14 years ago |
11 files, +36, -68 |
| f8937ef1 |
Fix possible NULL pointer dereference in headset_server_init |
Szymon Janc |
14 years ago |
1 file, +5, -2 |
| 3d586da1 |
Fix C++ style comments |
Szymon Janc |
14 years ago |
7 files, +57, -53 |
| 0b9e64be |
Clean up __btd_log_init function |
Szymon Janc |
14 years ago |
1 file, +1, -11 |