local default_capabilities = require('cmp_nvim_lsp').default_capabilities
local on_attach = require('lsp').on_attach
require'lspconfig'.clangd.setup {
cmd = {'clangd', '--query-driver', '/usr/bin/arm-none-eabi-gcc'},
capabilities = default_capabilities(),
on_attach = on_attach
}
-
Client
-
Client requests challenge number from Pico server
-
Client computes and sends hash(n+key)
-
Pico server confirms key and broadcast WOL
Transmit logs
- Fast
- If no response, simply retry
- Guarantees packet delivery
- Probably use this to send log
- Useless and annoying
- Browser/JS support
- Probably just get a Raspberry Pi zero for this
One shot request protocol Challenge–response authentication Modes: Time stamp mode
sha-256 copied from https://github.com/amosnier/sha-2/tree/master
https://www.raspberrypi.com/documentation/microcontrollers/pico-series.html https://datasheets.raspberrypi.com/pico/raspberry-pi-pico-c-sdk.pdf
Other ideas:
- libssh, Paramiko