-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_vectors.at
More file actions
27 lines (27 loc) · 2.41 KB
/
test_vectors.at
File metadata and controls
27 lines (27 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
AT+CFG=99,1234 /* Decimal integer */
AT+CFG=99,-1234 /* Negative decimal integer */
AT+CFG=99,0x1234 /* Hex integer 4660 */
AT+CFG=99,0o1234 /* Octal integer 668 */
AT+CFG=99,0b1010001001 /* Binary integer 649 */
AT+CFG=99,255 /* Largest 1 byte integer */
AT+CFG=99,65535 /* Largest 2 byte integer */
AT+CFG=99,16777215 /* Largest 3 byte integer */
AT+CFG=99,4294967295 /* Largest 4 byte integer */
AT+CFG=99,"" /* Empty string */
AT+CFG=99,"1234" /* Integer in string format */
AT+CFG=99,"ABCD" /* String */
AT+CFG=99,"1234\n" /* String with escape character */
AT+CFG=99,"1234, abcd" /* String with comma */
AT+CFG=99,[] /* Empty byte array */
AT+CFG=99,[12345678] /* Integer in byte array format */
AT+CFG=99,"192.168.1.1" /* IPv4 address */
AT+CFG=99,"192.168.1.355" /* Illegal IPv4 address */
AT+CFG=99,"192.168.1.1/24" /* IPv4 address with scope */
AT+CFG=99,"192.168.1.1/24R" /* IPv4 address with illegal scope */
AT+CFG=99,"192.168.1.1/255.255.255.0" /* IPv4 address with net mask */
AT+CFG=99,"192.168.1.1/255.355.255.0" /* IPv4 address with illegal net mask */
AT+CFG=99,"2001:470:6CFA:130:1000:1000:1000:1000" /* IPv6 address */
AT+CFG=99,"2001:470:6CFA:130:1000:1000:1000:1000/64" /* IPv6 address with scope */
AT+CFG=99,"2001:470:6CFA:130:1000:1000:1000:1000/64R" /* IPv6 address with illegal scope */
AT+CFG=99,"12:34:56:78:9a:bc" /* MAC address */
AT+CFG=99,"12:34:56:78:9a:gc" /* Illegal MAC address */