Giter Site home page Giter Site logo

desktopancs's Introduction

DesktopANCS

By Matt Schulte [email protected]

WARNING: This is still very much in alpha phase. Don't expect anything to work properly the first time. Open up any issues you have on github.

Intro

DesktopANCS is a way to get text and call notifications from your iPhone to your linux box without any app on the phone. It uses the ANCS Bluetooth Low Energy service on your iPhone and libnotify on your linux machine.

Requirements

  1. Linux machine with ble host
  2. Qt 5.7
  3. My modifications to the QtConnectivity library found here in the roleswitch branch. You will need to compile and install this library

Building

As long as you have qt 5.7 installed you should be able to just run

make

Usage

After cloning and compiling DesktopANCS please allow the binary to change the advertising status of your bluetooth adapter using

sudo setcap cap_net_raw+eip DesktopANCS

Then run

./DesktopANCS

On your iPhone go to Settings -> Bluetooth. DesktopANCS should tell you in its output what your computer's name is. When the name appears click to pair with it. Once its connected any call or text notifications should appear on your computer.

If you want this to run all the time you can install a user systemd service using

./install.sh

Please look through the script first and modified anything you don't want to happen. Its a super simple script.

Todo

  • Let the user configure which apps they want to come through
  • Deal with modified / read notifications
  • Show missed calls vs current calls
  • Enable actions
  • The list goes on and on...

desktopancs's People

Contributors

schultetwin1 avatar

Stargazers

Rudra Pednekar avatar  avatar Ryan Hill avatar Paul F avatar Bailey Townsend avatar Thomas Wemyss avatar Victoria Brekenfeld avatar Jason Todd avatar Leanid Veraksa avatar Bhaskar Tallamraju avatar Anders Eriksson avatar Daniël Emmery avatar Sean Stevens avatar Nikolaos Anastopoulos avatar Jamie Zhang avatar MOZGIII avatar Miko avatar  avatar  avatar Kyle Smith avatar

Watchers

James Cloos avatar  avatar  avatar

desktopancs's Issues

Compilation error of the QtConnectivity library

Hello I am running on Fedora 30. I was looking for a long time for this functionality.. great job...
Anyway I am facing issues when try to compile the QtConnectivity library.. I am getting serveral errors like the following.. perhaps I am doing something wrong.. Is there any more detailed installation guide?

qlowenergycontroller_bluez.cpp: In member function ‘void QLowEnergyControllerPrivate::connectToDevice()’:
qlowenergycontroller_bluez.cpp:436:21: error: ‘QBluetoothSocketBasePrivate* QBluetoothSocket::d_ptr’ is protected within this context
436 | l2cpSocket->d_ptr->lowEnergySocketType = BDADDR_LE_PUBLIC;
| ^~~~~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.