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:
Thu Oct 09 04:31:54 2014 +0000
Parent:
57:06a1779b73b9
Commit message:
reset for exercise

Changed in this revision

Definitions.h Show annotated file Show diff for this revision Revisions of this file
diff -r 06a1779b73b9 -r dcc6657570ef Definitions.h
--- a/Definitions.h	Thu Oct 09 04:07:11 2014 +0000
+++ b/Definitions.h	Thu Oct 09 04:31:54 2014 +0000
@@ -22,7 +22,7 @@
  // ----------------- WORKSHOP TUNABLES -----------------  
   
  // SUPPORT PERSON #1 (this will be dispatched as a Case if the first RFID tag is swiped)
- #define FIRST_SUPPORT_PERSON_RFID         7553843
+ #define FIRST_SUPPORT_PERSON_RFID         1234567
  #define FIRST_SUPPORT_PERSON_NAME         "James T. Kirk"
  #define FIRST_SUPPORT_PERSON_DESCRIPTION  "Federation Technician #NCC-1701"
  #define FIRST_SUPPORT_PERSON_STATUS       "On site/servicing"
@@ -30,7 +30,7 @@
  #define FIRST_SUPPORT_PERSON_LONGITUDE    "-121.973195"
  
  // SUPPORT PERSON #2 (this will be dispatched as a Case if the second RFID tag is swiped)
- #define SECOND_SUPPORT_PERSON_RFID        9909120
+ #define SECOND_SUPPORT_PERSON_RFID        1234567
  #define SECOND_SUPPORT_PERSON_NAME        "Harry Potter"
  #define SECOND_SUPPORT_PERSON_DESCRIPTION "Hogwarts Technician #WIZ-1234"
  #define SECOND_SUPPORT_PERSON_STATUS      "On site/servicing"
@@ -38,7 +38,7 @@
  #define SECOND_SUPPORT_PERSON_LONGITUDE   "-121.973195"
  
  // SUPPORT PERSON #3 (this will be dispatched as a Case if the third RFID tag is swiped)
- #define THIRD_SUPPORT_PERSON_RFID         7573760
+ #define THIRD_SUPPORT_PERSON_RFID         1234567
  #define THIRD_SUPPORT_PERSON_NAME         "Kramer"
  #define THIRD_SUPPORT_PERSON_DESCRIPTION  "UNKNOWN Technician #-1"
  #define THIRD_SUPPORT_PERSON_STATUS       "Off site/action unsure"