All Projects → avency → coap-cli

avency / coap-cli

Licence: other
A command line interface for CoAP built on node-coap

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to coap-cli

Anjay
C implementation of the client-side OMA LwM2M protocol
Stars: ✭ 115 (+69.12%)
Mutual labels:  coap
TRADFRI2MQTT
MQTT Bridge for IKEA TRÅDFRI Light Gateway
Stars: ✭ 80 (+17.65%)
Mutual labels:  coap
microCoAPy
A mini client/server implementation of CoAP (Constrained Application Protocol) into MicroPython
Stars: ✭ 41 (-39.71%)
Mutual labels:  coap
Cloud
Secure and Interoperable Internet of Things
Stars: ✭ 142 (+108.82%)
Mutual labels:  coap
Go Coap
Implementation of CoAP Server & Client in Go
Stars: ✭ 226 (+232.35%)
Mutual labels:  coap
CoAPExplorer
A (soon to be) cross-platform tool for exploring CoAP protocol.
Stars: ✭ 16 (-76.47%)
Mutual labels:  coap
Ikea Tradfri Coap Docs
How can you communicate to your ikea tradfri gateway/hub through coap-client
Stars: ✭ 111 (+63.24%)
Mutual labels:  coap
pyaiot
A set of Python services to interact and transport data from IoT devices
Stars: ✭ 29 (-57.35%)
Mutual labels:  coap
zestdb
ZestDB
Stars: ✭ 18 (-73.53%)
Mutual labels:  coap
peniot
PENIOT: Penetration Testing Tool for IoT
Stars: ✭ 164 (+141.18%)
Mutual labels:  coap
Designiot
教你设计物联网系统。构建自己的Internet of Things 。
Stars: ✭ 1,983 (+2816.18%)
Mutual labels:  coap
Golden Gate
Framework to connect wearables and other IoT devices to mobile phones, tablets and PCs with an IP-based protocol stack over Bluetooth Low Energy
Stars: ✭ 223 (+227.94%)
Mutual labels:  coap
coap-go
Lobaro CoAP for GoLang - server and client applications
Stars: ✭ 20 (-70.59%)
Mutual labels:  coap
Coap Rs
A Constrained Application Protocol(CoAP) library implemented in Rust.
Stars: ✭ 128 (+88.24%)
Mutual labels:  coap
gen coap
Generic Erlang CoAP Client/Server
Stars: ✭ 102 (+50%)
Mutual labels:  coap
Iot Technical Guide
🐝 IoT Technical Guide --- 从零搭建高性能物联网平台及物联网解决方案和Thingsboard源码分析 ✨ ✨ ✨ (IoT Platform, SaaS, MQTT, CoAP, HTTP, Modbus, OPC, WebSocket, 物模型,Protobuf, PostgreSQL, MongoDB, Spring Security, OAuth2, RuleEngine, Kafka, Docker)
Stars: ✭ 2,334 (+3332.35%)
Mutual labels:  coap
ioBroker.shelly
Shelly ioBroker Adapter
Stars: ✭ 108 (+58.82%)
Mutual labels:  coap
coap-shepherd
Network server and manager for lightweight M2M (LWM2M).
Stars: ✭ 41 (-39.71%)
Mutual labels:  coap
helix-sandbox
Middleware for secure IoT provisioning, access and control.
Stars: ✭ 23 (-66.18%)
Mutual labels:  coap
freebird
No description or website provided.
Stars: ✭ 21 (-69.12%)
Mutual labels:  coap

CoAP-CLI

Tests npm version

CoAP-CLI is a command line interface for CoAP, built on node.js and node-coap.

What is CoAP?

Constrained Application Protocol (CoAP) is a software protocol intended to be used in very simple electronics devices that allows them to communicate interactively over the Internet. - Wikipedia

Install

Install node.js, and then from a terminal:

npm install coap-cli -g

Usage

  Usage: coap command [options] url


  Commands:

    get      performs a GET request
    put      performs a PUT request
    post     performs a POST request
    delete   performs a DELETE request

  Options:

    -h, --help                    output usage information
    -V, --version                 output the version number
    -o, --observe                 Observe the given resource
    -n, --no-new-line             No new line at the end of the stream
    -p, --payload <payload>       The payload for POST and PUT requests
    -b, --block2 <option>         set the block2 size option
    -q, --quiet                   Do not print status codes of received packets
    -c, --non-confirmable         non-confirmable
    -t, --timeout <seconds>       The maximum send time in seconds
    -T, --show-timing             Print request time, handy for simple performance tests
    -O, --coap-option <key,value> Add COAP-Option to the request (repeatable)

PUT and POST

PUT and POST requests body are sent from the standard input by default. E.g.

echo -n 'hello world' | coap post coap://localhost/message

If you want to type it you can end the standard input by pressing CTRL-D.

License

Copyright (c) 2013 Matteo Collina

node-coap is licensed under an MIT +no-false-attribs license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].