EdwinFairchild / BLE-PyDex

Bluetooth Low Energy Device Exporer
Other
14 stars 1 forks source link

BLE-PyDex | Bluetooth Low Energy Python Device Exporer

pylint workflow

showcase

Hardware requirements

Software requirements

To compile changes made in main.ui

Simply run the compile_ui.py or compile_ui.sh which will compile the UI file and place it into the modules folder.

To do it manually follow these steps:

BLE-PyDex v1

Interface intro

https://github.com/EdwinFairchild/BLE-PyDex/assets/62710807/9e2f1b7b-410c-423c-a16e-a6bc245bfbed

Scanner

In scanner mode you can:

https://github.com/EdwinFairchild/BLE-PyDex/assets/62710807/692d8903-7f98-4ee6-9dce-a3f330b75a96

Connection

When a connection with a device is established PyDex will switch to Gatt Explorer mode.

https://github.com/EdwinFairchild/BLE-PyDex/assets/62710807/8ec57651-135a-46a5-8fa7-497cb985c875

Over the air update

There is not standar Bluetooth way to perform over the air updates. The example show here is very specific to MAX32665/666//665/690 BLE microcontrollers soon to support STM32WB series. This will undoubtably not succeed with any other OTA out there. The intent here is to show that it is possible and one would have to port their application specific BLE OTA into PyDex. How to guide coming eventaully....

https://github.com/EdwinFairchild/BLE-PyDex/assets/62710807/58568ff8-6087-4c9a-abd8-2d1a2fe4c67f

Insights (WIP)

currently a work in progress as an experemental branch is the ability to load and elf file thats has been compiled with debug symbols. You will be able to graph any varaible stored in ram. Possibly also the ability to define a struct and added it to the live watch. And perhaps the ability to load and svd files to get a complete register/peripheral view.

https://github.com/EdwinFairchild/BLE-PyDex/assets/62710807/df205e64-db4f-4425-9aef-0a401c76d8e1