- 在使用ble.py 先確定要連接的裝置的藍芽address type
- 先讓想要連結的裝置彼此同意互連藍芽
1,微調程式32行,填入適當的裝置的adress type
2,46行則是輸入想寫到手機service的內容,將47行的des改成ch1則可寫入手機的characteristic
https://www.novelbits.io/bluetooth-address-privacy-ble/
https://sites.google.com/site/raspberrypidiy/pc-to-rpi/ssh
https://github.com/IanHarvey/bluepy/blob/master/bluepy/btle.py