ESP32 DAC signal

Sample rate is not something you "send". It is a characteristic measure of the rate at which samples are taken or reproduced.

Seems like you're off to the races without a horse. What is this "testing" you're doing?