Browse Source

activate advanced_ok and no_timeout

Wurstnase 9 years ago
parent
commit
526ad82d20

+ 3
- 3
Marlin/Configuration_adv.h View File

379
 // Bad Serial-connections can miss a received command by sending an 'ok'
379
 // Bad Serial-connections can miss a received command by sending an 'ok'
380
 // Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
380
 // Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
381
 // This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
381
 // This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
382
-// #define NO_TIMEOUTS 1000
382
+#define NO_TIMEOUTS 1000
383
 
383
 
384
-// Some clients will have this feature soon. This should make the NO_TIMEOUTS unnecessary.
385
-// #define ADVANCED_OK
384
+// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
385
+#define ADVANCED_OK
386
 
386
 
387
 // @section fwretract
387
 // @section fwretract
388
 
388
 

+ 1
- 1
Marlin/Marlin_main.cpp View File

5535
     SERIAL_PROTOCOLPGM(" N"); SERIAL_PROTOCOL(gcode_LastN);
5535
     SERIAL_PROTOCOLPGM(" N"); SERIAL_PROTOCOL(gcode_LastN);
5536
     SERIAL_PROTOCOLPGM(" P"); SERIAL_PROTOCOL(BUFSIZE - commands_in_queue);
5536
     SERIAL_PROTOCOLPGM(" P"); SERIAL_PROTOCOL(BUFSIZE - commands_in_queue);
5537
   #endif
5537
   #endif
5538
-  SERIAL_PROTOCOLLNPGM("");  
5538
+  SERIAL_EOL;  
5539
 }
5539
 }
5540
 
5540
 
