int32_t vexGenericSerialReceive( uint32_t index, uint8_t *buffer, int32_t length );
and define as extern “C”