sinricpro / esp8266-esp32-sdk

Library for https://sinric.pro - simple way to connect your device to Alexa, Google Home, SmartThings and cloud
https://sinric.pro
Other
234 stars 124 forks source link

[Question] Why the library uses UDP Multicast Listener #171

Closed console-netsphere closed 3 years ago

console-netsphere commented 3 years ago

I was looking through the source code and I notificied that library creates a UDP listener on initialization. Why this is used? Is it for adversiting packets, to indicate exisitance, for APPS like Google Home or Alexa. Or is it for some other reason?

kakopappa commented 3 years ago

We have plans to support offline mode (no internet, but has WiFi) in the future releases of the Sinric Pro app. App will communicate with the ESP using UDP

On Thu, 1 Apr 2021 at 4:24 AM wesee-dev @.***> wrote:

I was looking through the source code and I notificied that library creates a UDP listener on initialization. Why this is used? Is it for adversiting packets, to indicate exisitance, for APPS like Google Home or Alexa. Or is it for some other reason?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sinricpro/esp8266-esp32-sdk/issues/171, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZW3ZHVALLV4TPYTWHTTGOHKPANCNFSM42FSRS3Q .

console-netsphere commented 3 years ago

Oh, that's nice. Thanks for you quick reply.