Commit df7661d9 authored by Robert Karlsson's avatar Robert Karlsson

Added a sleep between setting name and ip adress

parent 7ab14000
...@@ -241,6 +241,8 @@ void PnViewerPNAC::set_device_properties( unsigned char *macaddress, unsigned ch ...@@ -241,6 +241,8 @@ void PnViewerPNAC::set_device_properties( unsigned char *macaddress, unsigned ch
sts = wait_service_con(local, 0); sts = wait_service_con(local, 0);
} }
sleep(3);
pack_set_ip_settings_req(&local->service_req_res, &dev_info); pack_set_ip_settings_req(&local->service_req_res, &dev_info);
sts = pnak_send_service_req_res(0, &local->service_req_res); sts = pnak_send_service_req_res(0, &local->service_req_res);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment