[Bug 1868693] Re: Incorrect advertise flags in bluetooth beacon using BlueZ

2020-04-28 Thread Daniel van Vugt
** No longer affects: ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868693

Title:
   Incorrect advertise flags in bluetooth beacon using BlueZ

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1868693/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868693] Re: Incorrect advertise flags in bluetooth beacon using BlueZ

2020-04-24 Thread abdul
** Package changed: linux (Ubuntu) => ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868693

Title:
   Incorrect advertise flags in bluetooth beacon using BlueZ

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1868693/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868693] Re: Incorrect advertise flags in bluetooth beacon using BlueZ

2020-03-25 Thread Sebastien Bacher
Would be useful to report to upstream bluez

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868693

Title:
   Incorrect advertise flags in bluetooth beacon using BlueZ

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1868693/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868693] Re: Incorrect advertise flags in bluetooth beacon using BlueZ

2020-03-25 Thread Daniel van Vugt
OK. I can't tell yet but in case this bug is caused by your Bluetooth
driver I'll also include the kernel here.

** Changed in: bluez (Ubuntu)
   Status: Incomplete => New

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868693

Title:
   Incorrect advertise flags in bluetooth beacon using BlueZ

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1868693/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868693] Re: Incorrect advertise flags in bluetooth beacon using BlueZ

2020-03-25 Thread abdul
@vanvugt , I installed nRF connect app on android phone. When it detects my 
machine's bluetooth, it shows advertisement flags. In case of 0x02, only bit 1 
(LE GeneralDiscoverable Mode ) is set. 
Where as , when controller mode is set to be "le" , bit 2 (BR/EDR not 
supported) should also be set to make it 0x06. 

Thanks for your help.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868693

Title:
   Incorrect advertise flags in bluetooth beacon using BlueZ

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1868693/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868693] Re: Incorrect advertise flags in bluetooth beacon using BlueZ

2020-03-24 Thread Daniel van Vugt
Can you please clarify how to reproduce and test the statements:

"I get 0x02 advertisement flag"

"I get 0x06 advertisement flags"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868693

Title:
   Incorrect advertise flags in bluetooth beacon using BlueZ

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1868693/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868693] Re: Incorrect advertise flags in bluetooth beacon using BlueZ

2020-03-24 Thread abdul
apport information

** Tags added: apport-collected bionic

** Description changed:

  I tried the following on bluex version 5.48 and 5.52.
  
  I have set ControllerMode to "le" in main.conf.
  
  Using bluetootctl, when i turn on the advertisement using command
  "advertise on" ,
  
  I get 0x02 advertisement flag. which means "BR/EDR Not Supported" (Bit
  2) is not set.
  
  
  Now , if i restart the bluetooth service, and turn on the advertisement 
again, I get 0x06 advertisement flags.
  
  
  Here is my main.conf
  
  [General]# Default adaper name
  # Defaults to 'BlueZ X.YZ'
  #Name = BlueZ# Default device class. Only the major and minor device class 
bits are
  # considered. Defaults to '0x00'.
  Class = 0x000100# How long to stay in discoverable mode before going back to 
non-discoverable
  # The value is in seconds. Default is 180, i.e. 3 minutes.
  # 0 = disable timer, i.e. stay discoverable forever
  DiscoverableTimeout = 0# How long to stay in pairable mode before going back 
to non-discoverable
  # The value is in seconds. Default is 0.
  # 0 = disable timer, i.e. stay pairable forever
  #PairableTimeout = 0# Automatic connection for bonded devices driven by 
platform/user events.
  # If a platform plugin uses this mechanism, automatic connections will be
  # enabled during the interval defined below. Initially, this feature
  # intends to be used to establish connections to ATT channels. Default is 60.
  #AutoConnectTimeout = 60# Use vendor id source (assigner), vendor, product 
