您的位置:首页 > 产品设计 > 产品经理

TR111 and TR069 function development note (1)

2015-11-11 20:09 453 查看
Background:

Due to customer's requirement, need TR069 to support for Wifi repeater base on MTK 7610 chipset . Currently MTK SDK4120 havn't the support yet and MTK does not want to support
this, so  need development it ourselves ,here ,take a note just for a fun.

Overview:

Because Wifi repeater is a device that connected via a LAN through an Internet gateway, so to support tr069 function ,implement TR111 is needed to extend the CPE WAN Management
Protocol defined in TR-069 to enhance the ability to remotely manage devices (Examples of such devices include VoIP phones, media set-top boxes, and gamin systems,also include the wifi repeater that we discussion in this note.)that are connected via a LAN
through an Internet gateway.

study the <<RFC-111>> Spec, we understand the function have contain three PART
PART-I: Device-Gateway Association, this feature need the CPE and the Gateway associate first by the DHCP Option 125.
PART-II: Connection-Request VIA NAT Gateway, this spec define the STUN procedurebetween the CPE and STUN Server(ACS Server) , maybe we can name it STUNfunction.
PART-III:TR069, this  function will contain the TR069 protocol and TR098 data-model,the TR098 data-model associate with thefunction which need beconfigured by ACS Server,

Actually,Part-I is a must. Part-II is not a must because CPE means Gateway. Our wifi repeater is the LAN device running behind CPE/Gateway. CPE/Gateway can do port forwarding to our wifi repeater on certain
port.ACS can initiate the connection through that port,PPART-II  required ACS server as STUN server, but not all ACS server can act as Stun server. Alternatively we can tell CPE what is the port number of our wifi repeater port number so that they can do connection
request to the wifi repeater. so we just need implement PART-I and PART-II.

last but not least ,there are another very important things we must done before we implement PART-I and PART-III,because wireless repeater  does not have any wan ip. First task is to make sure Wifi repeater
need to have wan ip. -> need to run dhcpc client on br0 interface. So that he can get ip address from the router(gateway) that it connected to. TR069 ip based  client.

next chapter i will explain what need be done in deteil how to run dhcp cient on br0 bridge
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息