I don’t think a non-crap general purpose Bluetooth stack exists. The “specification” is garbage and the implementations tend to be garbage also.