Skip to content

Coap client using coapthon library to connect with z1 rest-server motes

Notifications You must be signed in to change notification settings

cololaborde/coap_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Coap client

Coap client using coapthon library to connect with z1 rest-server motes

Parameters:

python client.py method [-g | -p] minimal_ipv6_server nodes_quantity endpoint [/endpoint | endpoint] timeinterval [seconds] (OPTIONAL)

Use mode:

python client.py -p aaaa::c30c:0:0:3 3 /leds/blue 10

==> make POST request to [aaaa::c30c:0:0:3]/leds/blue [aaaa::c30c:0:0:4]/leds/blue [aaaa::c30c:0:0:5]/leds/blue every 10 seconds

python client.py -p aaaa::c30c:0:0:3 1 /leds/blue

==> make POST request to [aaaa::c30c:0:0:3]/leds/blue just one time

python client.py -g aaaa::c30c:0:0:3 1 position 5

==> make GET request to [aaaa::c30c:0:0:3]/position every 5 seconds

About

Coap client using coapthon library to connect with z1 rest-server motes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages