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

Dependencies:   DisplayApp AsciiFont

Socket type setup

GR-PEACH can connect to mbed Device Connector via UDP or TCP binding mode. The default is UDP. To change the binding mode, you need the following modificaiton:

  1. In the simpleclient.h, find the parameter SOCKET_MODE. The default is M2MInterface::UDP.
  2. To switch to TCP, change it to M2MInterface::TCP.
  3. Rebuild and flash this example.
    Note that there is no difference in other procedure for building and executing this example.

All wikipages