I've had a really strange problem with bleClient.RegisterForShorts. I opened a 6 month old app - already running on my tablet - and recompiled the code and was surprised to find the result didn't run, despite no alterations to the source code. No error messages, but the code hung up and had to be stopped/restarted.
I transferred to using the MIT App Inventor 2 app to load from the website and found there was an error every time I called RegisterForShorts - or any of the other RegisterForxxx functions. Replacing these with calls to the equivalent ReadShorts calls works as expected, so its not the arguments.
The error messages are pretty weird, ending with
caused by java.lang.illegalArgumentException: UUID string too large at java.util.UUID.fromString(UUID.java:299)
Once that message has appeared on my pc, that's the last thing that the app does. It has to be stopped and restarted to get going again.
Has anyone encountered this before and can anyone explain what's altered in the bleClient libray that may have caused it?