Announcement

Collapse
No announcement yet.

BlueZ 5.10 Gets OBEX Command Line Client

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • phoronix
    started a topic BlueZ 5.10 Gets OBEX Command Line Client

    BlueZ 5.10 Gets OBEX Command Line Client

    Phoronix: BlueZ 5.10 Gets OBEX Command Line Client

    A new release of BlueZ is out that projects a command-line client for its Bluetooth OBject EXchange support...

    http://www.phoronix.com/vr.php?view=MTQ4NjQ

  • Ericg
    replied
    Originally posted by TheCycoONE View Post
    Since the topic is Bluez 5, does anyone have a good solution for autostarting paired devices when they're available that works with bluez 5? I use to use blueman but it's not compatible.

    Preferably the solution wouldn't be graphical or tied to a particular desktop - the system is a media center that runs openbox but autostarts into xbmc. I have a bluetooth keyboard that I was using with it.

    Edit:
    System is ArchLinux, so I have udev and systemd at my disposal.
    Not sure what the format would be but you could write a 'oneshot' systemd unit that depends upon bluetooth.

    example:

    Code:
    [Unit]
    Description=Set %i interface in promiscuous mode
    After=network.target
    
    [Service]
    Type=oneshot
    ExecStart=/usr/bin/ip link set dev %i promisc on
    RemainAfterExit=yes
    
    [Install]
    WantedBy=multi-user.targe
    Change after to be bluetooth.target if there is one, otherwise maybe set it to be after bluetooth.service? Keep the type to be one shot, ExecStart would be whatever the command is to pair the devices via command line. Keep the install section. RemainAfterExit i dont know if it would be yes or no for this.

    Leave a comment:


  • TheCycoONE
    replied
    automatic hciconfig up

    Since the topic is Bluez 5, does anyone have a good solution for autostarting paired devices when they're available that works with bluez 5? I use to use blueman but it's not compatible.

    Preferably the solution wouldn't be graphical or tied to a particular desktop - the system is a media center that runs openbox but autostarts into xbmc. I have a bluetooth keyboard that I was using with it.

    Edit:
    System is ArchLinux, so I have udev and systemd at my disposal.

    Leave a comment:

Working...
X