File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1313 "maintainer" : true
1414 }
1515 ],
16- "version" : " 2.0.4 " ,
16+ "version" : " 2.0.5 " ,
1717 "frameworks" : " arduino" ,
1818 "platforms" : [
1919 " espressif8266" ,
Original file line number Diff line number Diff line change 11name =SinricPro
2- version =2.0.4
3- author =Boris Jäger <sivar2311@gmail.com>
4- maintainer =Boris Jäger <sivar2311@gmail.com>
2+ version =2.0.5
3+ author =Boris Jaeger <sivar2311@gmail.com>
4+ maintainer =Boris Jaeger <sivar2311@gmail.com>
55sentence =An Arduino SDK for https://sinric.pro
66paragraph =Simple way to control your IOT development boards like ESP8226 or ESP32 with Amazon Alexa or Google Home
77category =Communication
Original file line number Diff line number Diff line change @@ -108,7 +108,6 @@ void SinricProClass::handle() {
108108 if (!isConnected ()) connect ();
109109 _websocketListener.handle ();
110110 _udpListener.handle ();
111- _ntp.update ();
112111
113112 handleRequest ();
114113 handleSendQueue ();
Original file line number Diff line number Diff line change @@ -40,11 +40,12 @@ void udpListener::begin(SinricProQueue_t* receiveQueue) {
4040}
4141
4242void udpListener::handle () {
43+ if (!_udp.available ()) return ;
4344 int len = _udp.parsePacket ();
4445 if (len) {
4546
46- char buffer[512 ];
47- int n = _udp.read (buffer, 512 );
47+ char buffer[1024 ];
48+ int n = _udp.read (buffer, 1024 );
4849 buffer[n] = 0 ;
4950 SinricProMessage* request = new SinricProMessage (IF_UDP, buffer);
5051 DEBUG_SINRIC (" [SinricPro:UDP]: receiving request\r\n " );
You can’t perform that action at this time.
0 commit comments