Skip to content

info: initial implementation - #114

Merged
mniestroj merged 1 commit into
mainfrom
device-cert
Nov 20, 2025
Merged

info: initial implementation#114
mniestroj merged 1 commit into
mainfrom
device-cert

Conversation

@mniestroj

@mniestroj mniestroj commented Nov 14, 2025

Copy link
Copy Markdown
Collaborator

Read INFO characteristic as the first action after discovering device. Save information about server and device certificates, i.e. whether they were already provisioned.

Reading INFO characteristic replaces reading server cert serial number, since the same information is provided.

When device certificate provisioned flag is set, this reduces overhead by about 350ms (with default configuration of pouch device).

@mniestroj
mniestroj force-pushed the cert-declare-misising-types branch from 2f92abd to 9048973 Compare November 14, 2025 21:14
@mniestroj
mniestroj force-pushed the device-cert branch 5 times, most recently from de06b43 to f5b11db Compare November 14, 2025 21:25
Base automatically changed from cert-declare-misising-types to main November 14, 2025 21:27

@sam-golioth sam-golioth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mniestroj! Just a few minor comments.

Comment thread include/pouch_gateway/info.h Outdated
Comment thread lib/bt/connect.c Outdated
Comment thread lib/CMakeLists.txt Outdated
Read INFO characteristic as the first action after discovering device.
Save information about server and device certificates, i.e. whether they
were already provisioned.

Reading INFO characteristic replaces reading server cert serial number,
since the same information is provided.

When device certificate provisioned flag is set, this reduces overhead by
about 350ms (with default configuration of pouch device).

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
@mniestroj
mniestroj merged commit 4a0b012 into main Nov 20, 2025
10 checks passed
@mniestroj
mniestroj deleted the device-cert branch November 20, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants