RS232 control for TVOne products

Dependents:   SPK-DVIMXR

Revision:
16:ed8d08386034
Parent:
14:da403a01f9ef
Child:
17:68b9bb89da2b
diff -r a43672acd7dd -r ed8d08386034 spk_tvone_mbed.h
--- a/spk_tvone_mbed.h	Tue Nov 27 18:03:46 2012 +0000
+++ b/spk_tvone_mbed.h	Sun Dec 02 01:06:50 2012 +0000
@@ -37,7 +37,8 @@
     bool command(uint8_t channel, uint8_t window, int32_t func, int32_t payload);
     bool readCommand(uint8_t channel, uint8_t window, int32_t func, int32_t &payload);
     
-    bool uploadEDID(char* edidData, int edidDataLength, int edidSlotIndex);
+    bool uploadEDID(FILE* file, int edidSlotIndex);
+    bool uploadImage(FILE* file, int sisIndex);
         
     bool setCustomResolutions();
     bool setHDCPOn(bool state);
@@ -49,6 +50,7 @@
      
   private:
     bool command(commandType readWrite, int* ackBuffer, int ackLength, uint8_t channel, uint8_t window, int32_t func, int32_t payload);
+    bool uploadFile(char command, FILE* file, int dataLength, int index);
     
     bool set1920x480(int resStoreNumber);
     bool set1600x600(int resStoreNumber);