BlueLab xIDE : How to recover the mux_id (RFCOMM)

Hello,

I’m programming on BlueLab xIDE and for my application I need to recover the mux_id of a RFCOMM connection established between two devices.

I can read it with the Bluestack tab but I didn’t find yet a C function which can return it.

Could someone help me please?

Thank you