|
I would use a realtime MCU rather than a Pi for that. I just don't trust what is essentially a tiny PC to have the regular latency to keep a clean, uninterrupted signal. It probably will, I'm just paranoid. Part of it too is I think an RPI would be overkill when a cheapo ESP32 could easily handle it.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Yeah, it'd definitely fail from what I get about all this. But temp diagnostic tool vs production component maybe?
Sounds like it'd be just plug it in and capture the broadcast packets and throw them on disk. At least that way failure just means losing the logging you had it doing.
|
|
|
|
|
There is no need to pass data through it at all. All that does is unnecessarily add another potential point of failure. This is RS-485 which is inherently multi-drop so it would be much better to have a listen-only device.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Ahh... broadcast to all on subnet... I hear.
|
|
|
|
|
If I had the time, I'd do it, too! There's never enough hours in the day...
Will Rogers never met me.
|
|
|
|
|
I dealt with MODBUS 30+ years agoβ¦ I donβt remember it having checksums/CRCs/hashes.
Or is that covered on the wire protocol?
Put large, power conditioner capacitors on all electric supplies?
Sounds like the wild west/rats nest
|
|
|
|
|
The MODBUS protocol includes a 16-bit CRC at the end of every message. Given the noisy environments where it's often used, that's probably a good thing.
Will Rogers never met me.
|
|
|
|
|
There are (at least) two variants of the protocol. One is called RTU and has the checksum because it sends the data purely in a binary format. The other is called ASCII and as the name implies it sends the data in ASCII hexadecimal mode with two bytes for each byte of data. It has also been adapted for use with TCP and that data is sent in binary mode but it relies on the TCP packet checksum so there isn't an explicit one sent with the data.
That reminds of a funny old story. Sorry, I'm an old codger and I have a million of 'em.
In the late 1980s I was working on automation projects that used VAXes as controllers. We were polling a bunch of actual RTUs with a VAX-750 and the CRC calculation was taking the CPU to its knees. DEC was aware of the problem so they decided to do the CRC calculation in hardware using the table lookup method. To implement the instruction(s) required them to retrofit the CPU boards of the computer and to do that they sent out their local service representative. He proceeded to remove the CPU circuit board, which was about a two foot square, and he changed a whole bunch of wire-wrapped lines on the board. This was a bit-slice architecture minicomputer using AMD 4-bit wide chips. I was truly blown away seeing this transpire as I had never seen anything like it before or since. It worked too as we used much less of the CPU after the changes.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Wordle 1,102 4/6
π©β¬π¨β¬β¬
π©π©β¬β¬β¬
π©π©π¨β¬β¬
π©π©π©π©π©
|
|
|
|
|
Wordle 1,102 4/6*
π©β¬π¨β¬β¬
π©β¬π¨β¬β¬
π©π©β¬β¬β¬
π©π©π©π©π©
|
|
|
|
|
β¬π¨π¨β¬β¬
π¨β¬β¬β¬π©
β¬π©π©π©π©
π©π©π©π©π©
American spelling caught me out twice
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
modified 25-Jun-24 2:40am.
|
|
|
|
|
Wordle 1,102 3/6*
π¨π¨π¨π¨β¬
π¨π¨β¬π¨π¨
π©π©π©π©π©
(Americans are allergic to vowels)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I was just editing my post to say something similar.
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Quote: Americans are allergic to vowels
Agreed! And the British don't speak English very well!
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,102 3/6*
β¬β¬β¬π¨β¬
π©β¬π¨π¨β¬
π©π©π©π©π©
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
Wordle 1,102 5/6
π¨π©β¬β¬β¬
β¬π©π©β¬β¬
β¬π©π©π©β¬
β¬π©π©π©π©
π©π©π©π©π©
Within you lies the power for good - Use it!
|
|
|
|
|
Wordle 1,102 3/6
π¨π©β¬β¬π¨
β¬β¬β¬β¬π¨
π©π©π©π©π©
|
|
|
|
|
Wordle 1,102 3/6
π¨β¬π¨β¬β¬
β¬π¨π¨π¨π¨
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,102 3/6
π¨β¬β¬β¬π¨
π©β¬β¬π¨π©
π©π©π©π©π©
|
|
|
|
|
I've been getting junk E-mails from @message.fedex.com, which a low-level FedEx rep says is not legit (I'm waiting on someone higher up there to confirm this), and I don't want the legitimate messages from @fedex.com to be blocked if I block the messages from @message.fedex.com.
|
|
|
|
|
If an email falls in the forest when nobody is around, does it really make a sound?
Jeremy Falcon
|
|
|
|
|
It depends on the mail client you're using. In MS Outlook, I can block the sender (which should be host-specific) or the sender's domain (which should block all hosts and users from the same domain). I say "should" because Outlook has always been a bit flaky, and the latest version is not very predictable. I've never used Yahoo Mail, so I can't advise you, but you might try searching for some FAQs on their site.
Will Rogers never met me.
|
|
|
|
|
I don't know about Yahoo Mail, but every other e-mail client that I have used allows one to block both the user (abc@xyz.com) and the domain (@xyz.com). They also require separate rules for subdomains (@xyz.com vs @tuv.xyz.com).
I doubt that blocking @message.fedex.com will block @fedex.com.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
As others have said, you should be able to block individuals. We block access to yahoo mail. Source of Ransomware some years ago when employee checked her email and clicked on wrong thing. Ruined my weekend, but had air gapped backups. Good, but undesired, disaster plan test. Another way to test: port forwarding.
>64
Itβs weird being the same age as old people. Live every day like it is your last; one day, it will be.
|
|
|
|
|
So, I read this article: Easily navigate code delegates while debugging - Visual Studio Blog[^]
and I am so glad, I just don't give a flying f*** anymore. I started doing serious Windows development in 2003. I inherited a project that used ActiveX controls. Just local, no downloads - all embedded system work. I have to plow through the changing terminology of COM, DCOM, COM++, ActiveX, etc. After 3 years, I declared it utter bull****. MS renaming things just to rename things for marketing purposes.
So, I read this devblog article, and though delegates are somewhat different than function pointers, its the same old bs from Microsoft renaming stuff. Worse, I suspect it made it into the C++ standard. I don't know about that, nor do I care.
Starting next week, I'm moving to linux.
Charlie Gilley
βThey who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.β BF, 1759
Has never been more appropriate.
|
|
|
|