I am getting NSMutableArray
as response from custom Smart Router
(<01>,
<ca>,
<04>,
<3a>,
<7b>,
<22>,
<70>,
<61>,
<73>,
<73>,
<22>,
<3a>,
<22>,
<6b>,
<61>,
<6e>,
<6f>,
<6b>,
<22>,
<2c>,
<22>,
<73>,
<73>,
<69>,
<64>,
<22>,
<3a>,
<22>,
<6f>,
<70>,
<65>,
<6e>,
<57>,
<72>,
<74>,
<41>,
<70>,
<6c>,
<31>,
<32>,
<38>,
<22>,
<2c>,
<22>,
<75>,
<73>,
<65>,
<72>,
<22>,
<3a>,
<22>,
<6b>,
<61>,
<6e>,
<6f>,
<6b>,
<22>,
<7d>
)
I need to avoid the first 4 data then convert it to NSString
of (ASCII) like below
{"mac":"kanok","pass":"kanok","passphrase":"root1234","ssid":"aplsh90","user":"kanok"}
I can convert it using this website
I know I have to use Convert hex to nsstring or Convert Hex to NSSting and stringByReplacingOccurrencesOfString
How Can I convert?