mobile - DLNA versus APIPA -


i notice in mobile phone wifi settings, there dlna auto-ip option that's checked. description : "check use dlna when no dhcp server available",

i found that's something same apipa mechanism: "with apipa (automatic private ip addressing), dhcp clients can automatically self-configure ip address , subnet mask when dhcp server isn't available."

what's dlna meant here , differences between dlna , apipa?

due dlna specification, have support auto-ip when there no dhcp server. "dhcpcd" used android , supports auto-ip, there 2 designs inside framework make auto-ip not available. 1. wireless manager timeout same default dhcp discover timeout.(30s) 2. dhcpcd set failed property when auto-ip

we have tried following methods modify dhcpcd. 1. using property system a. when dlna on, set property note status. b. dhcpcd reads status property. when status on, set default dhcp discover timeout 10s. c. script reads status property. when status on, set result property "ok" ipv4ll case. property system not general applications. can not accomplish step a.

2-1. write status file a. when dlna on, write status file in application folder. b. dhcpcd read status file. when status on, set default dhcp discover timeout 10s. c. script read status file. when status on, set result property "ok" ipv4ll case. step c script, if condition , file access cause error. make change again.

2-2. write status file , create new reason dhcpcd a. when dlna on, write status file in application folder. b. dhcpcd read status file. when status on, set default dhcp discover timeout 10s. c. dhcpcd read status file. when status on, set reason new created one. case in script alwayse set result property "ok".


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -