I did some research. calling publishedServiceRecord on Ventura with any 16bit uuid in ServiceClassIDList WILL crash bluetoothd. This will disconnect all bluetooth devices (keyboard, mouse, headphones, watch etc...) from the Mac and then reconnect. This problem does not happen if you are using a 128 bit UUID.
This seems to be fixed in the Public Beta of Sonoma.
Topic:
App & System Services
SubTopic:
Core OS
Tags: