Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
firmware
Merge requests
!87
The source project of this merge request has been removed.
ble: add card10 service with basic function
Merged
ble: add card10 service with basic function
(removed):ble-rocket
into
master
Overview
20
Commits
3
Pipelines
0
Changes
6
Merged
genofire
requested to merge
(removed):ble-rocket
into
master
5 years ago
Overview
9
Pipelines
0
Changes
6
Expand
read light sensor
set vibra for ms
set rocket leds
Edited
5 years ago
by
genofire
0
0
Merge request reports
Compare
master
version 20
422fceb0
5 years ago
version 19
5f82570f
5 years ago
version 18
41b8980f
5 years ago
version 17
965aa082
5 years ago
version 16
401ddbad
5 years ago
version 15
8cbcba8d
5 years ago
version 14
a6940799
5 years ago
version 13
3b2388dc
5 years ago
version 12
82d070e3
5 years ago
version 11
5f101167
5 years ago
version 10
8217ab47
5 years ago
version 9
f4c3d023
5 years ago
version 8
db24bbfd
5 years ago
version 7
74d7dd53
5 years ago
version 6
580a982b
5 years ago
version 5
fda270b4
5 years ago
version 4
816272eb
5 years ago
version 3
232aefe6
5 years ago
version 2
c4610336
5 years ago
version 1
198f4fff
5 years ago
master (base)
and
latest version
latest version
4ed95885
3 commits,
5 years ago
version 20
422fceb0
3 commits,
5 years ago
version 19
5f82570f
1 commit,
5 years ago
version 18
41b8980f
1 commit,
5 years ago
version 17
965aa082
1 commit,
5 years ago
version 16
401ddbad
1 commit,
5 years ago
version 15
8cbcba8d
1 commit,
5 years ago
version 14
a6940799
7 commits,
5 years ago
version 13
3b2388dc
6 commits,
5 years ago
version 12
82d070e3
5 commits,
5 years ago
version 11
5f101167
5 commits,
5 years ago
version 10
8217ab47
4 commits,
5 years ago
version 9
f4c3d023
4 commits,
5 years ago
version 8
db24bbfd
4 commits,
5 years ago
version 7
74d7dd53
4 commits,
5 years ago
version 6
580a982b
3 commits,
5 years ago
version 5
fda270b4
2 commits,
5 years ago
version 4
816272eb
1 commit,
5 years ago
version 3
232aefe6
1 commit,
5 years ago
version 2
c4610336
1 commit,
5 years ago
version 1
198f4fff
1 commit,
5 years ago
6 files
+
328
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
Documentation/bluetooth/card10.rst
0 → 100644
+
63
−
0
Options
Bluetooth Card10 Service
==========
.. warning::
The specification is still work in progress
The Card10 Service implemented a direct Hardware access of the card10.
BLE Service
-----------
The current draft uses following service specification:
- Service
UUID: ``0000f000-2342-2342-2342-234223422342``
- light sensor characteristic:
UUID: ``0000f0f0-2342-2342-2342-234223422342``
read
- Vibra characteristic:
UUID: ``0000f10f-2342-2342-2342-234223422342``
write
- Rockets characteristic:
UUID: ``0000f110-2342-2342-2342-234223422342``
write
light sensor characteristic
---------------------------------
The light sensor characteristic makes it possible to read the current value of the light sensor by receiving a ``uint16``.
The range of this sensor is between 0 (``0x0``) and 400 (``0x9001``).
- reading of ``0x0e00`` means **14**
vibra characteristic
---------------------------------
The vibra characteristic makes it possible to let the card10 for given millisecound in a ``uint16`` vibrate.
- One secound: ``0xe803``
Rockets characteristic
---------------------------------
The Rockets characteristic makes it possible to address every three rockets.
Just write there three byte array, one for evey rocket.
Dataformat:
======= ======= =======
0 1 2
------- ------- -------
Rocket0 Rocket1 Rocket2
======= ======= =======
- Enable only Rocket0: ``0xff0000``
- Enable all rockets with 50% brightness: ``0x7f7f7f``
Loading