finish the bluethooth share function prototype