and version information for
  # DID profile support. The values are separated by ":" and assigner, VID, PID
  # and version.
  # Possible vendor id source values: bluetooth, usb (defaults to usb)
  #DeviceID = bluetooth:1234:5678:abcd# Do reverse service discovery for 
previously unknown devices that connect to
  # us. This option is really only needed for qualification since the BITE 
tester
  # doesn't like us doing reverse SDP for some test cases (though there could in
  # theory be other useful purposes for this too). Defaults to 'true'.
  #ReverseServiceDiscovery = true# Enable name resolving after inquiry. Set it 
to 'false' if you don't need
  # remote devices name and want shorter discovery cycle. Defaults to 'true'.
  #NameResolving = true# Enable runtime persistency of debug link keys. Default 
is false which
  # makes debug link keys valid only for the duration of the connection
  # that they were created for.
  #DebugKeys = false# Restricts all controllers to the specified transport. 
Default value
  # is "dual", i.e. both BR/EDR and LE enabled (when supported by the HW).
  # Possible values: "dual", "bredr", "le"
  ControllerMode = le# Enables Multi Profile Specification support. This allows 
to specify if
  # system supports only Multiple Profiles Single Device (MPSD) configuration
  # or both Multiple Profiles Single Device (MPSD) and Multiple Profiles 
Multiple
  # Devices (MPMD) configurations.
  # Possible values: "off", "single", "multiple"
  #MultiProfile = off# Permanently enables the Fast Connectable setting for 
adapters that
  # support it. When enabled other devices can connect faster to us,
  # however the tradeoff is increased power consumptions. This feature
  # will fully work only on kernel version 4.1 and newer. Defaults to
  # 'false'.
  #FastConnectable = false[Policy]# The ReconnectUUIDs defines the set of 
remote services that should try
  # to be reconnected to in case of a link loss (link supervision
  # timeout). The policy plugin should contain a sane set of values by
  # default, but this list can be overridden here. By setting the list to
  # empty the reconnection feature gets disabled.
  #ReconnectUUIDs=1112--1000-8000-00805f9b34fb, 
111f--1000-8000-00805f9b34fb, 110a--1000-8000-00805f9b34fb# 
ReconnectAttempts define the number of attempts to reconnect after a link
  # lost. Setting the value to 0 disables reconnecting feature.
  #ReconnectAttempts=7# ReconnectIntervals define the set of intervals in 
seconds to use in between
  # attempts.
  # If the number of attempts defined in ReconnectAttempts is bigger than the
  # set of intervals the last interval is repeated until the last attempt.
  #ReconnectIntervals=1, 2, 4, 8, 16, 32, 64# AutoEnable defines option to 
enable all controllers when they are found.
  # This includes adapters present on start as well as adapters that are plugged
  # in later on. Defaults to 'false'.
  AutoEnable=true
  
  
  And bluetooth.service
  
  [Unit]
  Description=Bluetooth service
  Documentation=man:bluetoothd(8)
  ConditionPathIsDirectory=/sys/class/bluetooth[Service]
  Type=dbus
  BusName=org.bluez
  ExecStart=/usr/libexec/bluetooth/bluetoothd -d -n --configfile 
/etc/bluetooth/main.conf
  NotifyAccess=main
  #WatchdogSec=10
  #Restart=on-failure
  CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
  LimitNPROC=1
  ProtectHome=true
  ProtectSystem=full[Install]
  WantedBy=bluetooth.target
  Alias=dbus

[Bug 1868693] Re: Incorrect advertise flags in bluetooth beacon using BlueZ

2020-03-24 Thread Daniel van Vugt
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Please execute the following command only once, as it
will automatically gather debugging information, in a terminal:

apport-collect 1868693

When reporting bugs in the future please use apport by using 'ubuntu-
bug' and the name of the package affected. You can learn more about this
functionality at https://wiki.ubuntu.com/ReportingBugs.

** Changed in: bluez (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868693

Title:
   Incorrect advertise flags in bluetooth beacon using BlueZ

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1868693/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs