Comments (2)
So the ATTConnection
class has been implemented. It acts as a sort of state machine, while the underlying L2CAPSocket
performs the actual IO. Right now my immediate goal is to implement GATTServer
. For that I need to implement all the ATT Protocol Data Units in ATTProtocolDataUnit.swift
.
Here are some valuable resources for creating those struct
s:
- All data is in Bluetooth is little endian.
- Bluetooth Specification v4.0: Better resource, explains in detail the PDU data layout. Page
483
is the starting point for ATT PDUs. - Looking at
ATTMaximumTranssmissionUnitResponse
is a good starting point. It has a simple layout, and you can easily understand how the data is encoded. - Fork this repository, and switch to the
Gatt
branch.
from bluetoothlinux.
Implemented GATT Server. Good enough for now.
from bluetoothlinux.
Related Issues (20)
- Integrate Travis CI
- Implement `ATTConnection` IO Writer / Reader wakeup mechanism
- Is it possible to create BLE Device compatible with iOS (not iBeacon)? HOT 1
- Fix GATTServerTest for 16 bit UUID
- Implement GATT Notifications HOT 1
- Notification Crash
- Implement GATT Client Characteristic Reading
- Implement GATT Client Characteristic Writing
- LE Read White List HOT 1
- Integrate Jazzy
- Read and Write local Bluetooth name HOT 2
- Consolidate functional tests into single command line tool
- Fix remoteNameRequest case in DeviceRequest.swift
- Incompatible dependencies
- RFCOMM connections HOT 3
- Try example
- Cannot find Bluetooth device RPi
- Add Swift Concurrency support HOT 1
- Scan error Invalid HCI Command Parameters
- Not stable dependency in package manifest file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluetoothlinux.