[GH-ISSUE #794] Serial: DELAY function has unspecified unit (and it is not seconds) #314

Closed
opened 2026-02-28 00:01:16 +03:00 by kerem · 4 comments
Owner

Originally created by @dglaude on GitHub (Apr 8, 2018).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/794

In serialcommands.md it is not specified the unit used for "DELAY" function.

DELAY
delay

It does not seems to be seconds (I tested with 60 and it was not effective).
But it seems to work (I tested with 60000 and I was locked out, I had to reset).

SCAN is explicitly in second (for -t and -c)
ATTACK -t is unspecified
RUN is explicitly in second (for -c)

Originally created by @dglaude on GitHub (Apr 8, 2018). Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/794 In serialcommands.md it is not specified the unit used for "DELAY" function. > DELAY > delay <time> > Will pause the serial command interface for a given time. It does not seems to be seconds (I tested with 60 and it was not effective). But it seems to work (I tested with 60000 and I was locked out, I had to reset). SCAN is explicitly in second (for -t and -c) ATTACK -t is unspecified RUN is explicitly in second (for -c)
kerem 2026-02-28 00:01:16 +03:00
Author
Owner

@spacehuhn commented on GitHub (Apr 9, 2018):

The unit is in milliseconds as known from the Arduino delay() function:
DELAY 1000
You can also directly give it seconds:
DELAY 1s

<!-- gh-comment-id:379639185 --> @spacehuhn commented on GitHub (Apr 9, 2018): The unit is in milliseconds as known from the Arduino delay() function: `DELAY 1000` You can also directly give it seconds: `DELAY 1s`
Author
Owner

@dglaude commented on GitHub (Apr 9, 2018):

I am just saying that it is not documented (like for ATTACK).

Also some scripting command are in seconds and other in millisecond. It could help if all were using the same unit for time parameter.

<!-- gh-comment-id:379827129 --> @dglaude commented on GitHub (Apr 9, 2018): I am just saying that it is not documented (like for ATTACK). Also some scripting command are in seconds and other in millisecond. It could help if all were using the same unit for time parameter.
Author
Owner

@tobozo commented on GitHub (Apr 21, 2018):

@spacehuhn do we need a SETUNIT [s|ms|us] command to solve that or can we close this as wontfix ?

<!-- gh-comment-id:383269865 --> @tobozo commented on GitHub (Apr 21, 2018): @spacehuhn do we need a SETUNIT [s|ms|us] command to solve that or can we close this as wontfix ?
Author
Owner

@spacehuhn commented on GitHub (Apr 21, 2018):

wontfix.
You can use s and ms for every time parameter. I added the info the the delay command.
There should be no confusion.

<!-- gh-comment-id:383270911 --> @spacehuhn commented on GitHub (Apr 21, 2018): wontfix. You can use `s` and `ms` for every time parameter. I added the info the the delay command. There should be no confusion.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/esp8266_deauther#314
No description provided.