Reading the code here is a good second step. https://github.com/sandeepmistry/noble
After you've gone through those, the bluetooth spec is useful for specific questions.