pkgdesc='Database System'
arch=('i686' 'x86_64')
license=('BSD')
-pkgrel='25'
+pkgrel='26'
makedepends=('byacc')
-source=('dataworks::svn+http://sw.nishi.boats/svn/nishi-dataworks/trunk#revision=184')
+source=('dataworks::svn+http://sw.nishi.boats/svn/nishi-dataworks/trunk#revision=185')
sha256sums=('SKIP')
build() {
return NULL;
}
}
+ if(!connected) printf("-> %s\n", buf);
return buf;
}
printf("Serial port is at I/O 0x%4.4x\n", get_ioport());
_bios_serialcom(_COM_INIT, port, _COM_9600 | _COM_NOPARITY | _COM_CHR8 | _COM_STOP1);
write_serial("AT&FE0F1\r");
+ printf("<- AT&FE0F1\n");
char* resp = modem_response();
bool echo = __dw_strcaseequ(resp, "AT&FE0F1") || __dw_strcaseequ(resp, "NO CARRIER");
if(resp != NULL && echo) free(resp); /* Kill echo */
if(__dw_strcaseequ(resp, "RING")) {
printf("Got a call, answering\n");
write_serial("ATA\r");
+ printf("<- ATA\n");
} else if(__dw_strcaseequ(resp, "CONNECT")) {
printf("Connection successful");
if(has_arg) printf(", %s BPS", resp + i + 1);