Fork for Get Started Demo

Dependencies:   DebouncedInterrupt dash7-alp mbed-rtos mbed wizzi-utils

Fork of D7A_Demo_full by WizziLab

Files at this revision

API Documentation at this revision

Comitter:
Jeej
Date:
Mon Feb 15 10:43:19 2016 +0000
Parent:
12:d17ef6ce50c8
Commit message:
Commented tag to tag for demo. (Get started)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d17ef6ce50c8 -r cc5aa9de745a main.cpp
--- a/main.cpp	Tue Dec 01 11:09:29 2015 +0000
+++ b/main.cpp	Mon Feb 15 10:43:19 2016 +0000
@@ -128,7 +128,6 @@
 {    
     // Get modem
     D7_modem* wm1001 = (D7_modem*)args;
-    uint8_t target_uid[8] = { 0x00, 0x1B, 0xC5, 0x0C, 0x70, 0x00, 0x06, 0x9B };
 
     // Enable interrupt on User button
     DebouncedInterrupt button(USER_BUTTON);
@@ -147,15 +146,6 @@
         
         // Notify alarm status
         check_status(wm1001->notify_filechange(ALARM_DATA_FILE_ID), "ALARM REPORT");
-        
-        if (alarm_data.status)
-        {
-            wm1001->io_set(target_uid, ACCESS_CLASS_SC, 9);
-        }
-        else
-        {
-            wm1001->io_clear(target_uid, ACCESS_CLASS_SC, 9);
-        }
     }
 }