Sample program of SAKURA Internet IoT Communication Module

Dependencies:   SakuraIO mbed

View the Github repository.

Files at this revision

API Documentation at this revision

Comitter:
misodengaku
Date:
Thu Sep 07 13:13:20 2017 +0900
Parent:
3:6bf66fc3bc57
Child:
7:50a76f797bec
Commit message:
fix enqueue result

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Jan 06 18:18:21 2017 +0900
+++ b/main.cpp	Thu Sep 07 13:13:20 2017 +0900
@@ -81,7 +81,7 @@
         uint8_t ret;
         ret = sakuraio.enqueueTx((uint8_t)0, (int32_t)counter);
         pc.printf("Enqueue ");
-        pc.printf("%s\r\n", response);
+        pc.printf("%d\r\n", ret);
 
         uint8_t avail;
         uint8_t queued;