This is a mbed Client sample where ZXing is incorporated, and works on GR-PEACH and GR-LYCHEE.

Dependencies:   DisplayApp AsciiFont

Monitoring the application

Table of Contents

  1. Testing the application

The application prints debug message over the serial port, so you can monitor its activity with terminal software such as Tera term. The application uses baud rate 115200.

After connecting, you should see message below about connecting to mbed Device Connector.

/media/uploads/HinoNaka/screenshot1.png

Testing the application

  1. Flash the application
  2. Verify that the registration is succeeded, You should see Registered object successfully! printed to the serial port as shown below:
    /media/uploads/HinoNaka/screenshot2.png

  3. On mbed Device Connector, go to https://connector.mbed.com/#endpoints. Your device should be listed here. Please note that the endpoint name shown here should be the same as the variable MBED_ENDPOINT_NAME in security.h file
  4. Input barcode data from camera. If the valid data is input, the decode result should be shown in the terminal software as follows:
    /media/uploads/HinoNaka/screenshot3.png

  5. Go to https://connector.mbed.com/#console and specify MBED_ENDPOINT_NAME and /3200/0/5700 for endpoint and resource-path, respectively. Then, click TEST_API.
    /media/uploads/HinoNaka/screenshot4.png

  6. The decode result is shown.
    /media/uploads/HinoNaka/screenshot5.png

  7. Press USER_BUTTON0 to unregister from mbed Device Connector. You should see Unregistered Object Successfully printed to the serial port and the LED stops blinking. This will also stop the example application. Press RESET button to run the example again.
    /media/uploads/HinoNaka/screenshot6.png


All wikipages