kreestyahn Posted September 8, 2022 Share Posted September 8, 2022 I cannot receive data on serial port ttyS5. I able to write onto it, but the reading doesnt work. I'm using this https://github.com/officialdoniald/Xamarin.Android.SerialPort . I tried using adb shell commands like "cat < /dev/ttyS5" but there is no received data either. When I try to send data with "LibSerialPort.WriteLine("text")" I can see it in Hercules Terminal so the writing works. In Visual Studio Output there is this line: [c.SerialPortPoc] type=1400 audit(0.0:532): avc: denied { read write } for name="ttyS5" dev="tmpfs" ino=2487 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:serial_device:s0 tclass=chr_file permissive=1 app=SerialPortPoc.SerialPortPoc Device: Orange Pi Zero 2, Android 10 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted September 8, 2022 Share Posted September 8, 2022 4 hours ago, kreestyahn said: Android 10 We do not support Android. I suggest to ask at the place where you get this image for your board. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.