mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
java: temp ignore GATT_SERVICE subevents in generator
This commit is contained in:
parent
eb40c7db93
commit
50da9f2091
@ -327,8 +327,11 @@ def create_event(event_name, format, args):
|
||||
|
||||
def event_supported(event_name):
|
||||
parts = event_name.split('_')
|
||||
if parts[0] == 'GATT' and parts[1] == "SERVICE":
|
||||
return False
|
||||
if parts[0] in ['ATT', 'BTSTACK', 'DAEMON', 'L2CAP', 'RFCOMM', 'SDP', 'GATT', 'GAP', 'HCI', 'SM', 'BNEP']:
|
||||
return True
|
||||
return
|
||||
|
||||
def class_name_for_event(event_name):
|
||||
return parser.camel_case(event_name.replace('SUBEVENT','EVENT'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user