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
!89
The source project of this merge request has been removed.
ble: card10 srv - v2
Merged
ble: card10 srv - v2
(removed):ble-card10-v2
into
master
Overview
10
Commits
9
Pipelines
0
Changes
3
Merged
genofire
requested to merge
(removed):ble-card10-v2
into
master
5 years ago
Overview
5
Pipelines
0
Changes
3
Expand
11 rgb leds at once
background rgb leds
powersafe
flashlight
need pairing
validating
dim
rockets
bg leds
leds above
vibra
Edited
5 years ago
by
genofire
0
0
Merge request reports
Compare
master
version 22
ec527c78
5 years ago
version 21
ceb784c0
5 years ago
version 20
a49160f2
5 years ago
version 19
19182ce4
5 years ago
version 18
7fa701f6
5 years ago
version 17
122df48c
5 years ago
version 16
7cc3fc93
5 years ago
version 15
edc2a561
5 years ago
version 14
50ec62b4
5 years ago
version 13
f0474f27
5 years ago
version 12
a1770695
5 years ago
version 11
8c9ee50c
5 years ago
version 10
2d2ce386
5 years ago
version 9
da6e95d0
5 years ago
version 8
efe305c0
5 years ago
version 7
45afe58a
5 years ago
version 6
305d9274
5 years ago
version 5
29c585a1
5 years ago
version 4
e285c60d
5 years ago
version 3
05c73521
5 years ago
version 2
05c73521
5 years ago
version 1
d9596301
5 years ago
master (base)
and
latest version
latest version
7949d71e
9 commits,
5 years ago
version 22
ec527c78
9 commits,
5 years ago
version 21
ceb784c0
9 commits,
5 years ago
version 20
a49160f2
9 commits,
5 years ago
version 19
19182ce4
7 commits,
5 years ago
version 18
7fa701f6
7 commits,
5 years ago
version 17
122df48c
7 commits,
5 years ago
version 16
7cc3fc93
5 commits,
5 years ago
version 15
edc2a561
5 commits,
5 years ago
version 14
50ec62b4
5 commits,
5 years ago
version 13
f0474f27
4 commits,
5 years ago
version 12
a1770695
3 commits,
5 years ago
version 11
8c9ee50c
3 commits,
5 years ago
version 10
2d2ce386
2 commits,
5 years ago
version 9
da6e95d0
2 commits,
5 years ago
version 8
efe305c0
2 commits,
5 years ago
version 7
45afe58a
1 commit,
5 years ago
version 6
305d9274
1 commit,
5 years ago
version 5
29c585a1
1 commit,
5 years ago
version 4
e285c60d
1 commit,
5 years ago
version 3
05c73521
1 commit,
5 years ago
version 2
05c73521
4 commits,
5 years ago
version 1
d9596301
4 commits,
5 years ago
3 files
+
510
−
24
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
Documentation/bluetooth/card10.rst
+
94
−
0
Options
@@ -30,6 +30,51 @@ The current draft uses following service specification:
UUID: ``42230210-2342-2342-2342-234223422342``
write
- Background LED Bottom Left characteristic:
UUID: ``42230211-2342-2342-2342-234223422342``
write
- Background LED Bottom Right characteristic:
UUID: ``42230212-2342-2342-2342-234223422342``
write
- Background LED Top Right characteristic:
UUID: ``42230213-2342-2342-2342-234223422342``
write
- Background LED Top Left characteristic:
UUID: ``42230214-2342-2342-2342-234223422342``
write
- LEDS dim bottom characteristic:
UUID: ``42230215-2342-2342-2342-234223422342``
write
- LEDs dim top characteristic:
UUID: ``42230216-2342-2342-2342-234223422342``
write
- LEDs powersafe characteristic:
UUID: ``42230217-2342-2342-2342-234223422342``
write
- Flashlight characteristic:
UUID: ``42230218-2342-2342-2342-234223422342``
write
- LEDs above characteristic:
UUID: ``42230220-2342-2342-2342-234223422342``
write
- Light sensor characteristic:
UUID: ``422302f0-2342-2342-2342-234223422342``
@@ -66,6 +111,55 @@ Rocket0 Rocket1 Rocket2
- Enable only Rocket0: ``0xff0000``
- Enable all rockets with 50% brightness: ``0x7f7f7f``
Background LED <Position> characteristic
---------------------------------
The Background LEDs <Position> characteristic makes it possible to address the bottom LEDs by position.
Just write there three ``uint8`` for the rgb color.
Dataformat:
===== ======= =======
0 1 2
----- ------- -------
red green blue
===== ======= =======
- set led blue: ``0x0000ff``
- disabled: ``0x000000``
LEDs dim <Position> characteristic
---------------------------------
The LEDs dim <Position> characteristic makes it possible to dim LEDs by position.
Just write a ``uint8`` between ``1`` and ``8``.
LEDs powersafe characteristic
---------------------------------
This characteristic makes it possible to set the LEDs in powersafe mode.
Even when set to zero, the RGB LEDs still individually consume ~1mA.
Powersave intelligently switches the supply power in groups.
This introduces delays in the magnitude of ~10µs, so it can be disabled for high speed applications such as POV
- enabled: ``0x01``
- disabled: ``0x00``
Flashlight characteristic
---------------------------------
This characteristic makes it possible to activate the flashlight.
- enabled: ``0x01``
- disabled: ``0x00``
LEDs above characteristic
---------------------------------
This characteristic set every 11 leds on the top module at once.
By defining 11x rgb from left to right. You need also to set exchange a bigger MTU to use this feature.
- set a rainbow beginnig with red on the right edge: ``0xff0000ff8b00e8ff005dff0000ff2e00ffb900b9ff002eff5d00ffe800ffff008b``
Light sensor characteristic
---------------------------------
Loading