mynewt-nimble
mynewt-nimble copied to clipboard
nimble/host: Add support for Signed Write
This PR aims to:
- Add support for sending signed write commands
- Add support of receiving signed write commands
@sjanc PTAL
Hi,
Few general things (I'll have more detailed comments after doing full code review)
- add support for this in bttester (and maybe btshell)
- test it with PTS (eg via autopts (https://github.com/auto-pts/auto-pts))
- Commit message (title and body) needs improvements
- Maybe this should gracefully fallback to Write Without Response if link is encrypted? (just a thought, I'm fine with returning error as is now)
In general I'm bit reluctant about adding this feature as it is barely used (TBH I've never seen this being used in real applications and have not seen any profile that would require it).
But if you need it and above steps are completed I'm not going to block it