Commit 157b12fb authored by Peter Waher's avatar Peter Waher

Updating examples

parent 2b9774ce
......@@ -124,7 +124,7 @@ Example, when publishing public keys using `presence`:
<p192Aes x='ufDM/23BvMjDKFdkCAdd03jrj...' y='FFFBPlrFv1Y8JYVd0fVhJ8...'/>
<rsaAes size='4096' mod='vyhg+bU+QqExe7QRpKWXiRG/LkOU6D/...' exp='AQAB'/>
</e2e>
<p2p extIp='93.184.216.34' extPort='49790' locIp='192.168.0.102' locPort='49790' xmlns='urn:ieee:iot:p2p:1.0'/>
<p2p extIp='93.184...' extPort='49790' locIp='192.168.0.102' locPort='49790' xmlns='urn:ieee:iot:p2p:1.0'/>
<c xmlns='http://jabber.org/protocol/caps' hash='sha-256' node='...' ver='...'/>
</presence>
```
......
......@@ -77,10 +77,15 @@ Following is an example of a device publishing its P2P and E2E infomation at the
```
<presence>
<show>chat</show>
<p2p extIp='93.184.216.34' extPort='49790' locIp='192.168.0.102' locPort='49790' xmlns='urn:ieee:iot:p2p:1.0'/>
<e2e xmlns='urn:ieee:iot:e2e:1.0'>
<p521Aes x='gInX2HA3BD5fCyxDoqt6FFzKU...' y='9hAm0F4/4tmAKvkweQnMsk...'/>
<p384Aes x='ccw28YXo/VWYOAFTnNKkqOToN...' y='PazgeIFpJhdjRoHd0ARQSI...'/>
<p256Aes x='Tmz/J8/k2x8wYFm3hpqwGm17W...' y='8o9a4JpBs2KOki657Rp+qd...'/>
<p224Aes x='33lAKAeM77sGOOC0pTfVmMeMl...' y='E7bNDNZ4kxzBx54Ky3xxDd...'/>
<p192Aes x='ufDM/23BvMjDKFdkCAdd03jrj...' y='FFFBPlrFv1Y8JYVd0fVhJ8...'/>
<rsaAes size='4096' mod='vyhg+bU+QqExe7QRpKWXiRG/LkOU6D/...' exp='AQAB'/>
</e2e>
<p2p extIp='93.184...' extPort='49790' locIp='192.168.0.102' locPort='49790' xmlns='urn:ieee:iot:p2p:1.0'/>
<c xmlns='http://jabber.org/protocol/caps' hash='sha-256' node='...' ver='...'/>
</presence>
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment