esp32 rs485 send and receive

Job ID: 34117502

Budget: $10 – $30 USD

I am looking for a simple arduino program for an esp32 to send a command like
HEX : 31 01 06 6c
which will return something like
3e 01 06 1e 98 3a d8 2d ad
to read the hex value and get 2 parameters like the image