go4retro / tcpser

Hayes modem emulator application
106 stars 30 forks source link

modem_core.c missing 230400 case in switch (speed) #10

Closed cbmbas closed 4 years ago

cbmbas commented 4 years ago

230400 is missing in case I guess.

While you are at it, could you also implement 460.800 so we could use it with a Silversurfer Card at full speed (at least for testing, if this will ever work...) ?

mdm_responses[MDM_RESP_CONNECT_115200] = "CONNECT 115200"; mdm_responses[MDM_RESP_CONNECT_230400] = "CONNECT 230400"; return 0; }

int get_connect_response(int speed, int level) { if (level == 0) { return MDM_RESP_CONNECT; } switch (speed) { case 115200: return MDM_RESP_CONNECT_115200; case 57600:

go4retro commented 4 years ago

Sorry for the delay.

These are in place, but the otehr issue you noted was preventing the correct text being returned. Fixed.