Re: [PATCH] huawei: handle optional 0x prefix on hex numbers in ^DHCP response

2018-01-29 Thread Aleksander Morgado
On Fri, Jan 26, 2018 at 11:25 PM, Ben Chan wrote: > > On Huawei ME936, the hex numbers in the response to AT^DHCP contain the 0x > prefix, e.g. > > AT^DHCP? > > ^DHCP: > 0xda7d0e0a,0xff00,0xdb7d0e0a,0xdb7d0e0a,0x01261aac,0x,1,5000 > > This patch updates mm_huawei_pars

[PATCH] huawei: handle optional 0x prefix on hex numbers in ^DHCP response

2018-01-26 Thread Ben Chan
On Huawei ME936, the hex numbers in the response to AT^DHCP contain the 0x prefix, e.g. AT^DHCP? ^DHCP: 0xda7d0e0a,0xff00,0xdb7d0e0a,0xdb7d0e0a,0x01261aac,0x,1,5000 This patch updates mm_huawei_parse_dhcp_response() to handle the optional 0x prefix. --- plugins/hua