Copyright ©

Mongoose OS Forum

ATTENTION! This forum has moved to:

Do not post any new messages.


Hello everyone...

I would like to know how I can use SSDP and uPNP, I have a hardware device that will transmit a video streaming and receive commands, for that I would like that my app mobile access the device across internet access. I need to use uPNP for configuring route in wifi router of the customer automatically. Anybody have some idea how I can do that?



  • SergeySergey Dublin, Ireland
    edited January 2017

    @chingling123 let me clarify.

    1. You'd like to set up a device on the customer's premises
    2. You expect that on the customer's network, UPNP is available which you plan to use to perform an initial device configuration.

    Is that correct?
    What connectivity are we talking about - WiFi ? Ethernet?

  • @Sergey Lyubka
    I will use WIFI with ESP8266, I need that after the customer connect your home wifi network on the device, the device make the uPNP port forwarding automatically... Like others devices:

  • SergeySergey Dublin, Ireland

    How would a customer configure WiFi net/password initially?

  • @Sergey Lyubka the user will connect to wifi of ESP after that in my app I will list all wifi that have near and the customer will select your own and put the credentials. The app will send the credentials to ESP and ESP will connect in the customer home wifi network...

  • SergeySergey Dublin, Ireland
    edited January 2017

    Got it, thank you.

    Mongoose OS does not provide a built-in uPNP support. Implement it manually.

    However, I'd advise against doing so:

    • Not all routers support upnp port forwarding. Thus, by choosing that technology, you're restricting your customer base, and potentially very significantly.
    • Making an ESP8266 device a globally visible network server is not a good idea for very many reasons - security being the first.

    Obviously it is your business, but I'd advise to reconsider the architecture and go with more robust solution which uses an external cloud like AWS IoT.

  • @Sergey Lyubka Thanks for you advice :)

  • lsmlsm Dublin, Ireland

    You're welcome Erik

Sign In or Register to comment.