For example, I get logs like this, and I want to know what these events are:
ble_cts_c: BLE event handler called with event 0x57
I also see 0x36, 0x12, etc. when the CTS is operating.
This post did not point to a list of numbers & corresponding event types.
I know that Bluetooth status codes are here and error codes in general are here, from this post.
This post pointed to a list of EVT enums and bases, which is the closest to answering this Q I have seen, but I am not clear how you can take say, 0x57 and know which enums / base codes are added together to get this 0x57. And maybe adding isn't even the right operation here.
In short -- if I know the event code the BLE event handler is called with, how can I translate that number into the actual event that occurred, so I know what events are happening?