I have a serial port which transmit 256 Byte data over SCI protocol.
The frame has following format:
  typedef struct
  {
     int header;
     uint8 ssap;
     uint8 dsap;
     uint8 data[248];
  }Frame;
And have following function
  void sciSendStream(int length, uint8* data);
My question is how to convert  Frame struct to uint8 *
When i try to do that with the following cast:
  sciSendStream(256,(uint8 *)frame);
I am receiving the incompatible conversion error.
 
    