BLE extension crashes by use of "when BLE .RegisterForBytes"

When I'm subscribe to the BLE service and charcteristics ( here "RegisterForBytes") what I have defined, then the MIT Compansion App crashes. When I disable the "RegisterForBytes" it works well.

I can read the characteristics without any problem only if I enable the block what is disabled in the screenshot then the app crashes. I know that it makes no sense to read the data first and then register for ther characteristics but I used it to show that it is not a problem of the characteristics itself.

I have tested the subscription also with the nRF Connect app without any problems.

Does someone have similar problems and found a solution already?

What version of the BLE extension do you have in your project?

I see you loading device addresses into ElementsFromString of component listBLEDevices, but i don't see an AfterSelection Event block for that component.

One would think such an event would be a good place for an attempt to connect to a device.

I have used the BLE Extension "edu.mit.appinventor.ble-20230223-beta.aix".
By replacing it with the latest version "edu.mit.appinventor.ble-20240822.aix" the subscription to the characteristics works well.

Thanks a lot for your ultra fast reply and sorry for the unneccessary form entry :slight_smile:

Best regards Janes

Nice approach I will add it to my project! Thanks.