PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Aug 09, 2004 12:12 pm |
|
|
The problem appears to be in the Function Prototypes section in
the s7600.h file. This section starts at line 153. I was able to
make the project compile by changing the return data type to
"s7600_ec" on four of the function prototypes. The changes
are shown in bold, below. These changes will make it compile.
I don't know if the code actually works, because I don't have
the Web Server demo board.
The fact that it doesn't compile is a bug, and you should report
this to CCS. The web server files that came with PCM vs. 3.188 did
compile OK, so this bug is new. Please email support@ccsinfo.com
void tcpip_init();
s7600_ec tcp_connect(IPAddr ip, int16 portnum, int8 socket);
int8 tcp_find_free_socket(void);
s7600_ec tcp_listen(int8 socket, int16 port);
int8 tcp_getc(int8 socket);
int1 tcp_kbhit(int8 socket);
void tcp_flush_socket(int8 socket);
int1 tcp_connected(int8 socket);
s7600_ec tcp_putc(int8 socket, int8 c);
s7600_ec tcp_putd(int8 socket, int8 * c, int16 len);
s7600_ec tcp_close(int8 socket);
int1 ppp_check(void);
s7600_ec ppp_connect(int8 * phone_number, int8 * username, int8 * password);
s7600_ec ppp_disconnect(void);
void ppp_keepalive(void); |
|