mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
java: fix build
This commit is contained in:
parent
17348a8fb5
commit
09f429629a
@ -325,6 +325,9 @@ def create_event(event_name, format, args):
|
|||||||
|
|
||||||
def event_supported(event_name):
|
def event_supported(event_name):
|
||||||
parts = event_name.split('_')
|
parts = event_name.split('_')
|
||||||
|
# skip gap subevents
|
||||||
|
if event_name.startswith("GAP_SUBEVENT"):
|
||||||
|
return False
|
||||||
return parts[0] in ['ATT', 'BTSTACK', 'DAEMON', 'L2CAP', 'RFCOMM', 'SDP', 'GATT', 'GAP', 'HCI', 'SM', 'BNEP']
|
return parts[0] in ['ATT', 'BTSTACK', 'DAEMON', 'L2CAP', 'RFCOMM', 'SDP', 'GATT', 'GAP', 'HCI', 'SM', 'BNEP']
|
||||||
|
|
||||||
def class_name_for_event(event_name):
|
def class_name_for_event(event_name):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user