Forum Posts

abhinet pandey
Apr 13, 2021
In RB-A5D2x
/sys/class/gpio/PC24/value root@rugged-board-a5d2x-sd1:~# echo 84 /sys/class/gpio/PC24/value 84 /sys/class/gpio/PC24/value root@rugged-board-a5d2x-sd1:~# echo 84 > /sys/class/gpio/export -sh: echo: write error: Resource busy root@rugged-board-a5d2x-sd1:~# echo 88 > /sys/class/gpio/export -sh: echo: write error: Invalid argument root@rugged-board-a5d2x-sd1:~# echo 79 > /sys/class/gpio/export -sh: echo: write error: Invalid argument root@rugged-board-a5d2x-sd1:~# echo 86 > /sys/class/gpio/export -sh: echo: write error: Invalid argument root@rugged-board-a5d2x-sd1:~# echo 84 > /sys/class/gpio/export -sh: echo: write error: Resource busy root@rugged-board-a5d2x-sd1:~# echo 84 > /sys/class/gpio/export -sh: echo: write error: Resource busy root@rugged-board-a5d2x-sd1:~# echo 84 > /sys/class/gpio/export -sh: echo: write error: Resource busy root@rugged-board-a5d2x-sd1:~ i have connected -ve to pin1 and 24 v dc to pin 5 of digital input port p5 but i'm getting above error please resolve it.
0
0
20
abhinet pandey
Mar 26, 2021
In RB-A5D2x
root@rugged-board-a5d2x-sd1:~# python3 read_energymeter.py atmel_usart_serial atmel_usart_serial.2.auto: using dma0chan7 for rx DMA transfers atmel_usart_serial atmel_usart_serial.2.auto: using dma0chan8 for tx DMA transfers True Modbus Error: [Input/Output] Modbus Error: [Invalid Message] Incomplete message received, expected at least 2 bytes (0 received) ModbusSerialClient(rtu baud[2400]) root@rugged-board-a5d2x-sd1:~# what is solution
0
0
33
abhinet pandey
Feb 15, 2021
In RB-A5D2x
how to check sim card module is working? what is procedure. i put 4g vodafone sim and ping google.com but it is giving ' bad address google.com'
1
1
30
abhinet pandey
Feb 15, 2021
In RB-A5D2x
how to check sim card module is working? what is procedure. i put 4g vodafone sim and ping google.com but it is giving ' bad address google.com'
0
1
8
abhinet pandey
Feb 15, 2021
In RB-A5D2x
oot@accord-water:/home/user/paho.mqtt.c# make clean rm -rf build/output/* rm -rf build/* root@accord-water:/home/user/paho.mqtt.c# make mkdir -p build/output/samples mkdir -p build/output/test echo OSTYPE is Linux OSTYPE is Linux sed -e "s/@CLIENT_VERSION@/1.3.0/g" -e "s/@BUILD_TIMESTAMP@/Monday 15 February 2021 12:12:57 PM IST/g" src/VersionInfo.h.in > build/VersionInfo.h cc -g -fPIC -Os -Wall -fvisibility=hidden -Ibuild -o build/output/libpaho-mqtt3c.so.1.0 src/Heap.c src/Socket.c src/MQTTProtocolClient.c src/MQTTProtocolOut.c src/SHA1.c src/MQTTProperties.c src/MQTTPersistenceDefault.c src/Messages.c src/MQTTPacketOut.c src/WebSocket.c src/Clients.c src/OsWrapper.c src/Thread.c src/MQTTPacket.c src/MQTTClient.c src/Log.c src/StackTrace.c src/LinkedList.c src/MQTTReasonCodes.c src/MQTTPersistence.c src/utf-8.c src/SocketBuffer.c src/Base64.c src/Tree.c -shared -Wl,-init,MQTTClient_init -lpthread -Wl,-soname,libpaho-mqtt3c.so.1 ln -s libpaho-mqtt3c.so.1.0 build/output/libpaho-mqtt3c.so.1 ln -s libpaho-mqtt3c.so.1 build/output/libpaho-mqtt3c.so cc -g -fPIC -Os -Wall -fvisibility=hidden -Ibuild -o build/output/libpaho-mqtt3cs.so.1.0 src/Heap.c src/Socket.c src/SSLSocket.c src/MQTTProtocolClient.c src/MQTTProtocolOut.c src/SHA1.c src/MQTTProperties.c src/MQTTPersistenceDefault.c src/Messages.c src/MQTTPacketOut.c src/WebSocket.c src/Clients.c src/OsWrapper.c src/Thread.c src/MQTTPacket.c src/MQTTClient.c src/Log.c src/StackTrace.c src/LinkedList.c src/MQTTReasonCodes.c src/MQTTPersistence.c src/utf-8.c src/SocketBuffer.c src/Base64.c src/Tree.c -DOPENSSL -shared -Wl,--start-group -lpthread -ldl -lssl -lcrypto -Wl,--end-group -Wl,-init,MQTTClient_init -Wl,-soname,libpaho-mqtt3cs.so.1 -Wl,-no-whole-archive In file included from src/Socket.c:33: src/SocketBuffer.h:28:10: fatal error: openssl/ssl.h: No such file or directory 28 | #include <openssl/ssl.h> | ^~~~~~~~~~~~~~~ compilation terminated. In file included from src/SSLSocket.c:31: src/SocketBuffer.h:28:10: fatal error: openssl/ssl.h: No such file or directory 28 | #include <openssl/ssl.h> | ^~~~~~~~~~~~~~~ compilation terminated. In file included from src/MQTTPacket.h:26, from src/MQTTProtocolClient.h:25, from src/MQTTProtocolClient.c:35: src/SSLSocket.h:29:10: fatal error: openssl/ssl.h: No such file or directory 29 | #include <openssl/ssl.h> | ^~~~~~~~~~~~~~~ compilation terminated. In file included from src/MQTTPacket.h:26, from src/MQTTProtocolOut.h:25, from src/MQTTProtocolOut.c:36: src/SSLSocket.h:29:10: fatal error: openssl/ssl.h: No such file or directory 29 | #include <openssl/ssl.h> | ^~~~~~~~~~~~~~~ compilation terminated. In file included from src/SHA1.c:17: src/SHA1.h:21:10: fatal error: openssl/sha.h: No such file or directory 21 | #include <openssl/sha.h> | ^~~~~~~~~~~~~~~ compilation terminated. In file included from src/MQTTPacket.h:26, from src/MQTTProperties.c:19: src/SSLSocket.h:29:10: fatal error: openssl/ssl.h: No such file or directory 29 | #include <openssl/ssl.h> | i tried for mqtt client as per procedure given at at your website. please help for yhis error
0
4
35
abhinet pandey
Feb 13, 2021
In RB-A5D2x
Here is the script I have written: ./modpoll.bin -m rtu -a 1 -t 4:float -r 159 -b 9600 -s 1 -P none /dev/ttyS2 Got error as below: @ruggedboard-a5d2x:/data/meter# sh modpoll.sh modpoll: Unrecognized option or missing option parameter! Try -h for help. @ruggedboard-a5d2x:/data/meter# @ruggedboard-a5d2x:/data/meter# sh modpoll.sh modpoll: Unrecognized option or missing option parameter! Try -h for help. @ruggedboard-a5d2x:/data/meter# Please help!
0
1
26