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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Jeff Gough
firmware
Commits
a097c737
Verified
Commit
a097c737
authored
5 years ago
by
genofire
Browse files
Options
Downloads
Patches
Plain Diff
workaround for iOS
parent
338132e5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
epicardium/ble/card10.c
+26
-26
26 additions, 26 deletions
epicardium/ble/card10.c
epicardium/ble/svc_core.c
+2
-2
2 additions, 2 deletions
epicardium/ble/svc_core.c
with
28 additions
and
28 deletions
epicardium/ble/card10.c
+
26
−
26
View file @
a097c737
...
@@ -276,8 +276,8 @@ static void *addCard10GroupDyn(void)
...
@@ -276,8 +276,8 @@ static void *addCard10GroupDyn(void)
0
,
0
,
sizeof
(
uint64_t
),
sizeof
(
uint64_t
),
ATTS_SET_WRITE_CBACK
,
ATTS_SET_WRITE_CBACK
,
ATTS_PERMIT_WRITE
|
ATTS_PERMIT_WRITE_ENC
|
ATTS_PERMIT_WRITE
ATTS_PERMIT_WRITE_AUTH
);
);
// VIBRA
// VIBRA
...
@@ -297,8 +297,8 @@ static void *addCard10GroupDyn(void)
...
@@ -297,8 +297,8 @@ static void *addCard10GroupDyn(void)
0
,
0
,
sizeof
(
uint16_t
),
sizeof
(
uint16_t
),
ATTS_SET_WRITE_CBACK
,
ATTS_SET_WRITE_CBACK
,
ATTS_PERMIT_WRITE
|
ATTS_PERMIT_WRITE_ENC
|
ATTS_PERMIT_WRITE
ATTS_PERMIT_WRITE_AUTH
);
);
// ROCKETS
// ROCKETS
...
@@ -318,8 +318,8 @@ static void *addCard10GroupDyn(void)
...
@@ -318,8 +318,8 @@ static void *addCard10GroupDyn(void)
0
,
0
,
3
*
sizeof
(
uint8_t
),
3
*
sizeof
(
uint8_t
),
ATTS_SET_WRITE_CBACK
,
ATTS_SET_WRITE_CBACK
,
ATTS_PERMIT_WRITE
|
ATTS_PERMIT_WRITE_ENC
|
ATTS_PERMIT_WRITE
ATTS_PERMIT_WRITE_AUTH
);
);
// BG LED Bottom left
// BG LED Bottom left
...
@@ -339,8 +339,8 @@ static void *addCard10GroupDyn(void)
...
@@ -339,8 +339,8 @@ static void *addCard10GroupDyn(void)
0
,
0
,
3
*
sizeof
(
uint8_t
),
3
*
sizeof
(
uint8_t
),
ATTS_SET_WRITE_CBACK
,
ATTS_SET_WRITE_CBACK
,
ATTS_PERMIT_WRITE
|
ATTS_PERMIT_WRITE_ENC
|
ATTS_PERMIT_WRITE
ATTS_PERMIT_WRITE_AUTH
);
);
// BG LED Bottom right
// BG LED Bottom right
...
@@ -360,8 +360,8 @@ static void *addCard10GroupDyn(void)
...
@@ -360,8 +360,8 @@ static void *addCard10GroupDyn(void)
0
,
0
,
3
*
sizeof
(
uint8_t
),
3
*
sizeof
(
uint8_t
),
ATTS_SET_WRITE_CBACK
,
ATTS_SET_WRITE_CBACK
,
ATTS_PERMIT_WRITE
|
ATTS_PERMIT_WRITE_ENC
|
ATTS_PERMIT_WRITE
ATTS_PERMIT_WRITE_AUTH
);
);
// BG LED top right
// BG LED top right
...
@@ -381,8 +381,8 @@ static void *addCard10GroupDyn(void)
...
@@ -381,8 +381,8 @@ static void *addCard10GroupDyn(void)
0
,
0
,
3
*
sizeof
(
uint8_t
),
3
*
sizeof
(
uint8_t
),
ATTS_SET_WRITE_CBACK
,
ATTS_SET_WRITE_CBACK
,
ATTS_PERMIT_WRITE
|
ATTS_PERMIT_WRITE_ENC
|
ATTS_PERMIT_WRITE
ATTS_PERMIT_WRITE_AUTH
);
);
// BG LED top left
// BG LED top left
...
@@ -402,8 +402,8 @@ static void *addCard10GroupDyn(void)
...
@@ -402,8 +402,8 @@ static void *addCard10GroupDyn(void)
0
,
0
,
3
*
sizeof
(
uint8_t
),
3
*
sizeof
(
uint8_t
),
ATTS_SET_WRITE_CBACK
,
ATTS_SET_WRITE_CBACK
,
ATTS_PERMIT_WRITE
|
ATTS_PERMIT_WRITE_ENC
|
ATTS_PERMIT_WRITE
ATTS_PERMIT_WRITE_AUTH
);
);
// Dim bottom module
// Dim bottom module
...
@@ -423,8 +423,8 @@ static void *addCard10GroupDyn(void)
...
@@ -423,8 +423,8 @@ static void *addCard10GroupDyn(void)
0
,
0
,
sizeof
(
uint8_t
),
sizeof
(
uint8_t
),
ATTS_SET_WRITE_CBACK
,
ATTS_SET_WRITE_CBACK
,
ATTS_PERMIT_WRITE
|
ATTS_PERMIT_WRITE_ENC
|
ATTS_PERMIT_WRITE
ATTS_PERMIT_WRITE_AUTH
);
);
// Dim top module
// Dim top module
...
@@ -444,8 +444,8 @@ static void *addCard10GroupDyn(void)
...
@@ -444,8 +444,8 @@ static void *addCard10GroupDyn(void)
0
,
0
,
sizeof
(
uint8_t
),
sizeof
(
uint8_t
),
ATTS_SET_WRITE_CBACK
,
ATTS_SET_WRITE_CBACK
,
ATTS_PERMIT_WRITE
|
ATTS_PERMIT_WRITE_ENC
|
ATTS_PERMIT_WRITE
ATTS_PERMIT_WRITE_AUTH
);
);
// led powersafe
// led powersafe
...
@@ -465,8 +465,8 @@ static void *addCard10GroupDyn(void)
...
@@ -465,8 +465,8 @@ static void *addCard10GroupDyn(void)
0
,
0
,
sizeof
(
uint8_t
),
sizeof
(
uint8_t
),
ATTS_SET_WRITE_CBACK
,
ATTS_SET_WRITE_CBACK
,
ATTS_PERMIT_WRITE
|
ATTS_PERMIT_WRITE_ENC
|
ATTS_PERMIT_WRITE
ATTS_PERMIT_WRITE_AUTH
);
);
// flashlight
// flashlight
...
@@ -486,8 +486,8 @@ static void *addCard10GroupDyn(void)
...
@@ -486,8 +486,8 @@ static void *addCard10GroupDyn(void)
0
,
0
,
sizeof
(
uint8_t
),
sizeof
(
uint8_t
),
ATTS_SET_WRITE_CBACK
,
ATTS_SET_WRITE_CBACK
,
ATTS_PERMIT_WRITE
|
ATTS_PERMIT_WRITE_ENC
|
ATTS_PERMIT_WRITE
ATTS_PERMIT_WRITE_AUTH
);
);
// ABOVE LEDS
// ABOVE LEDS
...
@@ -507,8 +507,8 @@ static void *addCard10GroupDyn(void)
...
@@ -507,8 +507,8 @@ static void *addCard10GroupDyn(void)
0
,
0
,
11
*
3
*
sizeof
(
uint8_t
),
11
*
3
*
sizeof
(
uint8_t
),
ATTS_SET_WRITE_CBACK
,
ATTS_SET_WRITE_CBACK
,
ATTS_PERMIT_WRITE
|
ATTS_PERMIT_WRITE_ENC
|
ATTS_PERMIT_WRITE
ATTS_PERMIT_WRITE_AUTH
);
);
// LIGHT_SENSOR
// LIGHT_SENSOR
...
@@ -528,8 +528,8 @@ static void *addCard10GroupDyn(void)
...
@@ -528,8 +528,8 @@ static void *addCard10GroupDyn(void)
sizeof
(
uint8_t
),
sizeof
(
uint8_t
),
sizeof
(
uint8_t
),
sizeof
(
uint8_t
),
ATTS_SET_READ_CBACK
,
ATTS_SET_READ_CBACK
,
ATTS_PERMIT_READ
|
ATTS_PERMIT_READ_ENC
|
ATTS_PERMIT_READ
ATTS_PERMIT_READ_AUTH
);
);
APP_TRACE_INFO0
(
"ble-card10: services bound
\n
"
);
APP_TRACE_INFO0
(
"ble-card10: services bound
\n
"
);
}
}
...
...
This diff is collapsed.
Click to expand it.
epicardium/ble/svc_core.c
+
2
−
2
View file @
a097c737
...
@@ -46,10 +46,10 @@
...
@@ -46,10 +46,10 @@
#endif
#endif
/*! Default device name */
/*! Default device name */
#define CORE_DEFAULT_DEV_NAME "card10"
#define CORE_DEFAULT_DEV_NAME "card10
-ble
"
/*! Length of default device name */
/*! Length of default device name */
#define CORE_DEFAULT_DEV_NAME_LEN
6
#define CORE_DEFAULT_DEV_NAME_LEN
10
/**************************************************************************************************
/**************************************************************************************************
GAP group
GAP group
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment