Mbed Client sample for GR-LYCHEE where ZXing is incorporated.

Dependencies:   DisplayApp AsciiFont

Fork of GR-PEACH_mbed-os-client-ZXingSample by Renesas


This sample program shows how to use mbed Client together with ZXing which is an open-source, multi-format 1D/2D barcode image processing library. For more info on ZXing, please refer to https://github.com/zxing/zxing.

Required hardware

Application setup

  1. Select the connection type. For details, please refer to the following wiki:
  2. Set the client credentials. For details, please refer to the following wiki:
  3. Change Wifi settings. For details, please refer to the following wiki:

Building the example

To build this example:

  1. Import this example onto mbed Compiler.
  2. Configure the example in accordance with Application setup.
  3. Compile the example on mbed Compiler and download the resultant binary file.
  4. Plug the micro-USB cable into the OpenSDA port which lies on the next to the RESET button.
  5. Copy the binary previously downloaded to your PC to GR-LYCHEE to flash this example. When the copy is successfully completed, the board is ready to work.
  6. Press the RESET button on the board to run the example.
  7. For verification, please refer to the following wiki:

Application resources

This example exposes four resources listed below:

  1. 3202/0/5700. Decode result of barcode data input from camera (GET).
  2. 3201/0/5850. Blink function, blinks LED when executed (POST).
  3. 3201/0/5853. Blink pattern, used by the blink function to determine how to blink. In the format of 1000:500:1000:500:1000:500 (PUT).
  4. 3201/0/5855. Blink color, used by the blink function. Any of green, yellow, orange and red is acceptable (PUT).


RevisionDateWhoCommit message
22:a3cd35c5cff0 2018-12-18 1050186 Modify README.md file. default tip
21:ac3a0d5b2c5d 2018-12-13 1050186 Modify regular blink's color.
20:d4695f4ddc8d 2018-12-13 1050186 Minor tweaks main.cpp.
19:03e8d4d608f0 2018-12-13 1050186 Delete unnecessary codes.
18:0ab91e767950 2018-12-13 1050186 Replace easy-connect.
17:548cfbfba6d8 2018-12-11 1050186 Modify README.md
16:79e57fcd26b3 2018-12-11 TomoYamanaka Delete unnecessary files.
15:30d929a6a82b 2018-12-11 1050186 Support zxing library for GCC ver6. and import zxing related files as zxing_lib library.
14:7696cebc5780 2018-12-10 TomoYamanaka Delete zxing library for GCC ver4.9.
13:9e1dc33ec84b 2018-12-10 TomoYamanaka delete unnecesary files.
12:7a199eff6988 2018-12-10 1050186 Update the related mbed-os-client library, and Replace Renesas libs to mbed-gr-libs.
11:0cc5cbffdd1f 2018-12-10 1050186 Support Mbed OS 5.9.7
10:c36cf363bf55 2018-04-19 dkato Display analysis result on LCD
9:efd96de74217 2018-03-19 1050186 Reflect to changing of "easy-cconect-gr-lychee" lib.
8:c0bbc87eba67 2018-02-16 1050186 Change "easy-connect" lib for GR-LYCHEE.
7:91dc4153efe5 2018-02-15 1050186 Minor fix
6:4e43b6f8f772 2018-02-15 1050186 First commit
5:6b6540e303f2 2017-04-17 1050186 Support GCC_ARM, and update libraries.
4:076b3dd7c0e6 2017-03-28 dkato Fix compile switch "JPEG_SEND".
3:426b9477927d 2017-03-28 dkato The memory-saving version
2:6ec5c1c1d41c 2017-03-28 dkato Memory-saving version
1:5d3134f9efae 2016-10-19 Osamu Nakamura Updated mbed-os in order to fix the vfp register related issue
0:eb73febb2bba 2016-10-06 <> Initial Commit