ARMmbed / ARMmbed/mbed-os-example-tls

tls-client does not check that network stack and ethernet are available

Open
#45 1 comment 0 reactions 0 assignees View on GitHub
bug mirrored tracking
Dominant language
C
Stars
31
Forks
49
PR merge metrics
No merged PRs in 30d

Description

The tls-client example does not check whether the networking features (e.g. ethernet) are available in the target device at compile-time. This can result in various failures at compile/run time that are not necessarily easy to debug. Preprocessor checks should be added to the example to ensure that a comprehensible error message is printed if ethernet is not available.

Contributor guide

Open the contributing guide

Research direction

Start at the tls-client example entry point and inspect how networking features such as ethernet are detected or configured at compile time. Add checks so a target without ethernet produces a comprehensible error, then verify the example's behavior for unavailable networking features.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.