Skip to content

Commit

Permalink
[closes #37] Update license information
Browse files Browse the repository at this point in the history
  • Loading branch information
oscaracena authored and Matthew Else committed Sep 11, 2015
1 parent ce05606 commit b212138
Show file tree
Hide file tree
Showing 23 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion examples/active_disconnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion examples/beacon.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from gattlib import BeaconService
import time
Expand Down
6 changes: 3 additions & 3 deletions examples/beacon_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from gattlib import BeaconService

class Beacon(object):

def __init__(self, data, address):
self._uuid = data[0]
self._major = data[1]
self._minor = data[2]
self._power = data[3]
self._rssi = data[4]
self._address = address

def __str__(self):
ret = "Beacon: address:{ADDR} uuid:{UUID} major:{MAJOR}"\
" minor:{MINOR} txpower:{POWER} rssi:{RSSI}"\
Expand Down
2 changes: 1 addition & 1 deletion examples/connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion examples/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from gattlib import DiscoveryService

Expand Down
6 changes: 3 additions & 3 deletions examples/discover_primary.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from __future__ import print_function

Expand All @@ -19,9 +19,9 @@
print("Connecting...")
sys.stdout.flush()
requester.connect(True)

primary = requester.discover_primary()
for prim in primary:
print(prim)

print("Done.")
2 changes: 1 addition & 1 deletion examples/passive_disconnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion examples/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion examples/read_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion examples/read_callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion examples/receive_notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion examples/reconnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion examples/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- mode: python; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- mode: makefile-gmake; coding: utf-8 -*-

# Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
# This software is under the terms of GPLv3 or later.
# This software is under the terms of Apache License v2 or later.

TARGETS = gattlib.so
OBJECTS = att.o crypto.o uuid.o gatt.o gattrib.o btio.o log.o utils.o \
Expand Down
2 changes: 1 addition & 1 deletion src/beacon.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- mode: c++; coding: utf-8; tab-width: 4 -*-

// Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
// This software is under the terms of GPLv3 or later.
// This software is under the terms of Apache License v2 or later.

#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
Expand Down
2 changes: 1 addition & 1 deletion src/beacon.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- mode: c++; coding: utf-8; tab-width: 4 -*-

// Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
// This software is under the terms of GPLv3 or later.
// This software is under the terms of Apache License v2 or later.

#ifndef _BEACON_H_
#define _BEACON_H_
Expand Down
2 changes: 1 addition & 1 deletion src/bindings.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- mode: c++; coding: utf-8 -*-

// Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
// This software is under the terms of GPLv3 or later.
// This software is under the terms of Apache License v2 or later.

#include <boost/python.hpp>
#include <boost/python/suite/indexing/map_indexing_suite.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/debug.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- mode: c++; coding: utf-8; tab-width: 4 -*-

// Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
// This software is under the terms of GPLv3 or later.
// This software is under the terms of Apache License v2 or later.

#ifndef _MIBAND_DEBUG_H_
#define _MIBAND_DEBUG_H_
Expand Down
2 changes: 1 addition & 1 deletion src/event.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- mode: c++; coding: utf-8; tab-width: 4 -*-

// Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
// This software is under the terms of GPLv3 or later.
// This software is under the terms of Apache License v2 or later.

#include <boost/thread/mutex.hpp>
#include <boost/thread/condition_variable.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/gattlib.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- mode: c++; coding: utf-8 -*-

// Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
// This software is under the terms of GPLv3 or later.
// This software is under the terms of Apache License v2 or later.

#include <boost/thread/thread.hpp>
#include <boost/python/dict.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/gattlib.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- mode: c++; coding: utf-8; tab-width: 4 -*-

// Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
// This software is under the terms of GPLv3 or later.
// This software is under the terms of Apache License v2 or later.

#ifndef _MIBANDA_GATTLIB_H_
#define _MIBANDA_GATTLIB_H_
Expand Down
2 changes: 1 addition & 1 deletion src/gattservices.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- mode: c++; coding: utf-8; tab-width: 4 -*-

// Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
// This software is under the terms of GPLv3 or later.
// This software is under the terms of Apache License v2 or later.

#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
Expand Down
2 changes: 1 addition & 1 deletion src/gattservices.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- mode: c++; coding: utf-8; tab-width: 4 -*-

// Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com>
// This software is under the terms of GPLv3 or later.
// This software is under the terms of Apache License v2 or later.

#ifndef _GATTSERVICES_H_
#define _GATTSERVICES_H_
Expand Down

0 comments on commit b212138

Please sign in to comment.