[Interop-dev] Round 3 Network Device Config JSON Schema

Jernej Kos (spam-protected)
Sun Nov 16 11:38:11 CET 2014


Hello!

On 15. 11. 2014 14:34, Nemesis wrote:
>> what should the possible values of "encryption" in a wireless
>> interface be?

Please check out how we handle it in nodewatcher-agent, I have
previously posted it to issue #1 on GitHub and the implementation can be
seen here:

https://github.com/wlanslovenija/nodewatcher-agent/blob/master/modules/wireless.c#L60

For reference, an example for WPA is here:

"encryption":{
   "enabled":true,
   "wpa":[
      1,
      2
   ],
   "authentication":[
      "psk"
   ],
   "ciphers":[
      "tkip",
      "ccmp"
   ]
}

This schema is based on OpenWrt's rpcd. See the above links for full
details of all the supported combinations.


Jernej

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.funkfeuer.at/pipermail/interop-dev/attachments/20141116/67d779b2/attachment.sig>


More information about the Interop-dev mailing list