aboutsummaryrefslogtreecommitdiffstats
path: root/java_fat
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-09-15 16:03:45 +0200
committerSven Gothel <[email protected]>2021-09-15 16:03:45 +0200
commit6a2d7770ebb3a20366239d5c1127a90c5dde71f7 (patch)
tree92a2fa9b808c1d253852ed5cb9bcd5fab17cd1c9 /java_fat
parent96e212cee8b0164107d137fcce62f5c36a749f2e (diff)
BTAdapter/HCIHandler Refine advertising/discovery state validation
HCIHandler advertising: Allow start/enable/disable even if already advertising BTAdapter/HCIHandler start- or enable advertising: Fail start/enable if having open/pending connections or discovery is active, BTAdapter/HCIHandler disabling advertising always allowed. BTAdapter/HCIHandler start- or enable discovery: Fail start/enable if advertising is active. BTAdapter/HCIHandler disabling discovery always allowed. +++ BTAdapter::poweredOff(bool active) now used to align passive (active = false) state reset for methods if !isPowered(). +++ Rename C++ BTAdapter::[getDiscovering() -> isDiscovering()] Add Java BTAdapter::isDiscovering() (Aligned with isAdvertising())
Diffstat (limited to 'java_fat')
0 files changed, 0 insertions, 0 deletions