P64 as relay? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Pine A64 Projects, Ideas and Tutorials (https://forum.pine64.org/forumdisplay.php?fid=19) +--- Thread: P64 as relay? (/showthread.php?tid=3160) |
P64 as relay? - etsoft - 01-22-2017 Hi, i've got a project running which uses an modem to convert a received signal to an ascii string via a serial connection. The strings are now receid on a serial port and relayed to an internet ip address and port (UDP protocol) using its intenet connection. The settings of the serial port are specific. My question , is the Pine64 equiped to do this (of course with some add ons)? Where should i look and what kind of sotware shouls i use? Regards and thanks in advance Erwin RE: P64 as relay? - MarkHaysHarris777 - 01-22-2017 (01-22-2017, 07:37 AM)etsoft Wrote: i've got a project running which uses an modem to convert a received signal to an ascii string via a serial connection. The simple answer is, yes. ... The PineA64 ( particularly with gnu+linux running on it ) is a full-blown modern multicore computer. From that standpoint it can do anything your desk PC can do. You may use serial programming ( C , Python , etc ) on any of the available uart(s) and you may use sockets programming on the eth0 or wlan0 nic. What you do with the data between the uart and the eth0 is your business, and totally limited only by your knowledge of the programming language and libraries you choose to employ. uart(3&4) are located on the euler bus, while uart(2) is located on the pi bus. uart(0) is the serial console and uart(1) is the wifi port ( depending on plugging in the wifi daughter card ). Sockets programming is not a noob or beginner topic, but IS easy and straight-forward on the Pine board if you are an experienced sockets programmer. Serial programming is also not a noob or beginner topic, but is also easy and straight-forward if you are an experienced serial programmer, on the Pine board. |