Can we turn a router to a MQTT broker or CoAP server? or can we just take additional service from the router by installing CoAP or MQTT broker on it, probably in Java. The router can be powerful as Linksys WRT1200AC (1.3 GHz Dual Core with 512MB RAM and 128MB flash) or we need some thing extra powerful to make it work.

Kindly suggest. I have no experience flashing a router.

  • 2
    This question is unanswerable without knowing a lot more information. Also Java on a router is probably not the best fit as it tends to be more resource intensive
    – hardillb
    Nov 6, 2017 at 9:00
  • 2
    yes it will be resource intensive, I want it for some experimental purpose
    – Shahrzad
    Nov 6, 2017 at 9:38
  • 1
    You seam to have ignored the first half of my comment, which is the important bit
    – hardillb
    Nov 6, 2017 at 10:47
  • 4
    Router hardware running custom Embedded Linux builds can indeed be a good platform for this kind of thing, but you wouldn't run Java on it unless you buy hardware that is more powerful than otherwise needed, and probably run a derivative of a "full" Linux distribution rather than a "router" or IoT type of Linux distribution such as OpenWrt. Nov 6, 2017 at 14:08
  • 4
    Can you pick a specific router and possibly one of the protocols? In that case we'd have something to work with.
    – Helmar
    Nov 6, 2017 at 17:43


Browse other questions tagged or ask your own question.