classC example

Dependencies:   lorawan1v1

Files at this revision

API Documentation at this revision

Comitter:
Wayne Roberts
Date:
Tue May 29 14:21:35 2018 -0700
Parent:
0:4b6e76c6608f
Commit message:
update to latest library version

Changed in this revision

.mbedignore Show annotated file Show diff for this revision Revisions of this file
lorawan1v1.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 4b6e76c6608f -r 708d73c0e43c .mbedignore
--- a/.mbedignore	Fri May 04 18:18:03 2018 -0700
+++ b/.mbedignore	Tue May 29 14:21:35 2018 -0700
@@ -9,4 +9,5 @@
 lorawan1v1/mbed-os/features/nvstore/*
 lorawan1v1/mbed-os/features/storage/*
 lorawan1v1/mbed-os/features/lorawan/*
+lorawan1v1/mbed-os/features/nanostack/*
 lorawan1v1/mbed-os/events/*
diff -r 4b6e76c6608f -r 708d73c0e43c lorawan1v1.lib
--- a/lorawan1v1.lib	Fri May 04 18:18:03 2018 -0700
+++ b/lorawan1v1.lib	Tue May 29 14:21:35 2018 -0700
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/dudmuck/code/lorawan1v1/#4b6f960dcca2
+https://os.mbed.com/users/dudmuck/code/lorawan1v1/#5a5ea7cc946f
diff -r 4b6e76c6608f -r 708d73c0e43c main.cpp
--- a/main.cpp	Fri May 04 18:18:03 2018 -0700
+++ b/main.cpp	Tue May 29 14:21:35 2018 -0700
@@ -465,10 +465,14 @@
     {
         APP_PRINTF("FPort%u ", mcpsIndication->Port);
         print_buf(mcpsIndication->Buffer, mcpsIndication->BufferSize, "");
+#ifdef TARGET_DISCO_L072CZ_LRWAN1
         if (mcpsIndication->Buffer[0])
             blue = LED_ON;
         else
             blue = LED_OFF;
+#else
+        /* your target LED */
+#endif /* ..TARGET_DISCO_L072CZ_LRWAN1 */
 
         switch( mcpsIndication->Port )
         {