All Projects → cocoahuke → coBlue

cocoahuke / coBlue

Licence: MIT license
Use Bluetooth Low Energy for remote commands, file transfer, Based on bluez Bluetooth protocol stack (BLE Terminal)

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to coBlue

bluetooth-gatt-parser
Bluetooth GATT service and characteristic parser
Stars: ✭ 61 (+48.78%)
Mutual labels:  bluetooth, ble, gatt
GATT
Bluetooth Generic Attribute Profile (GATT) for Swift (Supports Linux)
Stars: ✭ 48 (+17.07%)
Mutual labels:  bluetooth, corebluetooth, gatt
ble2mqtt
A BLE to MQTT bridge
Stars: ✭ 60 (+46.34%)
Mutual labels:  bluetooth, ble, gatt
bluetooth-manager
Java Bluetooth Manager. A library/framework for managing bluetooth adapters, bluetooth devices, GATT services and characteristics
Stars: ✭ 75 (+82.93%)
Mutual labels:  bluetooth, ble, gatt
Node Ble
Bluetooth Low Energy (BLE) library written with pure Node.js (no bindings) - baked by Bluez via DBus
Stars: ✭ 159 (+287.8%)
Mutual labels:  bluetooth, ble
ble
Bluetooth Low Energy for Linux / macOS
Stars: ✭ 264 (+543.9%)
Mutual labels:  bluetooth, ble
py-bluetooth-utils
Python module containing bluetooth utility functions, in particular for easy BLE scanning and advertising
Stars: ✭ 60 (+46.34%)
Mutual labels:  bluetooth, ble
onewheel-bluetooth
A python bluetooth data reader for the Onewheel (supporting Gemini firmware, and later).
Stars: ✭ 28 (-31.71%)
Mutual labels:  bluetooth, gatt
Esp32 Blecollector
ᛡᛒ BLE Scanner + Data persistence on SD Card for M5Stack, Odroid-Go, ESP32-Wrover-Kit and other models
Stars: ✭ 145 (+253.66%)
Mutual labels:  bluetooth, ble
Reactivebeacons
Android library scanning BLE beacons nearby with RxJava
Stars: ✭ 171 (+317.07%)
Mutual labels:  bluetooth, ble
Continuity
Apple Continuity Protocol Reverse Engineering and Dissector
Stars: ✭ 180 (+339.02%)
Mutual labels:  bluetooth, ble
RejsaRubberTrac
RejsaRubberTrac - A wireless thermal camera for monitoring tire temperatures
Stars: ✭ 77 (+87.8%)
Mutual labels:  bluetooth, ble
Ble
Connect to and interact with Bluetooth LE peripherals.
Stars: ✭ 156 (+280.49%)
Mutual labels:  bluetooth, ble
H Ble
Android Ble类库,基于回调,暴露搜索、连接、发送、接收、断开连接等接口,无需关心细节操作即可进行Ble通信。
Stars: ✭ 171 (+317.07%)
Mutual labels:  bluetooth, ble
Easyble
Android BLE framework
Stars: ✭ 155 (+278.05%)
Mutual labels:  bluetooth, ble
Androidblemanager
android BLE device scan and connect manager
Stars: ✭ 174 (+324.39%)
Mutual labels:  bluetooth, ble
contact-tracer
A prototype contact tracer app for COVID-19 pandemic response
Stars: ✭ 50 (+21.95%)
Mutual labels:  bluetooth, ble
Golden Gate
Framework to connect wearables and other IoT devices to mobile phones, tablets and PCs with an IP-based protocol stack over Bluetooth Low Energy
Stars: ✭ 223 (+443.9%)
Mutual labels:  bluetooth, ble
ganglion-ble
Web Bluetooth client for the Ganglion brain-computer interface by OpenBCI
Stars: ✭ 27 (-34.15%)
Mutual labels:  bluetooth, ble
bluetooth-terminal
ES6 class for serial communication with your own Bluetooth Low Energy (Smart) devices
Stars: ✭ 43 (+4.88%)
Mutual labels:  bluetooth, ble

coBlue

Use Bluetooth Low Energy for remote commands, file transfer, Based on bluez Bluetooth protocol stack. Also save your ass when you are blocked by iptables

Contact build license version paypal

Bluetooth Low Energy compared to other forms of wireless connection such as wifi or Bluetooth have more uncomplicated, lower energy consumption. Image your iPhone wirelessly connect to a tiny computer such as raspberry pi etc, and use the powerful tool on Linux

Of course, this can not replace terminal in wifi or usb, but you can do for short thing hiddenly

This project can be installed quickly, run automatically when device boot up. Communicate through characteristics in a Service (Its a part of GATT/ATT procotol, On top of L2CAP). With Mac address filtering and password authentication. Broadcasts continuously when there is no connection or disconnect

Based on GATT / ATT, this allows devices that only support a third developer to program GATT / ATT, such as iOS

Service: CusService
characteristic: Shell Terminal (rw)
characteristic: File Transfer(rw)

Tested on Raspbian 8.5 (Code name: jessie), Mac os 10.10.5

Require

Raspberry pi (Should support other device which compatible with bluez)
A Bluetooth dongle (pi3 already build-in)

A Mac running Mac os (iOS should also be able to support, I built on GATT / ATT protocol for iOS, but i have not written a program for iOS yet)

coblue-control to communicate with coBlue on Macos
coBlue-iOS to communicate with coBlue on iOS

Feature

  1. BLE Low power consumption advantage
  2. Basic shell functionality.
  3. File transfer (Get / Put)
  4. Bluetooth Mac address filtering
  5. Password authentication with time limit (Eg. for iOS device)
  6. Start automatically when raspberry pi boot up
  7. You can change the device name or Service UUID for confusion
  8. Interactive command in Macos as Central
    More functions see -h
    maybe add more in the future...

Or you can add characteristic to connect to your own program, so that it make coblue able to control through A simple command, which means that your other devices can send commands to a linux device (such as your Macbook or iPhone).
I did not provide iOS program, but its a simple conversion from Mac program, both use CoreBluetooth

Shortcomings

  1. SLOW, send 20 bytes at a time
  2. Interactive commands are not supported
  3. other problems might have

How to use

Download

git clone https://github.com/cocoahuke/coblue.git
&& cd coblue

Compile and install coBlued on raspberry pi:

sudo make
sudo make install
coBlued

Configure the Mac Address filter file or authentication file, otherwise no device can be connected successfully
more info, please refer to -h

sudo coBlued -filterw

or

sudo coBlued -verifyw

Then reboot to Start using

Use coblue-control or coBlue-iOS Communication on Macos/iOS

If you want to Temporarily turn off

sudo killall coBlued

If you want to Disable it

sudo coBlued -configw

and you will see

/usr/sbin/$COBLUE_PROG_NAME $PARAMETERS &
#Comment out the line above to Disable coBlue

if need Uninstall

sudo make uninstall

Demo

sample

Demo (Modify the wpa configuration file)

sample1

sample2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].