diff --git a/README.md b/README.md index 26df6a8..1448f9c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **Under development** -[Sakura Communication Module](https://iot.sakura.ad.jp/product/) (with [sakura.io](https://sakura.io/)) library for Arduino. +[Sakura Communication Module](https://sakura.io/product/) (with [sakura.io](https://sakura.io/)) library for Arduino. [sakura.io](https://sakura.io/) is the IoT platform of SAKURA intenret Inc. @@ -10,12 +10,12 @@ This library supports following products. -* [SCM-LTE-Beta (Sakura Communication Module (LTE) β)](https://www.amazon.co.jp/dp/B06XWZDSQV) -* SCM-LTE-01 (Sakura Communication Module (LTE)) +* SCM-LTE-Beta (Sakura Communication Module (LTE) β) +* [SCM-LTE-01 (Sakura Communication Module (LTE))](https://sakura.io/product/module_lte.html) with -* [SCO-ARD-01 (Arduino Shield for SCM)](http://iot-store.sakura.ad.jp/items/6091056) +* [SCO-ARD-01 (Arduino Shield for SCM)](https://sakura.io/product/arduino.html) # Install @@ -30,7 +30,7 @@ with ## Manual Install -* Download ZIP from [here](https://github.com/sakura-internet/SakuraIOArduino/archive/master.zip). +* Download ZIP from [here](https://github.com/sakuraio/SakuraIOArduino/archive/master.zip). * Place the ZIP file in Arduino `libraries` directory. * Mac `~/Documents/Arduino/libraries` * Linux The `libraries` folder in your sketchbook @@ -39,7 +39,7 @@ with # Reference -Please see the [datasheet](https://iot.sakura.ad.jp/developer/pdf/sakura_module_datasheet_latest.pdf). +Please see the [datasheet](https://sakura.io/developer/pdf/sakura_module_datasheet_latest.pdf). ## Example @@ -108,6 +108,21 @@ uint8_t enqueueTx(uint8_t ch, uint64_t value); uint8_t enqueueTx(uint8_t ch, float value); uint8_t enqueueTx(uint8_t ch, double value); uint8_t enqueueTx(uint8_t ch, uint8_t value[8]); +uint8_t sendImmediatelyRaw(uint8_t ch, uint8_t type, uint8_t length, uint8_t *data, uint64_t offset); +uint8_t sendImmediately(uint8_t ch, int32_t value, uint64_t offset); +uint8_t sendImmediately(uint8_t ch, uint32_t value, uint64_t offset); +uint8_t sendImmediately(uint8_t ch, int64_t value, uint64_t offset); +uint8_t sendImmediately(uint8_t ch, uint64_t value, uint64_t offset); +uint8_t sendImmediately(uint8_t ch, float value, uint64_t offset); +uint8_t sendImmediately(uint8_t ch, double value, uint64_t offset); +uint8_t sendImmediately(uint8_t ch, uint8_t value[8], uint64_t offset); +uint8_t sendImmediately(uint8_t ch, int32_t value); +uint8_t sendImmediately(uint8_t ch, uint32_t value); +uint8_t sendImmediately(uint8_t ch, int64_t value); +uint8_t sendImmediately(uint8_t ch, uint64_t value); +uint8_t sendImmediately(uint8_t ch, float value); +uint8_t sendImmediately(uint8_t ch, double value); +uint8_t sendImmediately(uint8_t ch, uint8_t value[8]); uint8_t getTxQueueLength(uint8_t *available, uint8_t *queued); uint8_t clearTx(); uint8_t getTxStatus(uint8_t *queue, uint8_t *immediate); @@ -153,6 +168,7 @@ Please see example code. # License + The MIT License (MIT) Copyright (c) SAKURA Internet Inc. diff --git a/library.properties b/library.properties index cd32290..3ba0421 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SakuraIO -version=1.1.1 +version=1.1.2 author=SAKURA Internet Inc. maintainer=chibiegg sentence=Library for Sakura Communication Module (https://sakura.io/)