probe_only is a bool? Then use int.
const char *payload .
unsigned payload_len. 
int count.
uint32_t interval_us.