device: don't always use long messages for protocol 1.0
This commit is contained in:
parent
dc3f70ff86
commit
689d57d097
|
@ -433,7 +433,7 @@ class Device(object):
|
||||||
request_id,
|
request_id,
|
||||||
*params,
|
*params,
|
||||||
no_reply=no_reply,
|
no_reply=no_reply,
|
||||||
long_message=True # use long messages for all requests - was self.bluetooth
|
long_message=self.bluetooth or self.protocol >= 2.0
|
||||||
)
|
)
|
||||||
|
|
||||||
def feature_request(self, feature, function=0x00, *params, no_reply=False):
|
def feature_request(self, feature, function=0x00, *params, no_reply=False):
|
||||||
|
|
Loading…
Reference in New Issue