Hello, Question about sending voltage through UDP communication (Server <-> Client Communication, Ja

33 views
Skip to first unread message

Albert

unread,
Jul 25, 2019, 12:40:02 PM7/25/19
to BeagleBoard

Hello, I want to send voltage of beaglebone to server (UDP with IP and port)

How can I send readLoadCurrent(0) with interval by using code below?

Thanks,
e1.png
e2.PNG
e3.PNG
e4.PNG

Adrian Godwin

unread,
Jul 25, 2019, 2:17:59 PM7/25/19
to beagl...@googlegroups.com
To be honest, I probably wouldn't do that. Assuming I will end up wanting to send other chunks of data as well, and each would need to be distinguished from the others, I would use some convenient infrastructure designed for that job.

MQTT is one such protocol : http://mqtt.org/

It's another thing to learn, but it provides a lot of facilities for the management of errors (which tends to consume the majority of your code by the time you have something reliable) and is generally easier to use than the lower layers.
 


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/9ebd2019-a082-4fd2-a673-d36285fa84e6%40googlegroups.com.

Dennis Lee Bieber

unread,
Jul 25, 2019, 3:06:04 PM7/25/19
to beagl...@googlegroups.com
On Thu, 25 Jul 2019 09:40:02 -0700 (PDT), Albert
<abt...@gmail.com> declaimed the following:

>
>Hello, I want to send voltage of beaglebone to server (UDP with IP and port)
>
>How can I send readLoadCurrent(0) with interval by using code below?
>

Sorry, but I do not see any "code"... I see four IMAGE file attachments
which are unusable for any testing purposes (and aren't even viewable
unless I first save them to my computer and THEN open a picture viewer).

Please cut&paste the TEXT of your console window or attach a text file.
If it can not be edited (in a text editor) by recipients, it is not usable
for providing solutions. Do you write your code in GIMP or Photoshop? If
you do, how do you execute it?




--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

Reply all
Reply to author
Forward
0 new messages