Skip to content

Commit 7f04d7d

Browse files
committed
testing additional units.
1 parent 4f7cbdb commit 7f04d7d

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

doc/2pico_w-2pico2_w-remotes.txt

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
04/18/25 Initial started with 1 pico_w and 1 pico2_w 2nd pico_w & 2nd pico2_w added
2+
devel@pi4-60:~ $ ./build_cli.sh
3+
-rwxr-xr-x 1 devel devel 14088 Apr 18 04:52 cli1
4+
-rwxr-xr-x 1 devel devel 14088 Apr 18 04:52 cli2
5+
-rwxr-xr-x 1 devel devel 14088 Apr 18 04:52 cli3
6+
-rwxr-xr-x 1 devel devel 14088 Apr 18 04:52 cli4
7+
-rwxr-xr-x 1 devel devel 14088 Apr 18 04:52 cli5
8+
-rwxr-xr-x 1 devel devel 14088 Apr 18 04:52 cli6
9+
10+
This was the devel@pi4-60:~/pi_tcp_tests/client.c
11+
#include <stdio.h>
12+
#include <string.h>
13+
#include <sys/socket.h>
14+
#include <arpa/inet.h>
15+
#ifdef rem1
16+
17+
#define ip "192.168.1.128" first pico2_w
18+
#endif
19+
#ifdef rem2
20+
21+
#define ip "192.168.1.160" first pico_w
22+
#endif
23+
#ifdef rem3
24+
25+
#define ip "192.168.1.129" 2nd pico2_w
26+
#endif
27+
#ifdef rem4
28+
29+
#define ip "192.168.1.176" 2nd pico_w
30+
#endif
31+
#ifdef rem5
32+
33+
#define ip "192.168.1.159"
34+
#endif
35+
#ifdef rem6
36+
37+
#define ip "192.168.1.175"
38+
#endif
39+
40+
devel@pi4-60:~/pi_tcp_tests $ ./cli1
41+
Socket created successfully
42+
Connected with server successfully
43+
Vbatt task 0x03c -> 0.048340 Vbatt task 0x03d -> 0.049146 Vbatt task 0x038 -> 0.045117 Vbatt task 0x03d -> 0.049146 Vbatt task 0x03d -> 0.049146 Vbatt task 0x03d -> 0.049146 Vbatt task 0x039 -> 0.045923 Vbatt task 0x03c -> 0.048340 Vbatt task 0x03c -> 0.048340 Vbatt task 0x03a -> 0.046729 Vbatt task 0x03c -> 0.048340 Vbatt task 0x03d -> 0.049146 Vbatt task 0x03d -> 0.049146 Vbatt t�C�
44+
devel@pi4-60:~/pi_tcp_tests $ ./cli2
45+
Socket created successfully
46+
Connected with server successfully
47+
Vbatt task 0x044 -> 0.054785 Vbatt task 0x043 -> 0.053979 Vbatt task 0x044 -> 0.054785 Vbatt task 0x044 -> 0.054785 Vbatt task 0x044 -> 0.054785 Vbatt task 0x044 -> 0.054785 Vbatt task 0x044 -> 0.054785 Vbatt task 0x044 -> 0.054785 Vbatt task 0x043 -> 0.053979 Vbatt task 0x044 -> 0.054785 V0x045 -> 0.055591 Vbatt task 0x045 -> 0.055591 Vbatt task 0x044 -> 0.054785 Vbatt task 0x044 ���
48+
devel@pi4-60:~/pi_tcp_tests $ ./cli3
49+
Socket created successfully
50+
Connected with server successfully
51+
batt task 0x000 -> 0.000000 Vbatt task 0x040 -> 0.051562 Vbatt task 0x03e -> 0.049951 Vbatt task 0x040 -> 0.051562 Vbatt task 0x03e -> 0.049951 Vbatt task 0x03e -> 0.049951 Vbatt task 0x043 -> 0.053979 Vbatt task 0x043 -> 0.053979 Vbatt task 0x043 -> 0.053979 Vbatt task 0x043 -> 0.053979 Vbatt task 0x042 -> 0.053174 V30123456789012345678901234567890123456789012345678901234567890123���
52+
^[[devel@pi4-60:~/pi_tcp_tests $ ./cli4
53+
Socket created successfully
54+
Connected with server successfully
55+
batt task 0x046 -> 0.056396 Vbatt task 0x046 -> 0.056396 Vbatt task 0x048 -> 0.058008 Vbatt task 0x047 -> 0.057202 Vbatt task 0x048 -> 0.058008 Vbatt task 0x048 -> 0.058008 Vbatt task 0x048 -> 0.058008 Vbatt task 0x048 -> 0.058008 Vbatt task 0x048 -> 0.058008 Vbatt task 0x047 -> 0.057202 Vbatt task 0x047 -> 0.057202 V30123456789012345678901234567890123456789012345678901234567890123���

0 commit comments

Comments
 (0)