at*help still says ATI!
#11
Hi Jim

These are the commands as I'm sending them(in case it helps).

If I were to guess I would say that for whatever reason, the at*b38400 is failing, so the atdt connection string is not sent out.


Code:
ser_ioctl(1, NULL);
    get_wimodem_status();
    get_wimodem_status();
    ser_put_str("at&k1");
    ser_read_str(2000);
    ser_put_str("at*r0");
    ser_read_str(2000);
    ser_put_str("at*c0");
    ser_read_str(2000);
    ser_put_str("at*d0");
    ser_read_str(2000);
    ser_put_str("at*b38400");
    ser_unload();
    if (cbm_load ("v-1541.38k", getcurrentdevice (), NULL) == 0) {
       printf ("V-1541.38K failed to load\n");
       return 0;
    }
    else {
       printf ("V-1541.38K loaded ok\n");
       __asm__ ("jsr %w",0xc000);
    }
    printf ("\n");
   
    err = cbm_open("2","2","2","");
    if (err != 0) {
       printf("Could not open device 2. Error: %d \n",err);
    }
    else
    {
      printf("Device 2 opened ok.\n");
    }
    err = cbm_write(2,"atdt commodoreserver.com:1541\n",30);
    if (err == -1) {
       printf("Could not write to device 2. Error: %d \n",_oserror);
    }
    else
    {
      printf("Device 2 write ok.\n%d bytes written \n",err);
    }
The Workshop -  http://home.reidspace.com/ 

Reply


Messages In This Thread
at*help still says ATI! - by Zeropage - 12-27-2017, 06:01 AM
RE: at*help still says ATI! - by admin - 12-27-2017, 10:59 AM
RE: at*help still says ATI! - by scanword - 01-01-2018, 12:48 PM
RE: at*help still says ATI! - by admin - 01-01-2018, 03:16 PM
RE: at*help still says ATI! - by scanword - 01-02-2018, 04:44 AM
RE: at*help still says ATI! - by scanword - 01-02-2018, 04:56 AM
RE: at*help still says ATI! - by scanword - 01-02-2018, 05:01 AM
RE: at*help still says ATI! - by admin - 01-02-2018, 12:05 PM
RE: at*help still says ATI! - by scanword - 01-04-2018, 10:33 AM
RE: at*help still says ATI! - by admin - 01-04-2018, 10:38 PM
RE: at*help still says ATI! - by Zeropage - 01-05-2018, 01:27 AM
RE: at*help still says ATI! - by admin - 01-05-2018, 01:29 PM
RE: at*help still says ATI! - by scanword - 01-10-2018, 11:22 AM
RE: at*help still says ATI! - by admin - 01-10-2018, 11:28 AM
RE: at*help still says ATI! - by admin - 01-10-2018, 12:28 PM
RE: at*help still says ATI! - by scanword - 01-10-2018, 12:55 PM
RE: at*help still says ATI! - by Zeropage - 01-11-2018, 12:10 AM
RE: at*help still says ATI! - by scanword - 01-11-2018, 10:01 AM
RE: at*help still says ATI! - by Zeropage - 01-11-2018, 11:03 AM
RE: at*help still says ATI! - by admin - 01-11-2018, 02:08 PM
RE: at*help still says ATI! - by admin - 01-12-2018, 10:34 PM
RE: at*help still says ATI! - by scanword - 01-13-2018, 12:31 PM
RE: at*help still says ATI! - by admin - 01-13-2018, 01:54 PM
RE: at*help still says ATI! - by scanword - 01-16-2018, 10:55 AM
RE: at*help still says ATI! - by admin - 01-16-2018, 04:56 PM
RE: at*help still says ATI! - by scanword - 01-17-2018, 12:11 PM
RE: at*help still says ATI! - by admin - 01-17-2018, 03:38 PM



Users browsing this thread: 2 Guest(s)