no its not acess through usb port also
can you access USB port before?
UART baud rate should not be related to USB port
I have tested different baud rate 9600, 115200, 460800, it will bring different response time.
Please see below:
//baud rate 9600
//type "a"
452 4:41:07.402 PM 0.00005690 ttermpro.exe IRP_MJ_WRITE COM3 SUCCESS Length: 1, Data: 61
453 4:41:07.417 PM 0.00000540 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 1, Data: 61
454 4:41:07.417 PM 0.00000190 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
455 4:41:07.433 PM 0.00000550 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
456 4:41:07.433 PM 0.94280640 ttermpro.exe IOCTL_SERIAL_WAIT_ON_MASK COM3 SUCCESS
//type "t"
457 4:41:08.339 PM 0.00004780 ttermpro.exe IRP_MJ_WRITE COM3 SUCCESS Length: 1, Data: 74
458 4:41:08.370 PM 0.00000330 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 1, Data: 74
459 4:41:08.370 PM 0.00000160 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
460 4:41:08.370 PM 0.00000200 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
461 4:41:08.370 PM 2.41488210 ttermpro.exe IOCTL_SERIAL_WAIT_ON_MASK COM3 SUCCESS
//type "enter" key
462 4:41:10.776 PM 0.00005230 ttermpro.exe IRP_MJ_WRITE COM3 SUCCESS Length: 1, Data: 0D
//OK is returned
463 4:41:10.791 PM 0.00000510 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 3, Data: 0D 0D 0A
464 4:41:10.791 PM 0.00000180 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
465 4:41:10.791 PM 0.00000550 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
466 4:41:10.791 PM 0.01343750 ttermpro.exe IOCTL_SERIAL_WAIT_ON_MASK COM3 SUCCESS
467 4:41:10.807 PM 0.00000900 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 4, Data: 4F 4B 0D 0A
468 4:41:10.807 PM 0.00000180 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
469 4:41:10.807 PM 0.00000610 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
470 4:41:10.807 PM 0.00000000 ttermpro.exe IOCTL_SERIAL_WAIT_ON_MASK COM3
//used 0.031s from enter key to OK received
*********************************************
//baud rate 115200
//type "a"
238 4:34:44.235 PM 0.00004670 ttermpro.exe IRP_MJ_WRITE COM3 SUCCESS Length: 1, Data: 61
239 4:34:44.266 PM 0.00000480 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 1, Data: 61
240 4:34:44.266 PM 0.00000170 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
241 4:34:44.266 PM 0.00000470 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
242 4:34:44.266 PM 1.27814730 ttermpro.exe IOCTL_SERIAL_WAIT_ON_MASK COM3 SUCCESS
//type "t"
243 4:34:45.532 PM 0.00006410 ttermpro.exe IRP_MJ_WRITE COM3 SUCCESS Length: 1, Data: 74
244 4:34:45.547 PM 0.00000630 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 1, Data: 74
245 4:34:45.547 PM 0.00000160 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
246 4:34:45.563 PM 0.00003970 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
247 4:34:45.563 PM 1.60767550 ttermpro.exe IOCTL_SERIAL_WAIT_ON_MASK COM3 SUCCESS
//type "enter" key
248 4:34:47.156 PM 0.00005390 ttermpro.exe IRP_MJ_WRITE COM3 SUCCESS Length: 1, Data: 0D
//OK is returned
249 4:34:47.172 PM 0.00000500 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 7, Data: 0D 0D 0A 4F 4B 0D 0A
250 4:34:47.172 PM 0.00000170 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
251 4:34:47.172 PM 0.00000460 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
252 4:34:47.172 PM 0.00000000 ttermpro.exe IOCTL_SERIAL_WAIT_ON_MASK COM3
//used 0.016s from enter key to OK received
*********************************************
//baud rate 460800
//type "a"
360 4:38:40.352 PM 0.00005940 ttermpro.exe IRP_MJ_WRITE COM3 SUCCESS Length: 1, Data: 61
361 4:38:40.352 PM 0.00000320 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 1, Data: 61
362 4:38:40.352 PM 0.00000190 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
363 4:38:40.368 PM 0.00000330 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
364 4:38:40.368 PM 1.21443460 ttermpro.exe IOCTL_SERIAL_WAIT_ON_MASK COM3 SUCCESS
//type "t"
365 4:38:41.555 PM 0.00006610 ttermpro.exe IRP_MJ_WRITE COM3 SUCCESS Length: 1, Data: 74
366 4:38:41.571 PM 0.00000540 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 1, Data: 74
368 4:38:41.571 PM 0.00000660 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
369 4:38:41.571 PM 2.76588440 ttermpro.exe IOCTL_SERIAL_WAIT_ON_MASK COM3 SUCCESS
//type "enter" key
370 4:38:44.320 PM 0.00005910 ttermpro.exe IRP_MJ_WRITE COM3 SUCCESS Length: 1, Data: 0D
//OK is returned
371 4:38:44.336 PM 0.00000510 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 7, Data: 0D 0D 0A 4F 4B 0D 0A
372 4:38:44.336 PM 0.00000150 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
373 4:38:44.351 PM 0.00000690 ttermpro.exe IRP_MJ_READ COM3 SUCCESS Length: 0, Data:
374 4:38:44.351 PM 0.00000000 ttermpro.exe IOCTL_SERIAL_WAIT_ON_MASK COM3
//used 0.016s from enter key to OK received
In actual hardware in our application ,currently usb port configuration was not implemented
then you need to route out the UART or USB to another platform
is that cts rts and dtr are really matter to achieve speed,curently we are not using that pins
you can check at+IFC setting which is hardware flow control setting
currently UART interface was there but form which application i can send at command to that gsm modem with baud rate of 2000000
you need to ask your MCU vendor how to set this baud rate
is any way to restore the modem to default settings without using at command through uart,from boot pin or reset pin can i achieve this
if there is any, after triggering boot pin, you still need USB port to download something, right?
suppose usb wans implemented what is way to resolve it
if you have the USB AT port, you can try AT!RMARESET command and see if it helps
currently no flow control was there
what do you mean?
I am saying USB AT port
ok i understood ,while using udp protocol some times packets are sending from gsm modem but not received in server side what exact reason behind this senario
How about using tcp?
Udp is not reliable protocol, it could have data drop
compare to tcp udp is fast ,because from my system every one second data was sending.TCP is based on the acknowledgment it might take more time compared to udp
As said before, udp is connectionless and not reliable connection
fo my application code can we implement TCP?