Dreamforce 2014 Workshop RFID Case Generator - FRDM-K64F

Dependencies:   EndpointMain-rfid EthernetInterface StatusReporter BufferedSerial mbed-rtos mbed Logger C12832

Fork of df-2014-workshop-rfid-case-generator-ublox by Doug Anson

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Fri Sep 26 04:35:26 2014 +0000
Parent:
50:6e6b8351ee60
Child:
52:5144fec4d583
Commit message:
revamped to use new salesforce interface

Changed in this revision

Definitions.h Show annotated file Show diff for this revision Revisions of this file
EndpointMain.lib Show annotated file Show diff for this revision Revisions of this file
ErrorHandler.lib Show diff for this revision Revisions of this file
HTTPClient-SSL.lib Show diff for this revision Revisions of this file
ID12RFID.lib Show annotated file Show diff for this revision Revisions of this file
Logger.lib Show annotated file Show diff for this revision Revisions of this file
ReportDB.lib Show annotated file Show diff for this revision Revisions of this file
SalesforceCaseGenerator.lib Show annotated file Show diff for this revision Revisions of this file
SalesforceInterface.lib Show annotated file Show diff for this revision Revisions of this file
StatusReporter.lib Show annotated file Show diff for this revision Revisions of this file
--- a/Definitions.h	Wed Sep 24 19:09:45 2014 +0000
+++ b/Definitions.h	Fri Sep 26 04:35:26 2014 +0000
@@ -57,19 +57,21 @@
  // Enable/Disable RFID ID12 usage
  #define ID12_ENABLE               true    // true - enable, false - disable
  
- // maximum memory buffer chunk (including HTTPS requests)
- #define MAX_BUFFER_LENGTH         512
-   
+ // Enable/Disable verbose debugging
+ #define ENABLE_DEBUG_LOGGING      false         // true - enabled, false - disabled (default)
+     
+ // maximum memory buffer chunk
+ #define MAX_BUFFER_LENGTH         2048
+  
+ // small buffer chunk
+ #define MAX_SMALL_BUFFER_LENGTH   256
+
  // What platform we are compiling on
- #define _NXP_PLATFORM             false
- #define _UBLOX_PLATFORM           false
  #define _K64F_PLATFORM            true
  
  // K64F needs to launch the task in a thread with a large stack size...
- #if _K64F_PLATFORM
-    #define STACK_SIZE             40000
- #endif
-  
+ #define STACK_SIZE                40000
+   
  // Wait Time for iterations (ms)
  #define WAIT_TIME_MS              500
  
@@ -89,20 +91,8 @@
  #define THIRD_REPORT              2
  
  // PINS for RFID Reader
- #if _NXP_PLATFORM
-    #define RFID_TX_PIN            p13
-    #define RFID_RX_PIN            p14
-    #define TEMP_PIN               p15
- #endif
- #if _UBLOX_PLATFORM
-    #define RFID_TX_PIN            D1
-    #define RFID_RX_PIN            D0
-    #define TEMP_PIN               A3
- #endif
- #if _K64F_PLATFORM
-    #define RFID_TX_PIN            D1
-    #define RFID_RX_PIN            D0
-    #define TEMP_PIN               A3
- #endif
+ #define RFID_TX_PIN               D1
+ #define RFID_RX_PIN               D0
+ #define TEMP_PIN                  A3
  
  #endif // _DEFINITIONS_H_
\ No newline at end of file
--- a/EndpointMain.lib	Wed Sep 24 19:09:45 2014 +0000
+++ b/EndpointMain.lib	Fri Sep 26 04:35:26 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/ansond/code/EndpointMain-rfid/#8364052fbe84
+http://mbed.org/users/ansond/code/EndpointMain-rfid/#55b1877a3a14
--- a/ErrorHandler.lib	Wed Sep 24 19:09:45 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/ansond/code/ErrorHandler/#cec063a0b9a9
--- a/HTTPClient-SSL.lib	Wed Sep 24 19:09:45 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/ansond/code/HTTPClient-SSL/#7cd69cc809b8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ID12RFID.lib	Fri Sep 26 04:35:26 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/ansond/code/ID12RFID/#2593c0ca3e8f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Logger.lib	Fri Sep 26 04:35:26 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/ansond/code/Logger/#8a7802da8642
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ReportDB.lib	Fri Sep 26 04:35:26 2014 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/ansond/code/ReportDB/#ea6ac7464011
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SalesforceCaseGenerator.lib	Fri Sep 26 04:35:26 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/ansond/code/SalesforceCaseGenerator/#1e06a3a4740d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SalesforceInterface.lib	Fri Sep 26 04:35:26 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/ansond/code/SalesforceInterface/#3363752cd523
--- a/StatusReporter.lib	Wed Sep 24 19:09:45 2014 +0000
+++ b/StatusReporter.lib	Fri Sep 26 04:35:26 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/ansond/code/StatusReporter/#a89333f9f671
+http://mbed.org/users/ansond/code/StatusReporter/#1cf0bad37c62