Qiao Yang
df218b5370
LICENCE: recorde colors.py licence
2023-04-05 19:02:44 +00:00
Alan Rosenthal
0f737244b5
Merge pull request #169 from AlanRosenthal/alan/remote-values
...
Add `show remote-values`
2023-04-05 09:00:48 -04:00
Alan Rosenthal
a258ba383a
Add show remote-values
...
`gatt_client` caches values read/notifications/indications and displays the most recent value to the user
2023-04-04 18:15:42 +00:00
Gilles Boccon-Gibod
c53e1d2480
Merge pull request #171 from google/gbg/keystore-name
...
use device public or static address for keystore namespace
2023-04-03 17:58:18 -07:00
Gilles Boccon-Gibod
620c135ac4
only instantiate keystore if not already set
2023-04-03 17:52:51 -07:00
Gilles Boccon-Gibod
fca73a49a3
use device public or static address for keystore namespace
2023-04-03 12:39:22 -07:00
Alan Rosenthal
cf70db84a1
Merge pull request #170 from AlanRosenthal/alan/fix-char-proxy-print
...
Fix CharacteristicProxy __str__
2023-03-31 17:25:50 -04:00
Alan Rosenthal
7731c41f80
Fix CharacteristicProxy __str__
...
property was really an int, and needed to be transformed into a `Characteristic.Properties`
2023-03-31 17:06:33 -04:00
Alan Rosenthal
278341cbc0
Merge pull request #167 from AlanRosenthal/alan/properties
...
Create Characteristic.Property
2023-03-31 16:14:38 -04:00
Alan Rosenthal
fb49a87494
Create Characteristic.Property
...
Move all Characteristic properties into its own `enum.IntFlag` class
2023-03-31 16:09:24 -04:00
Alan Rosenthal
eba82b9d9a
Merge pull request #164 from AlanRosenthal/alan/local-write
...
Add `local-write` to bumble-console
2023-03-31 16:07:09 -04:00
Alan Rosenthal
677fc77d3c
Merge pull request #163 from AlanRosenthal/alan/local-values
...
Add `show local-values`
2023-03-31 16:03:52 -04:00
Alan Rosenthal
e026de295f
Add show local-values
...
This PR adds a way to display the local gatt characteristics/descriptors values
If no connections, it shows the value of every characteristic/descriptor.
When there's a connection, it shows the value for each specific connection - CCCDs are connection specific
This screen auto-updates every second
2023-03-31 00:20:07 +00:00
Alan Rosenthal
52c15705e9
Add local-write to bumble-console
...
Add a command to update the local gatt server, and notify/indicate subscribes (if any)
2023-03-30 12:33:32 -04:00
Lucas Abel
45ca0ef071
Merge pull request #166 from google/uael/att-fix
...
att: fixed use of unknown attribute
2023-03-30 07:12:28 -07:00
uael
e0af954baa
att: fixed use of unknown attribute
2023-03-30 14:05:43 +00:00
Lucas Abel
044597de66
Merge pull request #161 from google/uael/smp-get-number-type-hint
...
smp: fix `PairingDelegate.get_number` return type
v0.0.147
2023-03-28 11:48:09 -07:00
Lucas Abel
fb68fa6a33
Merge pull request #162 from zxzxwu/roleswitch
...
Add role switch test and assertion in self test
2023-03-28 06:41:03 -07:00
Josh Wu
b6fe7460ac
Add role switch test and assertion in self test
2023-03-28 12:52:00 +08:00
Lucas Abel
5c59b6ca6d
Merge pull request #158 from benquike/main
...
Fix HCI_PIN_Code_Reply_Command
2023-03-27 17:37:54 -07:00
Hui Peng
dcd66743f6
Use delegate.get_string to get pin code
2023-03-27 17:08:26 -07:00
Hui Peng
423a5a95d8
add get_string API in PairingDelegate
2023-03-27 17:02:12 -07:00
Lucas Abel
6f1f185642
Merge pull request #155 from akuker/main
...
Fix typo in console header
2023-03-27 16:16:27 -07:00
Lucas Abel
8e881fdb18
smp: fix PairingDelegate.get_number return type
...
This function can return `None` to indicate a negative reply,
update the type hint accordingly.
2023-03-27 22:51:23 +00:00
Lucas Abel
4907022398
Merge pull request #157 from yuyangh/main
...
Add connection into event emit
2023-03-27 14:38:41 -07:00
Lucas Abel
e93f71c035
Add missing Connection import
2023-03-27 14:27:48 -07:00
Alan Rosenthal
94ff80563b
Merge pull request #160 from AlanRosenthal/alan/types
...
Add some missing types to apps/console.py, bumble/gatt_client.py
2023-03-27 15:00:03 -04:00
Lucas Abel
552deab8a7
Add Connection type
...
Co-authored-by: Alan Rosenthal <1288897+AlanRosenthal@users.noreply.github.com >
2023-03-27 11:53:34 -07:00
Lucas Abel
a72beb1b06
Merge pull request #144 from zxzxwu/classic_link
...
Add Classic Bluetooth link support
2023-03-27 11:41:42 -07:00
Lucas Abel
7e62d4a81a
Merge pull request #150 from zxzxwu/roleswitch
...
Support BR/EDR role switch & change events
2023-03-27 11:41:29 -07:00
Alan Rosenthal
a50181e6b8
Add some missing types to apps/console.py, bumble/gatt_client.py
...
Added via code inspection (not via a tool like pytype)
2023-03-25 16:12:38 +00:00
Josh Wu
9e1358536b
Add switch_role
2023-03-25 15:17:50 +08:00
Josh Wu
21d8a0d577
Add Classic Local Link support
...
Currently supported features:
* Connect
* Accept
* Switch Role
* Disconnect
* ACL data transmittion
2023-03-25 15:11:59 +08:00
Hui Peng
a8e61673d0
Fix HCI_PIN_Code_Reply_Command in Device.on_pin_code_request
2023-03-25 03:48:56 +00:00
Hui Peng
bd25cf27df
Fix a misconfig of HCI_PIN_Code_Reply_Command
...
The pin_code field is of fixed length of 16 bytes
2023-03-25 03:47:07 +00:00
Alan Rosenthal
fdf2da7023
Merge pull request #159 from AlanRosenthal/alan/permissions
...
Fix typo when parsing device-config's gatt server
2023-03-24 19:33:05 -04:00
Alan Rosenthal
dfb6734324
Fix typo when parsing device-config's gatt server
...
* 'permission' instead of 'permissions'
* Also added a more user friendly error message when Attribute.string_to_permissions fails
```
TypeError: Attribute::permissions error:
Expected a string containing any of the keys, seperated by commas: READABLE,WRITEABLE,READ_REQUIRES_ENCRYPTION,WRITE_REQUIRES_ENCRYPTION,READ_REQUIRES_AUTHENTICATION,WRITE_REQUIRES_AUTHENTICATION,READ_REQUIRES_AUTHORIZATION,WRITE_REQUIRES_AUTHORIZATION
Got: 1
```
```
Exception: Error parsing Device Config's GATT Services. The key 'permission' must be renamed to 'permissions'
```
2023-03-24 16:11:18 -04:00
Yuyang Huang
51ae6a5969
Add connection into event emit
2023-03-24 11:16:10 -07:00
Josh Wu
4fc13585cc
Handle BR/EDR connection roles
2023-03-24 15:13:48 +08:00
Tony Kuker
c5e5397ed8
Fix typo in console header
2023-03-23 21:44:55 +00:00
Lucas Abel
4c6320f98a
Merge pull request #142 from AlanRosenthal/main
...
Fix small bug with services set via --device-config
v0.0.146
2023-03-23 12:47:14 -07:00
Lucas Abel
cc0d56ad14
Merge pull request #152 from duohoo/g722_decoder
...
Add G722 decoder with pure python implementation
2023-03-23 12:45:07 -07:00
Lucas Abel
0019fa8e79
Merge pull request #149 from yuyangh/yuyangh/add_ASHA_event_emit
...
Add ASHA event emitter
2023-03-23 12:44:42 -07:00
Lucas Abel
7ae1bf8959
Merge pull request #148 from yuyangh/yuyangh/add_audio_status_point
...
Add ASHA audio status point
2023-03-23 12:43:35 -07:00
Yuyang Huang
9541cb6db0
Add ASHA audio status point
2023-03-23 12:15:10 -07:00
Lucas Abel
1cd13dfc19
Merge pull request #153 from benquike/main
...
Add 1 bug fix and a few features in bumble
2023-03-23 10:31:02 -07:00
Hui Peng
d4346c3c9b
delegate the HCI_PIN_Code_Request event on host
2023-03-23 10:14:56 -07:00
Hui Peng
afe8765508
Add on_pin_code_request to support legacy BT classic pairing
2023-03-23 10:14:56 -07:00
Hui Peng
41d1772cb5
Add test for HCI_PIN_Code_Request_Reply_Command
2023-03-23 10:14:51 -07:00
Hui Peng
6e9078d60e
Add implemenetation of HCI_PIN_Code_Request_Reply_Command
2023-03-23 09:50:50 -07:00