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
Commits
ebc42128
Commit
ebc42128
authored
4 years ago
by
schneider
Browse files
Options
Downloads
Patches
Plain Diff
feat(ble): Add ESS and Temperature UUIDs
parent
f356b12b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!428
Environmental Sensing Service
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/sdk/Libraries/BTLE/stack/ble-host/include/att_uuid.h
+3
-0
3 additions, 0 deletions
lib/sdk/Libraries/BTLE/stack/ble-host/include/att_uuid.h
lib/sdk/Libraries/BTLE/stack/ble-host/sources/stack/att/att_uuid.c
+1
-0
1 addition, 0 deletions
...ibraries/BTLE/stack/ble-host/sources/stack/att/att_uuid.c
with
4 additions
and
0 deletions
lib/sdk/Libraries/BTLE/stack/ble-host/include/att_uuid.h
+
3
−
0
View file @
ebc42128
...
...
@@ -62,6 +62,7 @@ extern "C" {
#define ATT_UUID_RUNNING_SPEED_SERVICE 0x1814
/*!< \brief Running Speed Service */
#define ATT_UUID_CYCLING_SPEED_SERVICE 0x1816
/*!< \brief Cycling Speed Service */
#define ATT_UUID_CYCLING_POWER_SERVICE 0x1818
/*!< \brief Cycling Power Service */
#define ATT_UUID_ENVIRONMENTAL_SENSING_SERVICE 0x181A
#define ATT_UUID_USER_DATA_SERVICE 0x181C
/*!< \brief User Data Service */
#define ATT_UUID_WEIGHT_SCALE_SERVICE 0x181D
/*!< \brief Weight Scale Service */
#define ATT_UUID_IP_SUPPORT_SERVICE 0x1820
/*!< \brief IP Support Service */
...
...
@@ -213,6 +214,7 @@ extern "C" {
#define ATT_UUID_CTE_TX_DURATION 0x7F83
/*!< \brief Constant Tone Extension transmit duration */
#define ATT_UUID_CTE_INTERVAL 0x7F84
/*!< \brief Constant Tone Extension interval */
#define ATT_UUID_CTE_PHY 0x7F85
/*!< \brief Constant Tone Extension PHY */
#define ATT_UUID_TEMPERATURE 0x2A6E
/**@}*/
/** \name GATT Unit UUIDs
...
...
@@ -531,6 +533,7 @@ extern const uint8_t attCteTxCntChUuid[ATT_16_UUID_LEN]; /*!< \brief Constant To
extern
const
uint8_t
attCteTxDurChUuid
[
ATT_16_UUID_LEN
];
/*!< \brief Constant Tone Extension transmit duration */
extern
const
uint8_t
attCteIntChUuid
[
ATT_16_UUID_LEN
];
/*!< \brief Constant Tone Extension interval */
extern
const
uint8_t
attCtePhyChUuid
[
ATT_16_UUID_LEN
];
/*!< \brief Constant Tone Extension PHY */
extern
const
uint8_t
attTemperatureChUuid
[
ATT_16_UUID_LEN
];
/**@}*/
/*! \} */
/* STACK_ATT_API */
...
...
This diff is collapsed.
Click to expand it.
lib/sdk/Libraries/BTLE/stack/ble-host/sources/stack/att/att_uuid.c
+
1
−
0
View file @
ebc42128
...
...
@@ -186,3 +186,4 @@ const uint8_t attCteTxCntChUuid[ATT_16_UUID_LEN] = {UINT16_TO_BYTES(ATT_UUID_CTE
const
uint8_t
attCteTxDurChUuid
[
ATT_16_UUID_LEN
]
=
{
UINT16_TO_BYTES
(
ATT_UUID_CTE_TX_DURATION
)};
const
uint8_t
attCteIntChUuid
[
ATT_16_UUID_LEN
]
=
{
UINT16_TO_BYTES
(
ATT_UUID_CTE_INTERVAL
)};
const
uint8_t
attCtePhyChUuid
[
ATT_16_UUID_LEN
]
=
{
UINT16_TO_BYTES
(
ATT_UUID_CTE_PHY
)};
const
uint8_t
attTemperatureChUuid
[
ATT_16_UUID_LEN
]
=
{
UINT16_TO_BYTES
(
ATT_UUID_TEMPERATURE
)};
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