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:
- In the simpleclient.h, find the parameter SOCKET_MODE. The default is M2MInterface::UDP.
- To switch to TCP, change it to M2MInterface::TCP.
- Rebuild and flash this example.
Note that there is no difference in other procedure for building and executing this example.