Salamek / huawei-lte-api

API For huawei LAN/WAN LTE Modems
GNU Lesser General Public License v3.0
376 stars 92 forks source link

fixed `set_multi_macfilter_settings` documentation + added an example #204

Closed TheLime1 closed 10 months ago

TheLime1 commented 10 months ago

i fixed the documentation based on the payload i found in the dev tools

<?xml version="1.0" encoding="UTF-8"?>
<request>
    <Ssids>
        <Ssid>
            <WifiMacFilterMac0>66:77:88:99:AA:BB</WifiMacFilterMac0>
            <wifihostname0>66:77:88:99:AA:BB</wifihostname0>
            <Index>0</Index>
            <WifiMacFilterStatus>2</WifiMacFilterStatus>
        </Ssid>
    </Ssids>
</request>

What i know for now is <WifiMacFilterStatus>2</WifiMacFilterStatus> add to the block list , no idea how to add to the whitelist also if you SET another mac adr in the same index it will replace it

TheLime1 commented 10 months ago

fix #203

TheLime1 commented 10 months ago

https://github.com/Salamek/huawei-lte-api/assets/47940043/ff103109-962d-4f19-87a8-ce8b05c1a014

Salamek commented 10 months ago

Excellent! Merging