Better HN
topnewbestaskshowjobs
Log inSign up

PostThisTooFast

133 karma · joined Nov 7, 2015 (11y ago) · 657 submissions

Submissions

comment 5y ago · link · parent

Yeah, it's pretty cool. I am tasked with developing a new API and communication method for a bunch of networked devices that run embedded Linux. Initially I focused on MQTT, but have since decided to define an API in OpenAPI and implement an HTTP/REST-style interface because that's well understood and easily supported by third parties, whose APIs we might want to integrate with or provide a translation layer for.

But the devices need to alert a controller application to status changes... which so far I supposed they would do by POSTing REST-style messages back to that application. Do people combine REST & MQTT?

comment 5y ago · link · parent

I don't see why this is better than simply implementing a table like this yourself.

comment 5y ago · link · parent

No, it wouldn't. The sensor is an imager. The back end, which interprets what it delivers, should be separate.

This is more petty Apple bullshit.

1
567
22