5541
 void get_coordinates() {
5541
 void get_coordinates() {

+ 8
- 0
Marlin/configurator/config/Configuration_adv.h View File

376
 #define MAX_CMD_SIZE 96
376
 #define MAX_CMD_SIZE 96
377
 #define BUFSIZE 4
377
 #define BUFSIZE 4
378
 
378
 
379
+// Bad Serial-connections can miss a received command by sending an 'ok'
380
+// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
381
+// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
382
+#define NO_TIMEOUTS 1000
383
+
384
+// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
385
+#define ADVANCED_OK
386
+
379
 // @section fwretract
387
 // @section fwretract
380
 
388
 
381
 // Firmware based and LCD controlled retract
389
 // Firmware based and LCD controlled retract

+ 8
- 0
Marlin/example_configurations/Felix/Configuration_adv.h View File

376
 #define MAX_CMD_SIZE 96
376
 #define MAX_CMD_SIZE 96
377
 #define BUFSIZE 4
377
 #define BUFSIZE 4
378
 
378
 
379
+// Bad Serial-connections can miss a received command by sending an 'ok'
380
+// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
381
+// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
382
+#define NO_TIMEOUTS 1000
383
+
384
+// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
385
+#define ADVANCED_OK
386
+
379
 // @section fwretract
387
 // @section fwretract
380
 
388
 
381
 // Firmware based and LCD controlled retract
389
 // Firmware based and LCD controlled retract

+ 9
- 1
Marlin/example_configurations/Hephestos/Configuration_adv.h View File

374
 
374
 
375
 //The ASCII buffer for receiving from the serial:
375
 //The ASCII buffer for receiving from the serial:
376
 #define MAX_CMD_SIZE 96
376
 #define MAX_CMD_SIZE 96
377
-#define BUFSIZE 5
377
+#define BUFSIZE 4
378
+
379
+// Bad Serial-connections can miss a received command by sending an 'ok'
380
+// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
381
+// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
382
+#define NO_TIMEOUTS 1000
383
+
384
+// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
385
+#define ADVANCED_OK
378
 
386
 
379
 // @section fwretract
387
 // @section fwretract
380
 
388
 

+ 8
- 0
Marlin/example_configurations/K8200/Configuration_adv.h View File

376
 #define MAX_CMD_SIZE 96
376
 #define MAX_CMD_SIZE 96
377
 #define BUFSIZE 4
377
 #define BUFSIZE 4
378
 
378
 
379
+// Bad Serial-connections can miss a received command by sending an 'ok'
380
+// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
381
+// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
382
+#define NO_TIMEOUTS 1000
383
+
384
+// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
385
+#define ADVANCED_OK
386
+
379
 // @section fwretract
387
 // @section fwretract
380
 
388
 
381
 // Firmware based and LCD controlled retract
389
 // Firmware based and LCD controlled retract

+ 8
- 0
Marlin/example_configurations/SCARA/Configuration_adv.h View File

376
 #define MAX_CMD_SIZE 96
376
 #define MAX_CMD_SIZE 96
377
 #define BUFSIZE 4
377
 #define BUFSIZE 4
378
 
378
 
379
+// Bad Serial-connections can miss a received command by sending an 'ok'
380
+// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
381
+// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
382
+#define NO_TIMEOUTS 1000
383
+
384
+// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
385
+#define ADVANCED_OK
386
+
379
 // @section fwretract
387
 // @section fwretract
380
 
388
 
381
 // Firmware based and LCD controlled retract
389
 // Firmware based and LCD controlled retract

+ 9
- 1
Marlin/example_configurations/WITBOX/Configuration_adv.h View File

374
 
374
 
375
 //The ASCII buffer for receiving from the serial:
375
 //The ASCII buffer for receiving from the serial:
376
 #define MAX_CMD_SIZE 96
376
 #define MAX_CMD_SIZE 96
377
-#define BUFSIZE 5
377
+#define BUFSIZE 4
378
+
379
+// Bad Serial-connections can miss a received command by sending an 'ok'
380
+// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
381
+// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
382
+#define NO_TIMEOUTS 1000
383
+
384
+// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
385
+#define ADVANCED_OK
378
 
386
 
379
 // @section fwretract
387
 // @section fwretract
380
 
388
 

+ 8
- 0
Marlin/example_configurations/delta/biv2.5/Configuration_adv.h View File

377
 #define MAX_CMD_SIZE 96
377
 #define MAX_CMD_SIZE 96
378
 #define BUFSIZE 4
378
 #define BUFSIZE 4
379
 
379
 
380
+// Bad Serial-connections can miss a received command by sending an 'ok'
381
+// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
382
+// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
383
+#define NO_TIMEOUTS 1000
384
+
385
+// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
386
+#define ADVANCED_OK
387
+
380
 // @section fwretract
388
 // @section fwretract
381
 
389
 
382
 // Firmware based and LCD controlled retract
390
 // Firmware based and LCD controlled retract

+ 8
- 0
Marlin/example_configurations/delta/generic/Configuration_adv.h View File

377
 #define MAX_CMD_SIZE 96
377
 #define MAX_CMD_SIZE 96
378
 #define BUFSIZE 4
378
 #define BUFSIZE 4
379
 
379
 
380
+// Bad Serial-connections can miss a received command by sending an 'ok'
381
+// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
382
+// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
383
+#define NO_TIMEOUTS 1000
384
+
385
+// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
386
+#define ADVANCED_OK
387
+
380
 // @section fwretract
388
 // @section fwretract
381
 
389
 
382
 // Firmware based and LCD controlled retract
390
 // Firmware based and LCD controlled retract

+ 8
- 0
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h View File

376
 #define MAX_CMD_SIZE 96
376
 #define MAX_CMD_SIZE 96
377
 #define BUFSIZE 4
377
 #define BUFSIZE 4
378
 
378
 
379
+// Bad Serial-connections can miss a received command by sending an 'ok'
380
+// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
381
+// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
382
+#define NO_TIMEOUTS 1000
383
+
384
+// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
385
+#define ADVANCED_OK
386
+
379
 // @section fwretract
387
 // @section fwretract
380
 
388
 
381
 // Firmware based and LCD controlled retract
389
 // Firmware based and LCD controlled retract

+ 8
- 0
Marlin/example_configurations/makibox/Configuration_adv.h View File

376
 #define MAX_CMD_SIZE 96
376
 #define MAX_CMD_SIZE 96
377
 #define BUFSIZE 4
377
 #define BUFSIZE 4
378
 
378
 
379
+// Bad Serial-connections can miss a received command by sending an 'ok'
380
+// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
381
+// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
382
+#define NO_TIMEOUTS 1000
383
+
384
+// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
385
+#define ADVANCED_OK
386
+
379
 // @section fwretract
387
 // @section fwretract
380
 
388
 
381
 // Firmware based and LCD controlled retract
389
 // Firmware based and LCD controlled retract

+ 8
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h View File

376
 #define MAX_CMD_SIZE 96
376
 #define MAX_CMD_SIZE 96
377
 #define BUFSIZE 4
377
 #define BUFSIZE 4
378
 
378
 
379
+// Bad Serial-connections can miss a received command by sending an 'ok'
380
+// Therefore some clients go after 30 seconds in a timeout. Some other clients start sending commands while receiving a 'wait'.
381
+// This wait is only send when the buffer is empty. The timeout-length is in milliseconds. 1000 is a good value.
382
+#define NO_TIMEOUTS 1000
383
+
384
+// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
385
+#define ADVANCED_OK
386
+
379
 // @section fwretract
387
 // @section fwretract
380
 
388
 
381
 // Firmware based and LCD controlled retract
389
 // Firmware based and LCD controlled retract

Loading…
Cancel
Save