added linux binding to allow more versatile advertisement data