How to connect Wifi which router is setting to WEP?

I want to connect Wifi to wifi-router which have setting to WEP with 16 bit key. I have done with below command but I get error -6

wifi client setsecurityproto 0x10000001 1
wifi client setwepkey 0x10000001 0x1234567890
wifi client connect 0x10000001