Closed dstroy0 closed 2 years ago
correct:
$test 1 2 3 4 -5 6 77\r\n 8
Test user input types: uint8_t 1 uint16_t 2 uint32_t 3 int 4 float -5.000 char 6 c-string 77
unknown-type 8
'\r\n' present in c-string argument.
also correct, but I want to adjust this to escape user entered control char, so the 77 would be '77\r\n'(OK)
$Invalid input: test '1'(OK) '2'(OK) '3'(OK) '4'(OK) '-5'(OK) '6'(OK) '77 '(OK) 'INPUT NOT RECEIVED'*(NOTYPE REQUIRED)
fixed
correct:
Test user input types: uint8_t 1 uint16_t 2 uint32_t 3 int 4 float -5.000 char 6 c-string 77
unknown-type 8
'\r\n' present in c-string argument.
also correct, but I want to adjust this to escape user entered control char, so the 77 would be '77\r\n'(OK)