Dreamforce 2014 Workshop Exercise - RFID Case Generator

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

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

Overview

This code demonstrates how to use the mbed platform with a ID-12LA RFID reader and a Freescale K64F to get data into the SalesForce cloud.
This project was generated as a workshop for DreamForce 2014..

Details

The 2014 DreamForce workshop centers around an example scenario where you, as a street light technician, will "check in" to a given street light to service it. The street lights in this example are intelligent - they are connected, have knowledge about who/what they are, and in this example, contain an RFID sensor to allow technicians to "check in" during a service event.

The purpose of the workshop exercise is to provide exposure to new developers that the mbed IDE and development environment/ecosystem is very simple and easy to setup and use. Additionally, the workshop highlights that mbed devices can directly interact with SalesForce. The slides for the workshop can be found here.

For more information about the mbed SalesForce Interface API and its use, please see: http://developer.mbed.org/teams/MBED_DEMOS/code/SalesforceInterface/

Pretty Pictures

For the workshop the mbed team designed breakout boards to connect the ID12LA to the Freescale K64F for ease of use. Pictures of the boards can be found below. If you are interested in the breakout board you can order one from the OSHPark project page or use the eagle or gerber files as you see fit.

The ID-12LA sockets onto the RFID Brekout Board which then is put onto the Freescale K64F.

/media/uploads/mbedAustin/rfidboard_-8-.small.jpg

/media/uploads/mbedAustin/rfidboard_-9-.small.jpg

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Sun Sep 21 07:29:09 2014 +0000
Parent:
45:ab0e483dfea1
Child:
47:d58008ad27d8
Commit message:
updates for new ssl library

Changed in this revision

Definitions.h Show annotated file Show diff for this revision Revisions of this file
ErrorHandler.lib Show annotated file Show diff for this revision Revisions of this file
HTTPClient-SSL.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	Fri Sep 19 22:08:03 2014 +0000
+++ b/Definitions.h	Sun Sep 21 07:29:09 2014 +0000
@@ -46,12 +46,9 @@
  // Enable/Disable RFID ID12 usage
  #define ID12_ENABLE               true    // true - enable, false - disable
  
- // Buffer length for HTTPS requests
- #define BUFFER_LENGTH             256
- 
- // maximum log message length
- #define MAX_LOG_MESSAGE           128
- 
+ // maximum memory buffer chunk (including HTTPS requests)
+ #define MAX_BUFFER_LENGTH         256
+   
  // What platform we are compiling on
  #define _NXP_PLATFORM             false
  #define _UBLOX_PLATFORM           false
@@ -59,7 +56,7 @@
  
  // K64F needs to launch the task in a thread with a large stack size...
  #if _K64F_PLATFORM
-    #define STACK_SIZE 20000
+    #define STACK_SIZE             40000
  #endif
   
  // Wait Time for iterations (ms)
--- a/ErrorHandler.lib	Fri Sep 19 22:08:03 2014 +0000
+++ b/ErrorHandler.lib	Sun Sep 21 07:29:09 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/ansond/code/ErrorHandler/#7b3bbd74c1b1
+http://mbed.org/users/ansond/code/ErrorHandler/#4844475a4135
--- a/HTTPClient-SSL.lib	Fri Sep 19 22:08:03 2014 +0000
+++ b/HTTPClient-SSL.lib	Sun Sep 21 07:29:09 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/ansond/code/HTTPClient-SSL/#abd90d8a363f
+http://mbed.org/users/ansond/code/HTTPClient-SSL/#7cd69cc809b8
--- a/StatusReporter.lib	Fri Sep 19 22:08:03 2014 +0000
+++ b/StatusReporter.lib	Sun Sep 21 07:29:09 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/ansond/code/StatusReporter/#f4ab5c7abc50
+http://mbed.org/users/ansond/code/StatusReporter/#8a751090bddd