how to "customize" serial data frame

I need to receive and send frames in this format: AA B2 00 00 00 00 00 00 00 00 00 01 55.

The where the eight 00s are the data, and the 01 is the checksum. B2 is an indicator I need to read.

Is this format already supported in the serial lib? I tried to change the config setting, but didn't find the right one for this format. Is there an easy way to change the lib to support this?

The Arduino doesn't know anything about packet communication.
You need to write a 'packet builder' and a 'packet analyzer'.
Check the data sheet to see if claims to be using a particular communications standard.
Check with the vendor to see if they offer any example code.

thanks.

The code in this link may give you some ideas - it's in Reply #38 in the link

Or the code in this link (Reply #14)

...R