Open mytechnotalent opened 9 months ago
I'm not sure exactly what you're asking for, but are you looking for https://github.com/raspberrypi/pico-examples/tree/master/pico_w/wifi/tls_client ? (which was added in #305 )
I think he's referring to pairing in Bluetooth
Yes @peterharperuk is correct I am referring to pairing in BLE I would love an example of such as the TLS example is great for WiFi but a BLE pairing example would be ideal and necessary for any real Bluetooth dev on the PicoW thank you in advance!
There is picow_bt_example_sm_pairing_peripheral with corresponding .gatt
file to encrypt characteristic data as well.
Thank you @matsobdev I was hoping for something within the current RPI stack as this has licensing requirements.
this has licensing requirements.
See https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/pico_btstack/LICENSE.RP
For example hog examples :P might be helpful as well, you can trace hids.gatt
file and see how transferred data are secured with ENCRYPTION_KEY_SIZE_16
and apply the same to for example nRF serial like.
Can you please add a PicoW Peripheral Secure Connection example as the only ones available are plain text that can be seen by any sniffer.